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