1. I am looking to monitor ticks in a high intensity period to place MKT orders when a specific price is seen. My existing strategy has indicators that are calculated on the close of the bar. I have used your FirstTickOfBar attribute to limit calculations to the Open of the next bar which is the same instant as the close of the last bar.
Can I modify attributes of the last bar (Color and text labels) from within the next bar OnBarUpdate method by indexing the previous bar in a similar way to the price attributes (ala Close[ago]). Can you send a code example?
2. The manual recommends against dynamically switching the CalculateOnBarClose attribute and recommend limiting its use to the Initialize() method.
"This property should ONLY be set in an Initialize() method and be the last statement within that method."
I note the "should ONLY" rather and a "can ONLY". My strategy uses the close price for its indicators and I want to monitor tick by tick to enter and possibly close once my indicators provide the entry signal using the close event. Can I dynamically turn tick events on and off without any problems? This will reduce the time overheads (back testing) which for large data sets is considerable.
3. Is there a way to still receive the Close events while at the same time receiving the tick events as they are not mutually exclusive?
As you can see, these questions are all related to the same issue.
Regards,
Paul

Comment