a strategy that uses two bar indices and sends orders inside the primary and secondary series sections without specifying the bar index for the entries will have some entries on the primary series and some on the secondary series. this same structure can be replicated using the more advanced entry orders that do specify the bar index for the entries. so, it should be possible to make adjustments to versions b and c and have the exact same performance as version a, but only if the stop loss orders are disabled. however, it is not possible to refine version a to deliver the same behavior as versions b and c. this has been proven with my previous posts.
i don't agree with this. some time ago i developed strategies with different entries in the two bar indices and the stop loss orders would only work for the entries and positions on the primary series. i could try to prove this. i had an initial entry generated by the primary series and then the smaller time frame would generate a pullback entry in some special cases but the stop loss orders would never work on these entries.
and i'm not interested in separating entries between series, i'm trying to get consistent results with time filters because there are enormous differences when using basic EnterShort( and SetStopLoss( commands versus strategies where i use the onorder and execution update logic. also, time filters for the nasdaq regular session work well as this is a restriction over the same day, but when i try to restrict trades for the cme regular session (18:00 to 17:00 the next day) the filters will fail completely.
Comment