That's simple but is there anyone who could tell me what's wrong with it...
- Need simple help to fix my EA, how to prevent re-entry on same bar?
- What's wrong with this simple code?
- What's wrong with my simple code?
extern int ExtDepth=12; extern int ExtDeviation=5; extern int ExtBackstep=3; for (int i=0; i < 100; i++) { double ZZ = iCustom(NULL, 0, "ZigZag", ExtDepth, ExtDeviation, ExtBackstep, 0, i); Print("ZZ: ", i, " ", ZZ); }
extern int ExtDepth=12; extern int ExtDeviation=5; extern int ExtBackstep=3; for (int i=0; i < 100; i++) { double ZZ = iCustom(NULL, 0, "ZigZag", ExtDepth, ExtDeviation, ExtBackstep, 0, i); Print("ZZ: ", i, " ", ZZ); }
RickD,
I thank you sincerely. But what you posted does not help me. Am I not as/more smart as/than you expected? Don't know, could you please clarify your view? I tried your code but.. nothing clearer.
Thank you nonetheless,
SA
for ( int i = Bars ; i >=0; i -- )
OK. THANK YOU ALL. Thanks Rick and Thanks DxdCn. Now the matter is getting clearer and clearer. I guess it was a trick due to the direction of counter increments.
SA