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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X