Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Quality of Life Feature Requests

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

    Quality of Life Feature Requests

    Hello,

    I have a few small suggestions which would make the platform a touch better. Of course, this is according to my experience and opinion.

    1. Copy-Paste + Drag. Perhaps Ctrl-Clicking an object would auto copy and start to drag the copy.
    2. An option to always move around the chart horizontally and vertically. At the moment we have to press ctrl to move around.
    3. An option to make the scroll wheels act as zoom out/zoom in instead of moving the chart. The arrow keys act as a way to move the chart, plus it's bar by bar, unlike the scroll wheel.
    4. Bar width is not consistent when zooming in. When loading a fresh chart with the bars at a set width, zooming in causes the bars to get fatter. Oddly this problem goes away when the fat bars are shrank back.
    5. Middle-clicking on an object deletes it.

    1, 2, and 5 have been solved by using an AutoHotkey and the additional mouse buttons, but it would be nice if it was native. For those wondering here's the code for the AutoHotKey Script. I could make the script

    Code:
    !XButton1::
    XButton1::
    Send, ^c
    Sleep, 15
    Send, ^v
    send,{LButton down}
    keywait %a_thishotkey%
    send,{LButton up}
    return
    
    XButton2::
    send,{control down}{LButton down}
    keywait %a_thishotkey%
    send,{control up}{LButton up}
    
    MButton::
    send,{LButton down}
    keywait %a_thishotkey%
    send,{LButton up}
    send,{Delete}
    return
    This is not a quality of life feature per se, but a way to invert the chart would be neat.

    Thanks

    [Edit]
    3 can be achieve by the following given the hot key to change the bar spacing is set to Alt+Arrow Left/Right.
    Code:
    !WheelUp::
    send, !{Right}
    return
    
    !WheelDown::
    send, !{Left}
    return
    Last edited by Unsuitable; 05-02-2021, 08:03 PM.
    Unsuitable
    NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

    #2
    Hello Unsuitable,

    Thank you for the suggestions. I have submitted them as feature requests to the Development Team. I will follow up with an internal tracking number for your reference as soon as it is created.

    Thanks in advance for your patience.

    Please note that you can move the chart horizontally by click and hold the left mouse button in the canvas of the chart and move left/right alone (without Ctrl key). This does not work to move the chart vertically, only horizontally.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Updated the AutoHotKey script so that it only listens for hotkeys when NinjaTrader 8 is the active window. Since the hotkeys explicitly fire when an NT window is active, the scroll bar hotkey to zoom in/out does not require the need to hold down ALT. Keep in mind the hotkey bar spacing hotkey in NT has to be set to ALT-Right and ALT-Left. Also, this is not a foolproof script. Sometimes it can bug out.

      Code:
      #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
      ; #Warn ; Enable warnings to assist with detecting common errors.
      SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
      SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
      
      ;Mouse 1 --> Copy Paste and Drag
      #IfWinActive ahk_exe NinjaTrader.exe
      XButton1::
      Send, {LButton down}
      Send, ^c
      Sleep, 15
      Send, ^v
      Send, {LButton down}
      Keywait %a_thishotkey%
      Send, {LButton up}
      Return
      
      ;Middle mouse click deletes object
      #IfWinActive ahk_exe NinjaTrader.exe
      MButton::
      Send, {LButton down}
      Keywait %a_thishotkey%
      Send, {LButton up}
      Send, {Delete}
      Return
      
      ;Mouse 2 --> CTRL + Left Button
      #IfWinActive ahk_exe NinjaTrader.exe
      XButton2::
      Send,{control down}{LButton down}
      Keywait %a_thishotkey%
      Send,{control up}{LButton up}
      Return
      
      ;Scroll up --> Alt + Right
      #IfWinActive ahk_exe NinjaTrader.exe
      WheelUp::
      Send, !{Right}
      Return
      
      ;Scroll down --> Alt + Left
      #IfWinActive ahk_exe NinjaTrader.exe
      WheelDown::
      Send, !{Left}
      Return
      Last edited by Unsuitable; 05-03-2021, 09:33 AM. Reason: Comments are set by using ; not // my bad
      Unsuitable
      NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

      Comment


        #4
        Hello chaps, updated the script so that it runs specifically only on charts and not other parts of NT such as the control panel or the NinjaScript editor. I tried to figure how to lock the cursor horizontally when holding down shift. It locked the movement, but it didn't want to unlock for some reason so forget that idea. Ideally holding down shift would lock the cursor to 45 degree increments so that drawing lines are straight.

        Code:
        #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
        ; #Warn ; Enable warnings to assist with detecting common errors.
        SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
        SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
        
        SetTitleMatchMode, 1
        
        #IfWinActive Chart ahk_exe NinjaTrader.exe
        
        ;Mouse 1 --> Copy Paste and Drag
        XButton1::
        Send, {LButton down}
        Send, ^c
        Sleep, 15
        Send, ^v
        Send, {LButton down}
        Keywait %a_thishotkey%
        Send, {LButton up}
        Return
        
        ;Middle mouse click deletes object
        MButton::
        Send, {LButton down}
        Keywait %a_thishotkey%
        Send, {LButton up}
        Send, {Delete}
        Return
        
        ;Mouse 2 --> CTRL + Left Button
        XButton2::
        Send,{control down}{LButton down}
        Keywait %a_thishotkey%
        Send,{control up}{LButton up}
        Return
        
        ;Scroll up --> Alt + Right
        WheelUp::
        Send, !{Right}
        Return
        
        ;Scroll down --> Alt + Left
        WheelDown::
        Send, !{Left}
        Return
        
        #If
        Last edited by Unsuitable; 05-04-2021, 10:46 AM. Reason: Fixed a line
        Unsuitable
        NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by inanazsocial, Today, 01:15 AM
        0 responses
        2 views
        0 likes
        Last Post inanazsocial  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        22 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Started by guillembm, Yesterday, 11:25 AM
        2 responses
        9 views
        0 likes
        Last Post guillembm  
        Started by junkone, 04-21-2024, 07:17 AM
        9 responses
        70 views
        0 likes
        Last Post jeronymite  
        Working...
        X