Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder Condition - Daily Net Percent

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

    Strategy Builder Condition - Daily Net Percent

    Hi,

    I have a intra day moving average strategy built via Strategy Builder. I would like to add a condition of the primary instrument for long only trades if the Daily Net Percent change is greater than 1.5 % and short only if the Daily Net Percent change is less than -1.5 %.

    Sounds simple but my methods are getting erroneous results. Any suggestion on how to add this condtion via Strategy Builder?

    Thanks,

    Bob

    #2
    Hello bob77713,

    Thank you for your post.

    This would require creating a custom indicator that sets a plot value for the daily net percent value. You could then create a strategy using the Strategy Builder that compares the custom indicator plot value to a percentage and enters a position. Please see the attached example indicator and strategy that demonstrates how this could be accomplished.

    Let us know if we may assist further.
    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Perfect. Thanks Brandon, I appreciate your help.

      Bob

      Comment


        #4
        Hi Brandon,

        I tried several different time frames and the strategy you provided is not generating any trades. I also tried to add the indicator to my strategy with the same results.

        Any advice on how to generate trades using this indicator?

        Thanks,

        Bob

        Comment


          #5
          Hello bob77713,

          Thank you for your note.

          I have attached a video below demonstrating the EnterBasedOnNetChange example script. As you can see in the video, the strategy will enter a long position once the NetChangeDisplayMod indicator reaches a value greater than 1.5.

          World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


          Please let us know if we may assist further.
          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment


            #6
            Hi Brandon,

            Ah, I understand now. There are no historical trades, only live trades.

            Thanks,

            Bob

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            47 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            23 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            33 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            51 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            42 views
            0 likes
            Last Post CarlTrading  
            Working...
            X