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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    58 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 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