what will be my profit or loss .... code ?
This is more of a custom job. I recommend Searching or Paying someone to code this for you. To code this yourself you'll need the following functions, MODE_TICKVALUE, OrderLots(), OrderStopLoss(), OrderTakeProfit(). Example of Potential Loss:
1> Potential Loss = MathAbs( OrderOpenPrice()-OrderStopLoss() ) [ Gives you the distance in Points ].
2> Potential Loss = - ( Potential Loss * Mode_TickValue * OrderLots() )
Something like the above is how it's done.
Hi all,
I wonder if there is an indicator/EA
that will calculate potential profit and potential loss after getting in a trade/trades.
It will read the SL and TP for various currencies and displays a break down for each pair & a total