Change decimal place in MA price display

 

I am displaying the price from the current position of a Moving Average on my chart,

But the Value is 10858.5 on the EURUSD, I am wanting to move the decimal place to the correct price of 1.08585

I tried using double MA1 = NormalizeDouble(MA[i],1);  yet that did not work,

All help appreciated 😊
 
Ray Eagle: I am displaying the price from the current position of a Moving Average on my chart, But the Value is 10858.5 on the EURUSD, I am wanting to move the decimal place to the correct price of 1.08585

I tried using double MA1 = NormalizeDouble(MA[i],1);  yet that did not work, All help appreciated 😊

If you want help with your code, then show your code. We cannot possible know what you are doing wrong with so little information.

Show screenshot of what appears on your chart and attach your code file or use the "</>" icon to add sample code that reproduces the problem.

 

Hello Fernando, thank you for your reply,

Yes you are correct, I think I may have solved the issue, yet if not I will post again with the complete code,

thank you 😊

Reason: