Please correct me if I am wrong, but I think this indicator maybe cheating.
Here is a code fragment:
int dist=24;
for (i=limit;i>=0;i--) {
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
llb = Lowest(NULL,0,MODE_LOW,dist,i-dist/2);
if (i==hhb)
b1=High+SignalGap*Point;
if (i==llb)
b2=Low[llb]-SignalGap*Point;
}
Let us check the line:
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
Suppose, limit = 30, and dist/2 = 12, as dist = 24. Consider the case when i = 1. The Highest shifts is a negative number, which means that it is looking forward or cheating.
Am I wrong? Looks like this indicator will be repainting.
Maji
Please correct me if I am wrong, but I think this indicator maybe cheating.
Here is a code fragment:
int dist=24;
for (i=limit;i>=0;i--) {
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
llb = Lowest(NULL,0,MODE_LOW,dist,i-dist/2);
if (i==hhb)
b1=High+SignalGap*Point;
if (i==llb)
b2=Low[llb]-SignalGap*Point;
}
Let us check the line:
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
Suppose, limit = 30, and dist/2 = 12, as dist = 24. Consider the case when i = 1. The Highest shifts is a negative number, which means that it is looking forward or cheating.
Am I wrong? Looks like this indicator will be repainting.
MajiThanks for your help, it starts off great then as it progresses, it gets mixed up signals and more and more appear, one for the basket I think, thanks anyway I will keep looking
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
This indicator that I got from one of the threads seems to give really good signals and seems to be what I am looking for, can someone pkease advise me
1. If this indicator is reliable to use?
2. how I can add a sound alert when the arrows show up?
I spent a fair amount of time trying to add a sound alert but have not been able to line it up with the arrow appearance
Thanks for any help