good day to everyone,
range bars can be a great tool to filter out noise around a more defined trend. however, in most trading platforms range bars do not allow for gaps and will instead fill all observed gaps in price with "synthetic" (fake) data. this means that when backtesting or optimizing strategies on range bars, the backtesting engine will treat this fake data as if it had been real and it had been possible to place trades on these bars. in turn, this means that trend following strategies will seem to never have taken losses from large gaps that in fact drastically reversed a trend but it will seem as if the strategy would have detected the reversal on time and appropriately reversed its position, when we know all of this is just impossible as the bars from "synthethic" data never existed during any real trading sessions.
nt does use "synthethic" bars when charting on range bars and i want to find a way so that my strategies will only place trades during bars generated from real, historical, observed data and thus will ignore all "synthethic" data. i imagine all "synthethic" bars must be given time stamps outside of the real, regular trading sessions for different instruments (for example, later than 17:00 and earlier than 18:00 et for futures). if this is correct, ¿can i use a time filter to force my strategies to only enter and exit trades during regular trading session hours? ¿how could i do this? ¿if not, is there any other method to make my strategies avoid all "synthethic" bars when opening and closing positions? ¿when will nt provide a new kind of range bars that simply do allow for gaps? several users have made this request repeatedly but nt has never delivered.
very well, thanks a lot, regards.
Comment