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 cmoran13, Yesterday, 01:02 PM
    0 responses
    29 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    21 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X