NexusFi: Find Your Edge

Home Menu


Categories Help    

NinjaTrader 8 Indicators and More
Indicators and Files in this section are compatible with NinjaTrader 8

Updated version of Toggle Trades 1.2 5 *
Hi everyone,

After silently getting a lot of value from this forum, I thought I'd better start giving back some.

I am new to NT8 programming and started by modifying the ToggleTrades indicator found here, hoping to improve it.
It's a nice little helper button that can quickly let you toggle between seeing/hiding your executions on a chart, without going inside the settings.

Key changes for version 1.2:
- fixed a bug (more of a missing feature, really), where the indicator, if added to one tab, would show on all the tabs but only work on the original tab. Now it'll only show on the tab where you added it
- added the "Markers" option, so now it'll cycle between all 3 possible modes, "No Markers", "Markers", "Markers&Text"
- added a parameter to decide if you want to see the icon or a button
- added parameters to customise the text you see inside the button for each mode (visible text reflects current mode)
- new icon with red/green colours

Nothing fancy here, you just import it like any regular NT8 indicator.
One additional step: you have to copy the PNG file to your NinjaTrader folder, usually in Documents/NinjaTrader8/, after extracting it from the archive

To do: I am not sure I'll ever get to it, but I'd like to:
- be able to mix both modes: show the icon inside the button with text next to it
- be able to tweak the colours for the button
- find a way to embed the icon inside the code so one doesn't have to manually copy it to a separate folder

Suggestions are welcome!

Category NinjaTrader 8 Indicators and More 
Suggest other entries I might like
Details: Updated version of Toggle Trades 1.2
Category: NinjaTrader 8 Indicators and More 

July 22nd, 2023
Size: 3.97 KB
Downloaded: 221 times

Keywords: helper ninjatrader8 nt8 toggle


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top