MQL4: Is it possible to chart a value every 5 seconds?

To add comments, please log in or register
ccou
261
ccou  
Hi!

I have an OnTimer() function that calculates a new value for a variable every 5 seconds.
This variable (a double) varies from 5.0 to 50.0 (approximately).

1) Is it possible to chart this variable every 5 seconds? If yes, how?
2) Is it possible to chart this variable in a scrolling sub-window (5 seconds timeframe) below a 1 mn chart ?

Thanks!
To add comments, please log in or register