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