Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry Bar happening too late

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Entry Bar happening too late

    Learning to use strategy analyzer

    I want my entry to be when price crosses above my ATR trailing stop indicator but it waits till the bar actually closes above my indicator

    I unchecked calculate on bar close in the strategy wizard

    The input series in the strategy wizard is set to close - I am not sure if that has an effect

    Thanks for any help

    stefan

    #2
    Hello,

    Thank you for the question.

    This is related to how the analyzer works.

    If you run this on a chart with exactly as you have it now, you should see the desired result of when the CrossAbove happens, even intrabar it will be true.

    In a backtest, it will always be on the close of the bar.

    You can look at this document in the section Running a Strategy at the Close of a Bar or Tick by Tick which explains this in detail: http://www.ninjatrader.com/support/h...htsub=backtest

    Intrabar granularity would be needed for this to work correctly in a backtest but this would be an item that can not be added using the wizard its self, you would need to manually code the strategy to add intrabar granularity.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Replay

      Can tick by tick be done running a strategy in market replay

      can a strategy be run in market replay

      thank you

      Comment


        #4
        Hello,

        Yes you can do tick by tick in the replay mode, and yes you can use Strategies in replay.

        When you are running in replay mode, keep in mind that 1X speed would be the most accurate as the higher the speed bars will be skipped to accommodate the speed.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Brevo, Today, 01:45 AM
        0 responses
        2 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        4 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X