Real Time iMA in MQL4

 

When I print the iMA, it doesn't match the value disaplyed on the chart. How can I get the value that is actually displayed on the chart? I have tried all of the Price constants.


iMA(NULL, 0, 5, 8, MODE_SMA, PRICE_CLOSE, 0)


Thank you

 
make it null
 
boom this is not possiable
Reason: