Cursor Tracker (Panel Highlighter)

Updates:

07/25/2018
- minor bug fix: object instance error when mouse is over chart while NT8 or workspace is still loading.
- minor bug fix: System.MissingMethodException logged at load of NT, special thanks to AntiqueBrass for not only pointing this out, but for also supplying a fix!

05/06/2018 - removed the drop shadow effect from the inner tracker when the option to use the fill is selected, this should make it easier to see.

05/04/2018 - Added option to make the inner tracker filled/hollow. - Added ability to select/change inner tracker opacity. If you update to this version, please delete the existing CursorTracker.xml file.

03/23/2018 - fixed missing reference issue.

03/19/2018 - fixed the issue of a tracker being stuck on a chartpanel when disabling both trackers while menu items hover over a chartpanel.

As someone who leaves multiple chart windows open across multiple monitors, I tend to lose track of where the cursor is, sometimes due to global cross hair looking the same everywhere, sometimes due to any number of reasons that would cause the cursor to "jump" to a different position.
This add-on script was written to help me keep track of where the cursor is and not confuse which chart I'm actually pointing at/with.

There are 2 types of trackers:
The "Outer" tracker creates a border around the chartpanel that the mouse is over.
The "Inner" tracker follows the mouse position within the chartpanel that the mouse is over.

In the "Tools" menu of the Control Center, I've added a "TG" menu. In it, you will find
the "Track Your Cursor" submenu. "Outer" and "Inner" trackers can be toggled on/off by clicking on their respective menu items.
A third menu item "Other Options" opens a window that allows editing of:
- The thickness of each tracker
- The fade/blur/glow radius of the "Outer" tracker
- The color used on the trackers

Additionally, the "Inner" tracker can dynamically change size depending on how much the chart is zoomed in. This was done to help reduce the tracker from impeding on getting a clear view of the chart.

The settings/configurations of this AddOn script are saved to a file so that it does not reset back to default every time you restart NT.

Known Issues:
None at the moment.

I not only welcome, I encourage any code fixes that would make this script work more efficiently.
Please share on the NT support forum, and thank you in advance for any help you may be able to offer.

Created By gubbar924
NinjaTrader Version 8
File Size 8.9 KB
Create Date 03/18/2018
# of Downloads 695

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.