Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manual Buy/Sell order as a part of strategy?

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

    Manual Buy/Sell order as a part of strategy?

    Hello,

    I want to create the ability to close (manually) a position that a strategy opened, but in such a way that the order will be transmitted as part of the strategy itself and not be foreign (not related) order.

    Is there any "button" that I can display, so when pressed I can catch it, and link it to a sell order for example? (the sell order is part of the strategy code).

    I want to do it without enabling and disabling the strategy.

    Is there a GUI that I can get input from the user, and use it within the strategy (without enabling/disabling the strategy)?

    Much appreciate the help, you are the best.

    #2
    Hello zoharcho,

    Thanks for your post.

    Please review the strategy Long short toolbar buttons. This strategy will add buttons to the chart and from the code, you can see how to tie an order action to the button click. Because this is within the strategy it will not disable and will stay in sync.


    This strategy is publicly available on our NinjaTrader Ecosystem website:
    Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

    Note — To import NinjaScripts you will need the original .zip file.

    To Import:
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.

    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Great! that's exactly what I had in mind, thanks!

      Comment


        #4
        I would like to request the ability to simple add manual Close or Open Buttons to a Strategy from within the Strategy Builder. Been talking about this for 2 years. It would be a great tool and with new programmers creating trading strategies would give them a manual OUT when they are in a position and wish to have a emergency exit plan while keeping strategy enabled

        Comment


          #5
          Hello DTSSTS,

          Thanks for your post.

          I will submit the feature request as you have specified.

          Once I have the feature request tracking number I will update this thread.

          Thanks in advance for your patience.

          Feature Request Disclaimer
          We receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing.
          When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number will be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.
          Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

          Comment


            #6
            Hello DTSSTS,

            The feature request has been identified as, SFT-5370, "Strategy Builder to automatically provide two on chart buttons to buy/sell".

            Thank-you for your interest to improve NinjaTrader8.

            Feature Request Disclaimer
            We receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing.
            When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number will be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.
            Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            62 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            134 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            75 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            50 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X