Download MetaTrader 5

Cutomze indicator, how to get indicator level value?

To add comments, please log in or register
Wang Qi
735
Wang Qi  

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
157
peter.MT4Web  

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  
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
32828
Alain Verleyen  
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