Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Action Buttons to a Strategy

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

    Adding Action Buttons to a Strategy

    In NT7, there was a way to add buttons to a strategy that would reside on the chart and when pressed would have an action on the strategy for instance "Long Only" or short only to allow trades in only one direction, which can allow a user to manually, easily control the direction in which a trade would be entered. It also was helpful to suppress active trading during a report that might have a big affect on price for a time.
    Are you aware of anything like that available for NT8?
    Thanks
    DaveN

    #2
    Hello daven,

    I am not aware of a strategy that has this functionality built-in.

    As NinjaScript uses C#, nearly anything is possible within the context of the language. We have some sample code that demonstrates how to create a chart toolbar and menu buttons. Depending on the implementation, you can have the buttons perform any event driven logic.

    I will provide a link to the sample code below.

    Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've


    Please bear in mind that there is limited support we can provide for client WPF modifications. If you require help with programming the logic, another member of our forums might be able to provide you assistance. Alternately, you can write in to platformsupport[at]ninjatrader[dot]com with the thread URL and the text "Attention Jim" and I could have a member of our Business Development Team pass over a list of NinjaScript Consultants who would be happy to develop the code for you.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Thanks,
      I think this is what I am looking for. I'll play with it and see if I can figure it out and make it work.
      Dave

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      62 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      134 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      75 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      50 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X