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 CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            163 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            82 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            125 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            206 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            185 views
            0 likes
            Last Post CarlTrading  
            Working...
            X