Reply

Trade On Bar Open data

3 replies

M1S

Customer, bbp_participant, community, 31 replies.

Visit profile

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?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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

0

geektrader

Customer, bbp_participant, community, 522 replies.

Visit profile

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?


🚀 Unlock Your Edge in Automated Forex Strategy Development 🚀

Historical Forex Data Starting From 1987, 28 Pairs, M1, 99% Error-Free, Lifetime Free Updates

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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 …

0

Viewing 3 replies - 1 through 3 (of 3 total)