if ((ToTime(Time[0]) >= 095500 && ToTime(Time[0]) < 155500))
I have a profit target set to 26 ticks for this time frame in the "protected override void Initialize() and its
SetProfitTarget("", CalculationMode.Ticks, myInput4);
SetStopLoss("", CalculationMode.Ticks, myInput5, false);
What I need is the time frame divided up into 9:55 to lets say 11:30am and then 11:30am to 3:55pm. I need the earlier time to have a different stop loss/profit than the 11:30 to 3:55pm time frame.
Would I have to basically divide up my entire strategy into two separate parts for each time frame? And where do I put the profit target and stop loss codes, at the moment its a global parameter. I can post most of it in psudo code if that would help.
Comment