Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modify ChartTrader Panel to interact with Strategy

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

    Modify ChartTrader Panel to interact with Strategy

    I have downloaded the sample of modifying the Chart trader. I want the buttons I add to the ChartTrader panel to interact with my strategy. In that case do I have to add the ChartTrader code to the strategy or is there some other way that the strategy can be called in an indicator version of chartrader panel code? What is the most efficient way to accomplish this?

    #2
    Hi, thanks for writing in. You can add the buttons to ChartTrader from within your strategy, then you can call EnterLong() ExitLong(), etc from within the button click method. You will set up the buttons in your strategy the same way the indicator example does it, then perform the actions within the button click procedure. The full example is here:
    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


    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X