Code: Point -Help needed-what it do?

 

Hello.


I'm in trouble to understand what exactly the function/operator POINT exactly do, specially

when it comes with MACD EA and/or Ticked-Modify programming instruction/function POINT.


Thanks

 

Point is the amount of decimal places of a currency. Ex:

EURUSD

50 * Point = 0.0050


USDJPY

50 * Point = 0.50


Point is basically the value of 1 pip of a currency. If you comment point in EURUSD it will show 0.0001. For USDJPY, 0.01


so if you want a stoploss of 50 pips: Ask - (50 * Point) .

 
jmca:

Point is the amount of decimal places of a currency. Ex:

EURUSD

50 * Point = 0.0050


USDJPY

50 * Point = 0.50


Point is basically the value of 1 pip of a currency. If you comment point in EURUSD it will show 0.0001. For USDJPY, 0.01


so if you want a stoploss of 50 pips: Ask - (50 * Point) .

Ah tnx! Very clear.

It is one of the most basic function in the programming language, i realize now.


It is the same to do: Ask - 0.0050

but Ask - (50 * Point) is applyable on all currencies pair i.e. both EUR/USD and USD/JPY,

instead the "constant stoploss" Ask - 0.0050 is only on the 0.0001 type-currencies, so it would

produce an error of logic on USD/JPY in example.


Thanks of course