Download MetaTrader 5
To add comments, please log in or register
Examine the Top MetaTrader 5 signals. Choose the best one and subscribe to it!
Pier Gaetano Novara
Pier Gaetano Novara 2015.09.10 16:47  

Is it possible to have a functionality that give the Profit based on the stop loss?

I mean a kind of OrderProfit with parameter OrderProfit(p) where p is my stop loss

whroeder1 2015.09.10 23:35  
  1. You place the stop where it needs to be - where the reason for the trade is no longer valid. E.g. trading a support bounce the stop goes below the support.
  2. Account Balance * percent = RISK = (OrderOpenPrice - OrderStopLoss)*DIR * OrderLots * DeltaPerlot (Note OOP-OSL includes the SPREAD)
  3. Do NOT use TickValue by itself - DeltaPerlot
  4. You must normalize lots properly and check against min and max.
  5. You must also check FreeMargin to avoid stop out
/ /12
To add comments, please log in or register