profit value is not right
griffcho16:
If Bid-orderOpenPrice>=100*pointI have been using this to close any pending position if the price has changed more than or equals to 10 pips, but I have been getting profit ranging from 0.83 to 0.5, never reach 1.0 or 0.9 something.
Weird thing is when the trade was not profitable, the value ranges from -1.1 to 0.93.
I do not understand why is this happening
Close buy order
If orderOpenPrice-Ask>=100*point
Close sell order
I have been using this to close any pending position if the price has changed more than or equals to 10 pips, but I have been getting profit ranging from 0.83 to 0.5, never reach 1.0 or 0.9 something.
Weird thing is when the trade was not profitable, the value ranges from -1.1 to 0.93.
I do not understand why is this happening