How to get rid of the point in price ?

 

Hi all,

I am coding an indicator and want to use prices without point, for example instead of "1.64800" i want "164800".


Please provide solution for different pairs with different digits modes.


You helps is appreciated

 
Just divide the price by Point .. or by MarketInfo(Symbol(),Point)
[Deleted]  
TheEconomist wrote >>
Just divide the price by Point .. or by MarketInfo(Symbol(),Point)

Correction: Divide by "Point" or "MarketInfo(Symbol(), MODE_POINT)"

.

Using Point inside the MarketInfo() function would return random values and create countless bugs.

.

Jon

 
thanks folks ; )
 
yeah, right