Not logged in
Viewing 4 posts - 1 through 4 (of 4 total)
  • #114134 |
    Customer
    13 Posts

    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?

    #132356
    Moderator
    1559 Posts

    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

    #132398
    Customer
    432 Posts

    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?

    #132414
    Moderator
    1559 Posts

    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 …

    Attachments in this forum are visible only for registered users.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.