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 kevinenergy, 02-17-2023, 12:42 PM
            118 responses
            2,777 views
            1 like
            Last Post kevinenergy  
            Started by briansaul, Today, 05:31 AM
            0 responses
            6 views
            0 likes
            Last Post briansaul  
            Started by fwendolynlpxz, Today, 05:19 AM
            0 responses
            4 views
            0 likes
            Last Post fwendolynlpxz  
            Started by traderqz, Yesterday, 12:06 AM
            11 responses
            28 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by PaulMohn, Today, 03:49 AM
            0 responses
            8 views
            0 likes
            Last Post PaulMohn  
            Working...
            X