Heeeeelp!!!

 

 Hi world, I need a favor, I need to put an alert for email. please help me, I know nothing about programming


code:

 

#property indicator_chart_window

#property indicator_buffers 6

#property indicator_color1 Red

#property indicator_color2 MediumBlue

#property indicator_color3 Red

#property indicator_color4 MediumBlue

#property indicator_color5 Blue

#property indicator_color6 Red


extern int MaMetod = 3;

extern int MaPeriod = 20;

double g_ibuf_84[];

double g_ibuf_88[];

double g_ibuf_92[];

double g_ibuf_96[];

double g_ibuf_100[];

double g_ibuf_104[];

int gi_108 = 0;


int init() {

   SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 1, Red);

   SetIndexBuffer(0, g_ibuf_84);

   SetIndexStyle(1, DRAW_HISTOGRAM, STYLE_SOLID, 1, MediumBlue);

   SetIndexBuffer(1, g_ibuf_88);

   SetIndexStyle(2, DRAW_HISTOGRAM, STYLE_SOLID, 2, Red);

   SetIndexBuffer(2, g_ibuf_92);

   SetIndexStyle(3, DRAW_HISTOGRAM, STYLE_SOLID, 2, MediumBlue);

   SetIndexBuffer(3, g_ibuf_96);

   SetIndexStyle(4, DRAW_ARROW, STYLE_SOLID, 3);

   SetIndexBuffer(4, g_ibuf_100);

   SetIndexArrow(4, 233);

   SetIndexStyle(5, DRAW_ARROW, STYLE_SOLID, 3);

   SetIndexBuffer(5, g_ibuf_104);

   SetIndexArrow(5, 234);

   SetIndexDrawBegin(0, 5);

   SetIndexBuffer(0, g_ibuf_84);

   SetIndexBuffer(1, g_ibuf_88);

   SetIndexBuffer(2, g_ibuf_92);

   SetIndexBuffer(3, g_ibuf_96);

   return (0);

}


int deinit() {

   return (0);

}


int start() {

   double l_ima_0;

   double l_ima_8;

   double l_ima_16;

   double l_ima_24;

   double ld_32;

   double ld_40;

   double ld_48;

   double ld_56;

   if (Bars <= 10) return (0);

   gi_108 = IndicatorCounted();

   if (gi_108 < 0) return (-1);

   if (gi_108 > 0) gi_108--;

   for (int li_80 = Bars - gi_108 - 1; li_80 >= 0; li_80--) {

      l_ima_0 = iMA(NULL, 0, MaPeriod, 0, MaMetod, PRICE_CLOSE, li_80);

      l_ima_8 = iMA(NULL, 0, MaPeriod, 0, MaMetod, PRICE_LOW, li_80);

      l_ima_16 = iMA(NULL, 0, MaPeriod, 0, MaMetod, PRICE_OPEN, li_80);

      l_ima_24 = iMA(NULL, 0, MaPeriod, 0, MaMetod, PRICE_HIGH, li_80);

      ld_32 = (g_ibuf_92[li_80 + 1] + (g_ibuf_96[li_80 + 1])) / 2.0;

      ld_56 = (l_ima_0 + l_ima_24 + l_ima_16 + l_ima_8) / 4.0;

      ld_40 = MathMax(l_ima_24, MathMax(ld_32, ld_56));

      ld_48 = MathMin(l_ima_16, MathMin(ld_32, ld_56));

      if (ld_32 < ld_56) {

         g_ibuf_84[li_80] = ld_48;

         if (g_ibuf_84[li_80] < g_ibuf_88[li_80] && g_ibuf_84[li_80 + 1] < g_ibuf_88[li_80 + 1] && g_ibuf_84[li_80 + 2] > g_ibuf_88[li_80 + 2] && g_ibuf_84[li_80 + 3] > g_ibuf_88[li_80 +

            3]) g_ibuf_100[li_80] = ld_48 - 10.0 * Point;

         g_ibuf_88[li_80] = ld_40;

      } else {

         g_ibuf_84[li_80] = ld_40;

         g_ibuf_88[li_80] = ld_48;

         if (g_ibuf_84[li_80] > g_ibuf_88[li_80] && g_ibuf_84[li_80 + 1] > g_ibuf_88[li_80 + 1] && g_ibuf_84[li_80 + 2] < g_ibuf_88[li_80 + 2] && g_ibuf_84[li_80 + 3] < g_ibuf_88[li_80 +

            3]) g_ibuf_104[li_80] = ld_48 + 10.0 * Point;

      }

      g_ibuf_92[li_80] = ld_32;

      g_ibuf_96[li_80] = ld_56;

   }

   return (0);

}

 

I think that you will find it against forum rules to post decompiled code.

It may be a good idea to remove the code before a moderator bans you. 

 
I'm sorry, I did not know but, you can help me?
 
javi:
I'm sorry, I did not know but, you can help me?
No, I will not modify decompiled code, no honest coder will.
 
Please help me, I did not know, I swear, i have the indicator, look:
 
javi:       Please help me, I did not know, I swear, i have the indicator, look:
/*
   Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []
   Website: http://purebeam.biz
   E-mail : purebeam@gmail.com
*/
Ask the owner of the source code to give it to you or have him convert it for you.

Decompiled code is stolen code. Either you are a thief, a fence, or the receiver of stolen (intellectual) property. Either way we will not be an accomplice after the fact to theft. See also https://www.mql5.com/en/forum/134317

If you post decompiled code again, you will likely be banned.

Don't tell us you found it on the 'net: if someone stole your bank details and uploaded them on to the internet, is it OK for everyone to use them because "someone uploaded it, I don't know why I can't use that"?

 
I bought the indicator to the owner and I can change it
 
javi: I bought the indicator to the owner and I can change it
No, you did not. You "bought"  stolen code. Please post your checking account number, so "I can change it."
 
Just a small note. There are a lot of countries outside where "reverse engineering" of existing code is not forbidden. While I dislike the abuse of other people work, this still doesn't make it "stolen" or something. A good example of "reverse engineering" are drivers in the open source world. Reverse engineering for later clean room implementation etc. Just because someone uses a decompiler doesn't make him a thief. At least using the word "stolen" might be chosen wrong here. Until the initial owner takes this infront of a court.
 
aakcaagac thanks man. I do not know how anyone can accuse someone else of thief
 
  1. Reverse Engineering is taking a processes outputs and engineering something that does the same thing. No problem. "Often no intellectual property rights are breached" - Reverse engineering - Wikipedia, the free encyclopedia No new code that does what the original ex4 did, has been written - reverse engineering is irrelevant.
  2. Open source means "the source code is available to the general public for use and/or modification from its original design" -  Open source - Wikipedia, the free encyclopedia The original mt4 code was never made public - open source is irrelevant.
  3. Decompiled code is not #1 or #2. When the decompile code was made public, the original owners Trade secret (his EA's methods) and his Copyright (his code) was lost, his intellectual property was taken without his consent. He doesn't need to go to court to call it stolen.
  4. Javi if you saw someone get in and drive your car away without your consent, what would you call it (since you can't "accuse someone else of thief ?") I'd call it Grand Theft Auto - Wikipedia, the free encyclopedia emphasis on theft. There is no difference between #3 and #4, both are stolen property.
Reason: