Trade On Bar Open data
3 replies
M1S
8 years ago #114134
For Trade on Bar Open test precision do I need to set Calculate on bar close to false when exporting data from Ninjatrader with SQDataExport?
tomas262
8 years ago #132356
Setting this value to False or True does not make any difference in output price data. It just sets they way NinjaTrader processes price data
geektrader
8 years ago #132398
As far as I know it DOES make a difference, that´s why this setting is there Tomas. Ninjatrader trades on bar close by default, SQ on bar open (like MT4). But I haven´t used SQ with Ninjatrader yet, but I am sure this will make a difference. Maybe someone who uses Ninjatrader can help here?
tomas262
8 years ago #132414
In NinjaTrader if you set “Calculate on bar close” to TRUE in indicator settings then NinjaScript code is evaluated only when bar closes. When it is set to FALSE then the code is being run on each incoming price tick. This settings should not affects price data output since bar low (set to FALSE) is the same as bar low (set to TRUE), bar high is the same as bar high etc … Look at the screenshot. Both settings produce the same results …
Viewing 3 replies - 1 through 3 (of 3 total)