| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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[i]=High[hhb]+SignalGap*Point; if (i==llb) b2[i]=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 |
|
||||
|
Quote:
Thanks 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 |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|