In the strategy I have:
Code: Select all
If ( VolumeVal > AvgV ) then
if ( MarketPosition <> 1 ) then
Buy next bar at Close + BreakoutPoints stop;
if ( MarketPosition <> -1 ) then
Sellshort next bar at Close - BreakoutPoints stop ;
SetStopLoss( StopLossDollars );
TS seems to handle this by having only one stop active at any one time. MC seems to have both stop orders active.
The same trade in TS (only one stop):
The same trade in MC (multiple stops)... the stop at 1.2420 is due to the buy-stop line in the code and the stop at 1.2240 is due to the SetStopLoss() line of code.
I'd like the strategy to mirror TS's behavior. Is there a way to match TS's behavior using MC settings, or do I need to do this in the strategy/signal code?