Download MetaTrader 5
To add comments, please log in or register
Register at MQL5.community and leave your comments!
zeno
274
zeno 2014.05.10 19:53 

Hello,

By launching a custom indicator, the default period is M1. Even if I close all charts, it will still generate the M1 as default period.

Can this be changed in oncalculate function

Many thanks. 

Alain Verleyen
Moderator
29601
Alain Verleyen 2014.05.10 22:08  
zeno:

Hello,

By launching a custom indicator, the default period is M1. Even if I close all charts, it will still generate the M1 as default period.

Can this be changed in oncalculate function

Many thanks. 

What do you mean ? A custom indicator attached to a chart will run on this current chart period.
/
To add comments, please log in or register