This is in Playback-MR.
Doing some extensive testing and adding to my strategy this past week, and I increased EntriesPerDirection to 2.
In a strategy, I have 1 market order entry, and then say later on, based on another condition, I enter Long again.
This is using the same named entry as the previous entry, so I thought or hoped it would use the same targets for profit and stoploss.
But it appears to be using it's own unique values.
I thought changing stoptargethandling would affect this - but it appears it does not.
So is there anyway to tag along this new entry on the target/stoploss of previous named entry without having to save it and reset it after new entry on same tag?
I'm also kind of confused.
In the code below - I set it in State.SetDefaults.
When I disable the strategy - and then EDIT the strategy in the Control Center strategy tab - it shows "Stop & Target submission .... Per Entry Execution"...So I'm not sure if ByStrategyPosition is even being used. (Entries Per direction is showing 2).
I haven't done this before(in NT7), so this is a new area for me... so wasn't sure what to expect.
Thoughts? Suggestions? Is this a bug?
if (State == State.SetDefaults) { Description = @"Enter the description for your new custom Strategy here."; Name = "stoploss_test"; Calculate = Calculate.OnEachTick; EntriesPerDirection = 2; EntryHandling = EntryHandling.AllEntries; IsExitOnSessionCloseStrategy = false; ExitOnSessionCloseSeconds = 30; IsFillLimitOnTouch = false; MaximumBarsLookBack = MaximumBarsLookBack.TwoHundredFiftySix; OrderFillResolution = OrderFillResolution.Standard; Slippage = 0; StartBehavior = StartBehavior.WaitUntilFlat; TimeInForce = TimeInForce.Gtc; TraceOrders = false; RealtimeErrorHandling = RealtimeErrorHandling.StopCancelClose; StopTargetHandling = StopTargetHandling.ByStrategyPosition;
Comment