In the strategy I have:
Code: Select all
If ( VolumeVal > AvgV ) then
begin
if ( MarketPosition <> 1 ) then
Buy next bar at Close + BreakoutPoints stop;
if ( MarketPosition <> -1 ) then
Sellshort next bar at Close - BreakoutPoints stop ;
end;
SetStopLoss( StopLossDollars );
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?