Add("^TICKQ", PeriodType.Minute, 1).
It is the first object added. Other objects have been added but they are just different time periods of the NQ.
In my strategy a condition to entering a trade long or short is that the ^TICKQ must be at a certain level to enter the trade. For example, to enter short the ^TICKQ must be below -275. This is represented in the Code by the following line
&& Closes[1][0]<-275
Today I ran the strategy with COBC=True. Accordingly, I would assume that it would only enter a trade if the one minute Tick closed at <-275. Attached you will see a picture of the NQ chart with the ^Tickq added as a data series.You can see that an alert and trade was entered into at 15:59. However, on that period, the ^TICKQ closed at +91 well above the -275 threshold. There were actually several trades like that today where the close of the ^TICKQ did not meet the threshold of the trade entry and yet the trade still executed. Here is the other interesting component. If I shut the strategy down and restart it. Those anamolous trade signals don't show up and the only trade signals on the chart are where the ^TICKQ did meet the threshold for entry.
Any ideas on this issue (actually not sure how to upload an image-will do it tomorrow)

Comment