• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Flatten open trades in a startegy

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

    Flatten open trades in a startegy

    While my strategy is running, at times I want to flatten the positions to get out of the market on a fly. I have many strategies running at the same time. I have only found how to stop a strategy one by one, but that leaves the positions open. The chart trader link is dimmed when the strategy is running.

    How can I quit a strategy and flatten the position of a specific strategy on a fly.

    Thanks

    #2
    Hello,

    Thank you for your note.

    One of the ways to do this is to have a superDOM of the instrument open and then hitting the close button on the superDOM. This will close all active strategies and close all open positions and cancel any remaining orders.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      I want to flatten positions for selected strategy only, not for all of them. Is that possible?

      Thanks

      Comment


        #4
        Hello,

        The close button would only close strategies on that instrument. Will this work for you or are you running multiple strategies on the same instrument?

        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment


          #5
          I run multiple strategies on same instrument. Example: TF short, TF Long

          Thanks

          Comment


            #6
            Originally posted by Nice Person View Post
            While my strategy is running, at times I want to flatten the positions to get out of the market on a fly. I have many strategies running at the same time. I have only found how to stop a strategy one by one, but that leaves the positions open. The chart trader link is dimmed when the strategy is running.

            How can I quit a strategy and flatten the position of a specific strategy on a fly.

            Thanks
            There are discretionary buttons that are available to do that, and other options to code into the buttons if you desire:
            http://emini-fools.com/index.php

            TJ

            Comment


              #7
              I found the codes on the link given. Reading the description it seems to me that this could work but I have a novice question. Where and how do I install this script? I am looking for a guide or a link to find more about installation. Sorry about this novice question.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by ttodua, Today, 01:52 PM
              1 response
              16 views
              0 likes
              Last Post NinjaTrader_Jim  
              Started by muisca, 05-19-2017, 11:49 AM
              8 responses
              6,465 views
              0 likes
              Last Post NinjaTrader_Tyler  
              Started by NinjaTrader_Brandon, Today, 12:08 PM
              0 responses
              73 views
              0 likes
              Last Post NinjaTrader_Brandon  
              Started by iq200, Today, 12:00 PM
              2 responses
              11 views
              0 likes
              Last Post iq200
              by iq200
               
              Started by valhallafutures, Today, 11:33 AM
              1 response
              20 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Working...
              X