
This is a little indicator that I find highly useful.
It allows the user to specify what object they want to Toggle Visibility on or off, at the press of a button.
Eg Remove all text, lines, Ellipses, EMA plot, etc
The Buttons are customisable but note that if you use multiple instances, all the buttons must be the same width.
The code works from the name on the indicator Label and is demonstrated in this 1 minute video.
Spellings must be EXACT.
Happy Trading!
Update April 4 2024 updated file
1. Fixed some minor bugs and other little cosmetic changes
2. Added ability to either Click the button or simply Enter it - user choice
3. Added definition of an indicator or an object ( some Indicators have objects hence the change eg XABCD News)
4. Added ability to print out a list of objects and Indicators that are on the current chart panel.
5. Added ability to add a sound file to confirm entry/exit of button.
6. Altered name of indicator to make it fit better with the description.
If you use for example "EMA" as your label - in order to remove the settings from
displaying on the Chart Panel - you must include the quotation marks in your Draw/Plot Object text input.
Added User Definable delay when using OnEnter instead of mouse click - to prevent random event firings when you accidentally cross the button boundary unintentionally.
Changed the name to ToggleVisibility.
Created By | Mindset |
NinjaTrader Version | 8 |
File Size | 47.3 KB |
Create Date | 01/22/2024 |
# of Downloads | 261 |
Importing to NinjaTrader 8 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
- 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.