I have built a strategy for a very fast scalping system on the Russell Emini Contract that sometimes requires testing on each tick to see if the price has met entry conditions and then if "isInTrade == true" to exit if a stop or target price is hit on the same bar. My backtesting seems to show that my code is only doing the tests once per bar. This means a lot of false trades where the high() and low() meet or exceed my entry/exit prices but when the actual price action would not have hit those targets once the condition was met. I have setComputeOnClose() set to false in my code and in the global options. I am using LIMIT and STOP orders for my filltypes. Is it possible to have the conditions tested for entry/exit on each tick even though I am using a 1 minute interval chart?
Paul
Paul
Comment