Hi,
I want to set stop loss at 5% of entry price and tried the following codes but did not work, all trade entries exited at the entry price.
vars: LossMax(0);
LossMax = EntryPrice * 0.05 * CurrentShares;
SetStopLoss(LossMax);
Please help. Thanks
LMC
SetStopLoss
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times