mql5 and metaeditor problem - page 2

 
makset:

I understand you but the solution was not satisfactory for me and I wanted to better explain the problem.

Please evaluate them.

I have another question

it is possible that an expert advisor called (compile) indicator?



Forum on trading, automated trading systems and testing trading strategies

Hello,

Please use the SRC button when you post code. Thank you.


This time, I edited it for you.


 
makset:

I understand you but the solution was not satisfactory for me and I wanted to better explain the problem.

I think my program is better.

Please evaluate them.

I have another question

it is possible that an expert advisor called (compile) indicator?


Hi makset, as pointed out by angevoyageur you can't be sure about the real second of OnTimer you are (mainly if you have a slower system). An option would be change your code to >= 55, but even this can't be enough (in this case i would use >= 30, but this is not what you need).

About your second question, maybe you could explain why you need this, since looks like too much effort and risk to solve a problem. 

Reason: