if (FirstTickOfBar && (Position.MarketPosition == MarketPosition.Flat)) {
The compilation error is, "The name 'IsFirstTickOfBar' does not exist in the current context". This is odd, because I've successfully compiled this same code for at least week. Also, the usage is consistent with the reference code at https://ninjatrader.com/support/help...ttickofbar.htm
The only thing I can think of, there's some cross-contamination with NT8? I'm in the process of porting this strategy over to NT8. During the process, I changed FirstTickOfBar in my NT7 strategy to IsFirstTickOfBar in my NT8 strategy. Ever since this, I'm now getting this new compilation error on my NT7 strategy code.
Thanks,
Comment