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

Reversing Trades

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

    Reversing Trades

    In Strategy Builder does a position close out automatically when an opposite signal is generated? Like in a MA crossover system do we need to specify the long and short entry only or also add conditions to close long before going short and vice versa. Nothing extra as far as exit goes, just needs to be an opposing direction signal.
    Thank you.

    #2
    Hello,

    Thank you for the post.

    In the builder, when you are using specifically Entry methods these will reverse the position if you are currently in the opposite position. For example, Enter Long would close a short position, and enter into a long position. If you are Flat, it would simply enter into a long position.

    When you use Exit orders, that would not reverse and simply exit the position to become flat.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      So if I only use Entry orders then it reverses on opposite signal. Now say I am in a long with a target of say 10 ticks and a reverse signal comes along. Then it will revert to the target/loss first and only reverse if flat?
      Thank you.

      Comment


        #4
        Hello,

        Thank you for the reply.

        In the order handling rules, there is a note about this situation. If a position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction it would be ignored. So in case you target was submitted using the Set methods, the reverse condition should be ignored. If there was no stop active it should reverse.

        You can read the few rules that apply when using the managed approach here: https://ninjatrader.com/support/help...antedPositions

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, Today, 06:40 PM
        0 responses
        2 views
        0 likes
        Last Post algospoke  
        Started by maybeimnotrader, Today, 05:46 PM
        0 responses
        6 views
        0 likes
        Last Post maybeimnotrader  
        Started by quantismo, Today, 05:13 PM
        0 responses
        6 views
        0 likes
        Last Post quantismo  
        Started by AttiM, 02-14-2024, 05:20 PM
        8 responses
        168 views
        0 likes
        Last Post jeronymite  
        Started by cre8able, Today, 04:22 PM
        0 responses
        8 views
        0 likes
        Last Post cre8able  
        Working...
        X