I have trouble importing data of this indicator iCustom
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 CLR_NONE
#property indicator_color2 Black
#property indicator_color3 Aqua
#property indicator_color4 Fuchsia
extern double G_period_140=10;
double G_ibuf_160[];
double G_ibuf_164[];
double G_ibuf_168[];
double G_ibuf_172[];
int init() {
IndicatorDigits(Digits);
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(0, G_ibuf_160);
SetIndexDrawBegin(0,G_period_140);
SetIndexStyle(1, DRAW_LINE);
SetIndexBuffer(1, G_ibuf_164);
SetIndexDrawBegin(1,G_period_140);
SetIndexBuffer(2, G_ibuf_168);
SetIndexStyle(2, DRAW_ARROW);
SetIndexDrawBegin(2,G_period_140);
SetIndexArrow(2, 174);
SetIndexBuffer(3, G_ibuf_172);
SetIndexStyle(3, DRAW_ARROW);
SetIndexArrow(3, 174);
SetIndexDrawBegin(3,G_period_140);
IndicatorShortName("magictraderindicador");
return (0);
}
int deinit() {
return (0);
}
int start() {
double Ld_48;
int bars_32=Bars;
for (int Li_36 = 1; Li_36 < bars_32; Li_36++) G_ibuf_164[Li_36] = iATR(NULL, 0, G_period_140, Li_36);
for (Li_36 = bars_32 - 1; Li_36 >= 0; Li_36--) {
if (Close[Li_36] == G_ibuf_160[Li_36 + 1]) G_ibuf_160[Li_36] = G_ibuf_160[Li_36 + 1];
<Mod edit: CODE PARTLY REMOVED>
I'm doing wrong.
Thank you.
I have trouble importing data of this indicator iCustom
I'm doing wrong.
Thank you.
why not go? can not do iCustom of decompiled code?
why not go? can not do iCustom of decompiled code?
There are some cases where decompiled means not stolen. For example paid or public, free code where the author disappeared and does not support the product.
In these cases the only way to use the product what the user PAID FOR is through decompilation.
I don't say all decompilation is legal but it is a bit rush judgement to say all decompiled is stolen.
There are some cases where decompiled means not stolen. For example paid or public, free code where the author disappeared and does not support the product.
In these cases the only way to use the product what the user PAID FOR is through decompilation.
I don't say all decompilation is legal but it is a bit rush judgement to say all decompiled is stolen.
No, you are wrong. If someone paid for the source code they will have the source code, if someone paid for the executable then they did not pay for the source code and they have no legal rights to it . . . even if the author disappeared . . . two wrongs don't make a right. Even if the executable was given freely . . . it does not mean that the source code was also given freely.
In 99.9% of cases people just get decompiled code from a source on the Internet, they do not stop to think if the source is legitimate or not, they do not care, it's on the Internet therefore it's free, it's the same mentality as with music and commercial software, but the fact is that it is theft just the same as if the person threw a brick through a store window . . .
If I accuse someone wrongly then I am sorry, if anyone wants to explain why I am wrong they can PM me, if they prove they have legitimate rights to the code or that I have wrongly identified it as decompiled then I will apologise publicly.
However, I will not apologize for trying to stop thieves or receivers of stolen goods from getting help on this forum.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use