Download MetaTrader 5

Cutomze indicator, how to get indicator level value?

To add comments, please log in or register
Wang Qi
659
Wang Qi 2016.10.15 10:55 

For example, in a RSI indicator, we can use IndicatorSetDouble to set the levels to, e.g, 70 and 30, but how to retrieve the values from the code?

There is no IndicatorGetDouble...


Thanks

peter.MT4Web
158
peter.MT4Web 2016.10.16 10:36  

If you use IndicatorSetDouble to set a level you know the level and don't have to call a "get" function.

Ruslan Garipov
8
Ruslan Garipov 2017.04.18 18:37  
peter.MT4Web:

If you use IndicatorSetDouble to set a level you know the level and don't have to call a "get" function.

But what if I want to get levels for an indicator that was added by user via MetaTrader's GUI? How can I get those levels?
Alain Verleyen
Moderator
31085
Alain Verleyen 2017.04.19 08:07  
Ruslan Garipov:
But what if I want to get levels for an indicator that was added by user via MetaTrader's GUI? How can I get those levels?
You can't.
To add comments, please log in or register