PROBLEM CODE - page 4

 
LordoftheMoney:

Try this one, seems to work fine.

You will find the written file in your metatrader/tester/files folder after backtesting this expert.

Warning! I am not a programmer, so this bug may contain working code parts. :)


I also served for further work
thank you very much
 

I tried using well, but I have not worked.

What am I doing wrong?

for(int i=Bars-1;i<=0;i--)
{
FileWrite(f,TimeToStr(Time,TIME_DATE|TIME_MINUTES),Open,High,Low,Close ,iFractals(Symbol(),0,1,i),iFractals(Symbol(),0,2,i),iCustom(Symbol(), 0,"ZigZag",13,5,3,0,i),iCustom(Symbol(),0, "ZigZag",13,5,3,1,i));

Many thanks

Reason: