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 NullPointStrategies, Today, 05:17 AM
          0 responses
          53 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          130 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          70 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X