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

How to program hotkey that places limit at cursor position

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

    How to program hotkey that places limit at cursor position

    I would like when I press my limit hotkey to place the order where the cursor is. How can I do this?

    #2
    Hello Jake Darby,

    Thank you for your note.

    This would require you to custom program an addon. Attached is an example named PreventInstrumentOverlaySelectorWithTextBoxExample _NT8 that demonstrates detecting key presses.

    As well as a link to an indicator that uses this type of code to detect a combination of key presses (modifiers).
    https://ninjatraderecosystem.com/use...ket-internals/

    This thread has an example of getting the price from the mouse's X/Y coordinates:



    Basically you'd need to detect the keypresses, get the mouse position and retrieve the price it's at. You would then need to access the Account class to get the account and submit an order at the detected price.

    Please let us know if we may be of further assistance to you.
    Attached Files
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Is there a plan to get this feature implemented in future updates. I mean when right clicking on the chart it already has the price at the current mouse position. I just want to hotkey that.

      Comment


        #4
        Hello Jake Darby,

        Thank you for your reply.

        We do currently have an existing request for this functionality I have added a vote for you to the current feature request to add a hot key to place an order at the current cursor price. This request is being tracked under the number SFT-2386.

        As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

        Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Pls add my vote too.

          Comment


            #6
            Hi guys,

            if you don´t know it, try this tool, which can do what are you searching: Clicker – Volaty Trading

            I'm not connected to the seller, I'm just a satisfied customer. It works great and the price is favourable.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by helpwanted, Today, 03:06 AM
            1 response
            7 views
            0 likes
            Last Post sarafuenonly123  
            Started by Brevo, Today, 01:45 AM
            0 responses
            7 views
            0 likes
            Last Post Brevo
            by Brevo
             
            Started by aussugardefender, Today, 01:07 AM
            0 responses
            5 views
            0 likes
            Last Post aussugardefender  
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            242 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            385 views
            1 like
            Last Post Gavini
            by Gavini
             
            Working...
            X