Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reverse Position

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

    Reverse Position

    I am trying to reverse position using the code below. Instead system will result with 2 Short Orders? and Long position disappears?

    Example:
    currently long;
    if(_shortSignal == true){
    ExitLong();
    EnterShort();
    }

    Using NT7

    #2
    Hello atxim,

    Welcome to the NinjaTrader forums. Enter methods will take care of the reversals. They will close current position and enter in the other direction. You can remove the ExitLong here if reversal is what you're going for.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Balage0922, Today, 07:38 AM
    0 responses
    1 view
    0 likes
    Last Post Balage0922  
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Working...
    X