Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot from strategy

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

    Plot from strategy

    1.
    In costructing a strategy using the wizard, I select TRUE on Plot on certain conditions. When I run the strategy, all indicators etc. are plotted on the main pane. I want the indicators to plot on their individual seperate panes.

    There is no option under Plot to select pane. How do I accomlish my goal?

    2. How di I shut off the audible alerts when orders are placed by a running strategy.

    #2
    Hello EvenTrader,

    1) You can set the panel that plots are applied to with custom programming. The reference sample below can help with plotting from a strategy and setting the panels.
    When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability


    // Set the panel which the plots will be placed on. 1 = price panel, 2 = panel under the price panel, etc.
    StrategyPlot(0).PanelUI = 1;
    StrategyPlot(1).PanelUI = 1;

    2) If the alerts are part of the strategy then those actions have to be removed or commented out. You can turn off sounds for all order placement through Tools > Options, General tab. Uncheck the events that you would not like to hear sound notifications from.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Potential problem

      Solutin seems straightforward. but there is a potential problem To do this will I need to unlock the code? If yes, will i not be able to use wizard to edit the strategy? I want to maintain the ease of editing a strategy using the wizard.

      Comment


        #4
        eventrader,

        Unfortunately this cannot be set within the Strategy wizard. You will have to unlock the code and this means you would no longer be able to work within the strategy wizard.

        If you want to continue working with the strategy wizard you can consider adding indicators to a chart manually.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        66 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X