draw text round numbers
-
Hello everyone .
I have made an EA wich name is VAR .
Ihave used open price and close price to calculate the difference in pip mode and then use it in a “ draw Text “ near to trade position on chart .
Question is :
How can I limit my calculations and round it to 2 decimal digits and then draw a text ????
( O C Diff & C O Diff Variables ) -
To limit to 2 decimal places do this: DoubleToString(O_C_Diff,2)

-
Thank you so much . i wish the best for you and your family too .
thank you again man .
-
