if (Open[0] > Close[1]) { EnterLong(); EntryBar = CurrentBar; } if (MarketPosition == Long) { BarsElapsed = CurrentBar - EntryBar; Print(BarsElapsed); }
I have been running these lines of code for some time now and it has just recently started happening. I am running on replay connection for ES 12-20 and ES 03-21. Strategy is OnBarUpdate
Comment