Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy condition question

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

    Strategy condition question

    Hi, was hoping someone could help with a quick query I have. I have a short only strategy that I have, it's very simple and I'm happy with it. I used strategy builder for it. It executes short positions on the daily chart. I wanted to test something new out...for the strategy to only execute short positions on the daily if the weekly ALSO confirms. I could do this manually on two seperate charts and execute manually but would like to do it this way (for backtest purposes too). Is there an easy way around this? Thanks in advance to anyone who can help.

    #2
    Hello adams016,
    Thanks for your post.

    You would need to add a "Week" series to your script to check that value. Once you add the series you can set it as the Input series for any price/indicator comparison.

    Here are some samples of common conditions you may want to create in the Strategy Builder: https://ninjatrader.com/support/help...on_builder.htm

    Please let me know if you have any questions.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. Can it all be done in strategy builder or is any coding required in script?

      Comment


        #4
        adams016,

        You would be able to add a "Week" series in the Strategy Builder from the "Additional Data" screen


        As far as unlocking the script, that would depend on your logic. If you are simply comparing indicator or price values of the additional data series I would expect to be able to accomplish this from within the Strategy Builder.



        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Thanks mate, got this working nicely!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          92 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          138 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          121 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          72 views
          0 likes
          Last Post PaulMohn  
          Working...
          X