I'm back testing a strategy. When I set "CalculateOnBarClose = true;" then EnterLongLImit works as expected. However, when I switch to "CalculateOnBarClose = false;", then EnterLongLimit fails. That is,
- I'm running the same data, but it fails in one context, and works in another.
- When it's failing on CalculateOnBarClose=false, I'm setting the price at least 10 ticks above the current price, so there's plenty of room.
- When its failing on CalculateOnBarClose=false, if I replace EnterLongLimit with just EnterLong, then it works.
Your thoughts? Thanks
Comment