Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with strategy wizard

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

    Help with strategy wizard

    Will my strategy execute intrabar (which is what I need) or on bar closed. I need for the strategy to execute or place a limit order where my indicator's value is at. I have in the condition part
    CrossAbove(GetCurrentAsk),KeltnerChannel1.5,5)uppe r,1)
    What I would like to say is when the price crosses above the upper band, or even better if I could have a limit order sitting where the upper band's value is, then go short or better that it would fill me when price reached the upper band.
    If anybody could help me with this been at it for the past 3 hours and can't seem to get it right and cannot find any information in the help files.

    #2
    If you run with CalculateOnBarClose = true it will run at bar close. If you have it false it will run intrabar. Of course this setting only has bearing during real-time though.

    For backtesting, you are always running with CalculateOnBarClose = true.

    In the action part just submit your limit order with your cross above condition.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I'm running the backtest and not trades are being executed. Also is there a way to have a limit order place at the value of the band of the previous bar it must also change every bar.
      Thanks Josh

      Comment


        #4
        If you run a backtest and no trades are executed then it means your entry condition(s) are not evaluating true. I suggest stripping down any enty logic to something basic and layer more conditions on. That way you can control and see what is happening when you make changes.

        You can submit a limit order with a price equal to that of the prior bar indicator value.

        You would select as an action "EnterLongLimit" for example and for the limit price, assign it your indicator value and set the bars ago value to 1 for the indicator.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X