Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rising/Falling Strategy

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

    Rising/Falling Strategy

    Hi, I'm trying to use the NinjaScript building tool to develop a strategy based off of Rising/Falling signals where it would enter a position based on a signal, hit a profit target and then wait until the next signal in the opposite direction to open a new position.

    The trouble I"m having is figuring out a way to have it wait until the opposite signal comes into play before entering the second position. Right now, as it enters the first position, it hits a profit target, and then goes back into a position of that same direction instead of waiting for the opposite signal to enter the second position.

    I might not be explaining this well, so please let me know if you have any questions.

    Thanks.

    #2
    Hello Syrinxgroup, you would need to work with user variables / bool flags in your code to ensure the strategy only takes the opposite signal as next possible signal - http://www.ninjatrader.com/support/f...ad.php?t=15417

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X