OnTick : the function doesn't execute On each tick

 

Hi,

Timeframe 1, inside the OnTick, I run a function & check it passed there by a comment on the chart :

Fnc();
Comment("Last checked: "+TimeToString(TimeLocal())+);


Unfortunately nor the comment is updated, nor the function seems to be executed. I have to remove expert from the chart & add it again to see some changes. It also work on chart refresh (the comment is updated at least! )


I'm disappointed. Should I use a timer ?

 
blouf:

Hi,

Timeframe 1, inside the OnTick, I run a function & check it passed there by a comment on the chart :


Unfortunately nor the comment is updated, nor the function seems to be executed. I have to remove expert from the chart & add it again to see some changes. It also work on chart refresh (the comment is updated at least! )


I'm disappointed. Should I use a timer ?

Seems platform relative. Seen on a macos port.
Reason: