What is the problem?
Telling us that you have a problem, tells us nothing.
Explain what you mean by "problem"
i run it on strategy tester , as you see the reading time is 2 hour less than the stored in write.
and if remove the "7200" in the first highlighted line time wll be the current time as below picture:
in real time chart as below:
also in strategy tester as below:
----------------------------------------------------------------------------------------------------------------------------------------------------
2-) the csv file :
3th column is time : ( is look blank )
Don't use a spreadsheet, that's just adding another layer of misdirection. Show the file contents, command line/type or notepad.
problem solved: in first highlighted line :
(TimeToString(TIME_WRITE_BUY[wr] , TIME_DATE|TIME_SECONDS))
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
asked here also : https://www.mql5.com/en/forum/86907
HI. I try it as below,
can you please check this part of code;
i have store data in " write " part and they are true and i have the file .(have problem about time )
then i want to read them in " read " part and when i print them on chart have problem for time : the part have time parameter highlighted have problem .( i think)
*** ) " PROBLEM IS IN ' TIME ' WRITE~READ :"
can you please check it to see what is wrong .
thank you.