Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Toolbar Buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • alfa123
    replied
    Thanks again for your hard work.

    Leave a comment:


  • snaphook
    replied
    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 Files
    Last edited by snaphook; 03-21-2011, 11:14 AM.

    Leave a comment:


  • britfish
    replied
    What code do you need to add so that it will enable/disable a strategy?

    Leave a comment:


  • alfa123
    replied
    Thanks for your feed back.

    Leave a comment:


  • snaphook
    replied
    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()

    Leave a comment:


  • alfa123
    replied
    yes,just add like a strategy in all your charts and enable when u want to use ,it will work like any other stratyegy.good luck.

    Leave a comment:


  • luxurious_04
    replied
    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?

    Leave a comment:


  • alfa123
    replied
    Thanks for reply.Did u try toolbarbuttons?

    Leave a comment:


  • luxurious_04
    replied
    Originally posted by alfa123 View Post
    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.THANKS
    Hello alfa123, yeah we have the same thing looking for. I also want to have an idea on how to have buttons on top of the chart to turn on/off strategy so that no need for us to go to the strategy tab to enable and disable strategy which could take a lot of time. For example, we detected a gap then something had happen in the market we want to off directly our strategies so that we could not be hit by the market and stay out from the loss.

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Thanks for sharing alfa123.

    Leave a comment:


  • alfa123
    started a topic Toolbar Buttons

    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.THANKS
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by AveryFlynn, Today, 04:57 AM
0 responses
4 views
0 likes
Last Post AveryFlynn  
Started by RubenCazorla, 08-30-2022, 06:36 AM
3 responses
78 views
0 likes
Last Post PaulMohn  
Started by f.saeidi, Yesterday, 12:14 PM
9 responses
23 views
0 likes
Last Post f.saeidi  
Started by Tim-c, Today, 03:54 AM
0 responses
3 views
0 likes
Last Post Tim-c
by Tim-c
 
Started by FrancisMorro, Today, 03:24 AM
0 responses
5 views
0 likes
Last Post FrancisMorro  
Working...
X