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

Changing chart cursor

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

    Changing chart cursor

    Is there a way I can program an indicator to change the chart cursor?

    I'm doing some data comparisons between two charts using the global crosshair and I keep getting confused about which chart the cursor is actually on.

    #2
    Hello kevinenergy,

    Thank you for the post.

    There is no supported way of changing the cursor mode. There are hotkeys for changing the cursor of a chart though. It's possible to use SendKeys activate the hotkeys through your script.

    You can get to the hotkey settings through Control Center>Tools>Hotkeys.

    This indicator from user alligator uses the same technique for the toolbar they made:

    mahToolBar – Version 6 This version updates the code to includes several new icons for NT8 default Drawing Tools plus additional chart management tools. The mahToolBar6 indicator installs drawing tools icons in the NinjaTrader 8 Main Toolbar for a one-click drawing. The early version of this indicator with selected tools used sample scripts from several […]


    Please let me know if I can assist further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hey Chris,

      thansk for the response. It is not the type of the cursor that I want to change, but the look of it. For example When using the global crosshairs I want thto crosshairs on the chart imthe mouse is over a different colour to the other chart crosshairs.

      Comment


        #4
        Hello kevinenergy,

        Thank you for the reply.

        I'm not sure of a way to do that through C#, but Windows has a cursor setting where the cursor color is inverted with respect to what it is hovering over. Search Cursor and pointer size settings and set it in Change Pointer Color.

        Please let me know if I can assist further.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mmckinnm, Today, 01:34 PM
        0 responses
        2 views
        0 likes
        Last Post mmckinnm  
        Started by f.saeidi, Today, 01:32 PM
        0 responses
        1 view
        0 likes
        Last Post f.saeidi  
        Started by traderqz, Today, 12:06 AM
        9 responses
        16 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by kevinenergy, 02-17-2023, 12:42 PM
        117 responses
        2,766 views
        1 like
        Last Post jculp
        by jculp
         
        Started by Mongo, Today, 11:05 AM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X