I am trying to place a stop loss after a certain number of contracts.
E.g. if current position <=2
no stoploss or whatsoever
If current position >2
SetStopLoss("EnterLong", CalculationMode.Price, Close[0] - (10 * TickSize), false);
Then upon flat I want to cancel any stoploss for the next entry until again, position size has exceeded that same amount.
The problem I face is that when there is a single stop set, every new entry from there onwards will inherit the stoploss from the previous entry and thus mix my strategy.
Any ideas how I can solve this?
Thanks
Comment