Quote:
|
Originally Posted by elepoutre
I must have missed something...
In the attached report i have set up initial sl at 30...and if you check the trades in the report the sl are placed at 70 pips!
somebody could explain what i did not understand?
thank you
emeric
|
elepoutre,
Here is the code that sets StopLoss for a Sell.
Code:
sl=NormalizeDouble(SellPrice+InitialStop*Point + (MaxTrades-OpenOrders)*Pips*Point, Digits);
1st order, StopLoss will be set at InitialStop value. As more orders are opened at same time, Stoplosss will be increase by calculation above.
Wackena