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 arvidvanstaey, Today, 02:19 PM
            4 responses
            11 views
            0 likes
            Last Post arvidvanstaey  
            Started by samish18, 04-17-2024, 08:57 AM
            16 responses
            61 views
            0 likes
            Last Post samish18  
            Started by jordanq2, Today, 03:10 PM
            2 responses
            9 views
            0 likes
            Last Post jordanq2  
            Started by traderqz, Today, 12:06 AM
            10 responses
            18 views
            0 likes
            Last Post traderqz  
            Started by algospoke, 04-17-2024, 06:40 PM
            5 responses
            48 views
            0 likes
            Last Post algospoke  
            Working...
            X