ATR Current Value

 

How do i get the current ATR value

I added a double:

double ATR=iATR(Symbol(),0,15,1);

 but when i use comment to display it to chart i get 0.0

Comment(ATR)
 
ATR
Documentation on MQL5: Technical Indicators / iATR
Documentation on MQL5: Technical Indicators / iATR
  • www.mql5.com
Technical Indicators / iATR - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: