contribution in file sharing with a file.THANKS
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Toolbar Buttons
Collapse
X
-
Toolbar Buttons
I got this code from e mini-fools site and compile in NT7.there were some errors in it but fixed.What i was looking ,,,have some buttons on top of chart to turn on/off strategy,,instead of opening and using enable/disable function.Specially when news are comming OR FOMC rate annoucment is due and b4 market hit u,,,just turn on or off by one click.Plz use it on your own risk.NO responsibility on my side.Its my first
contribution in file sharing with a file.THANKSTags: None
-
Originally posted by alfa123 View PostI got this code from e mini-fools site and compile in NT7.there were some errors in it but fixed.What i was looking ,,,have some buttons on top of chart to turn on/off strategy,,instead of opening and using enable/disable function.Specially when news are comming OR FOMC rate annoucment is due and b4 market hit u,,,just turn on or off by one click.Plz use it on your own risk.NO responsibility on my side.Its my first
contribution in file sharing with a file.THANKS
Comment
-
Yes, but I don't know how it really works well I mean his full potential. If I have 5 strategies running can I control all of it by using this ToolBarButtons?
Comment
-
alfa,
I have found a problem in Dispose(). With it enabled, not commented out, any draw objects are persistent and are not erased upon removal of the strategy.
However, with it commented out, additional buttons are added.
To Resolve, simply add
RemoveDrawObjects();
to Dispose()
Comment
-
Shell
Here is a modification that allows for auto and manual entries.
It adds two buttons for manual entry. The Auto button must be set to Manual and the Long or Short entry buttons enabled (Green). Then a click on either manual button will place a market order, Long or Short.
I hope there aren't too many errors.Attached FilesLast edited by snaphook; 03-21-2011, 11:14 AM.
Comment
-
Excellent!
Originally posted by snaphook View PostHere is a modification that allows for auto and manual entries.
It adds two buttons for manual entry. The Auto button must be set to Manual and the Long or Short entry buttons enabled (Green). Then a click on either manual button will place a market order, Long or Short.
I hope there aren't too many errors.
Comment
-
Another update
This adds:
1) A Flatten button that immediately closes open positions,
2) separators between the buttons,
3) a confirmation Message Box when entering Auto Trading from Manual trading.Attached Files
Comment
-
Snaphook,
great work. Thanks for sharing this. Did you ever think about changing it this way so that you can add the buttons vertically in the chart? (Because the toolbar is getting so extended and the chart too)
Just an idea.
Thanks again and best regards
Tony
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RaygunWizzle, Yesterday, 08:52 PM
|
2 responses
10 views
0 likes
|
Last Post
by RaygunWizzle
Today, 02:26 PM
|
||
Started by carnitron, 03-25-2024, 01:59 PM
|
11 responses
50 views
0 likes
|
Last Post
by carnitron
Today, 02:18 PM
|
||
Started by Gerik, 12-21-2023, 08:20 AM
|
15 responses
202 views
0 likes
|
Last Post
by Mindset
Today, 02:06 PM
|
||
Started by visvabalaji, Today, 02:04 PM
|
0 responses
4 views
0 likes
|
Last Post
by visvabalaji
Today, 02:04 PM
|
||
Started by spottysallrite, Today, 11:31 AM
|
6 responses
14 views
0 likes
|
Last Post Today, 01:53 PM |
Comment