M1 - each update is new tick y/n?

 

I am attempting to check on each update, if the ticker is new or old. I tried:

if (RefreshRates()==false)
{

got old tick

}

else

{

Got new tick

}

Ran the EA. Always hits the got old tick, but fails on the got new tick.


I am fairly new, but I am also a software engineer. Wgat would be a good way to trap for ticke? I want to take actions in both directions.


Thanks Larry

 

All your answers for your question are here Program Types and since you s/w engineer then all your other questions will be fully answered too ;)

Please read Programming in Algorithmic Language MQL4 and for sure you will be able to soar!


hth

Reason: