Here is my simply code:
protected override void Initialize() { CalculateOnBarClose = false; } protected override void OnBarUpdate() { if (Close[0] > High[1]) { Print("Sell my shares"); } else { Print("Close = " + Close[0] + ", Previous High = " + High[1]); } }
I don't see any printout in the Output windows. It's like the OnBarUpdate did not get called or since we are using Daily bar, it will call at the end of the stock market ?
Thanks for any input or help you might have.
Andy
Comment