Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

T3 Condition based on positive/negative slope

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

    T3 Condition based on positive/negative slope

    Hi all, this is my first post (I accidentally put it in the wrong place)!

    I'm trying to make a strategy that involves the T3. I want to make a condition to enter into a long position when a number of conditions are met, but one I can't figure out is how to make one that involves the T3 when it's slope is positive. I.e. how do I tell the strategy builder to look for the T3 going positive?

    And vice versa, when it's going negative, I want to enter a short position.

    Any help you can send my way would be much appreciated!

    Thanks

    #2
    Hello Seastragg,

    Thank you for your note.

    To use the slope you would select in the Misc folder >Slope, then for Series 1 you would select the T3 Indicator. Then you would use Greater for the operator, and on the other side select Misc>Numeric Value set to whatever you define a positive slope as. See screen shot.

    You could write, if T3 Bars Ago 0 is greater than T3 Bars Ago 1. Meaning if the value on this bar is larger than the value of the last bar. This would mean the slope is positive. You could also do this consecutively, saying T3 Bars Ago 1 is greater than T3 Bars Ago 2, which would mean 3 higher bars.

    After setting up either of above, you would next go to Actions>Add and select enter long or short.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Christopher_R, Today, 12:29 AM
    0 responses
    9 views
    0 likes
    Last Post Christopher_R  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    166 responses
    2,235 views
    0 likes
    Last Post sidlercom80  
    Started by thread, Yesterday, 11:58 PM
    0 responses
    3 views
    0 likes
    Last Post thread
    by thread
     
    Started by jclose, Yesterday, 09:37 PM
    0 responses
    8 views
    0 likes
    Last Post jclose
    by jclose
     
    Started by WeyldFalcon, 08-07-2020, 06:13 AM
    10 responses
    1,415 views
    0 likes
    Last Post Traderontheroad  
    Working...
    X