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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    64 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X