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
Installation:
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
|
|
|