Download MetaTrader 5

How to calculate Stop Loss pips from amount of money given - page 2

To add comments, please log in or register
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
To add comments, please log in or register