Download MetaTrader 5

Indicator visibility

To add comments, please log in or register
krzho
12
krzho  

It is possible to read (using code in mql4), on which timeframe indicator is visible, like it's showed in Indicator's parameters window?:


Alexander Voronkov
24661
Alexander Voronkov  
krzho:

It is possible to read (using code in mql4), on which timeframe indicator is visible, like it's showed in Indicator's parameters window?:



Can:

ObjectSetInteger(0,name,OBJPROP_TIMEFRAMES,OBJ_PERIOD_M1|OBJ_PERIOD_M5|OBJ_PERIOD_M15|OBJ_PERIOD_M30|OBJ_PERIOD_H1|OBJ_PERIOD_H4);
krzho
12
krzho  
Alexander Voronkov:

Can:


Thank's for your answer, but I'm asking about INDICATOR visibility, not OBJECT like line. How to get INDICATOR's timeframes visibility using mql4?

Alain Verleyen
Moderator
35039
Alain Verleyen  
krzho:

Thank's for your answer, but I'm asking about INDICATOR visibility, not OBJECT like line. How to get INDICATOR's timeframes visibility using mql4?

I don't think it's possible from "outside" the indicator. With the source code you can modify it to show only when needed.
To add comments, please log in or register