I have an indicator with three emas
When ema 1> ema 2 and ema 3 a condition occurs.
But I have noticed this problem:
ema 1 its value is for example 175.75
ema 2 = 175.75
ema3 = 175.74
The condition is met
printing the value of the emas I get that
ema 1 = 175.750000001
ema 2 = 175.750000000
There is a way that the value of the emas is limited to the first five figures, for example 175.75 (xxx.xx)
Thank you.
Comment