How do you get the full value of a moving average?

 

See screenshot



How do you get the full value of a moving average in double form?

 

https://www.mql5.com/en/articles/1561. Print by default limits the float to 4-digits. A trick I use to get 8-digits is to type cast the double into string. Example: Print( "iMA="+NormalieDouble(iMA,8) );

On a side note, you don't need the normalize_double function. See https://www.mql5.com/en/forum/136997.

 
  1. Do not use NormalizeDouble EVER. It's use is always wrong. See What do the experts think of my price normalize function... - MQL4 forum or The == operand. - MQL4 forum
  2. You want to see all 5 digits use the proper function
    string   PriceToStr(double p){   return( DoubleToStr(p, Digits) );            }
    

Reason: