Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Force Indicator to use same Panel

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

    Force Indicator to use same Panel

    I am trying to find out how to default an Indicator config to be the same as the Chart, so that there is only one panel.

    I have the following in defaults:

    IsOverlay = true;
    DisplayInDataBox = true;
    DrawOnPricePanel = true;
    IsChartOnly = true;
    PaintPriceMarkers = true;
    ScaleJustification = NinjaTrader.Gui.Chart.ScaleJustification.Right;
    //Disable this property if your indicator requires custom values that cumulate with each new market data event.
    //See Help Guide for additional information.
    IsSuspendedWhileInactive = false;

    NumberOfPanels = 1;
    IsOnlySeriesOnPanel = true;
    Panel = 0;

    But I still see a new Panel is added, although the indicator still writes on the main panel. Any idea what else I can do to avoid the new small Panel being created at the bottom of the chart?

    #2
    Just a guess here but when you look at the indicators running on your chart, there is a line to select which panel it runs on. Do you have it set to one (1) or "Same as input series"? This usually fixes that problem for me. Hope this helps.

    Best regards,

    Dolfan

    Comment


      #3
      Thanks Dofan. Actually, what I'm looking for, is when I add my indicator to a chart, and the Indicators window comes up, when the indicator is in Configuration state, I either want the 'Panel' element to default as 'Same as input series', or not show at all and automatically be set to a Panel value that will represent 'Same as input series'.

      Comment


        #4
        Hello tanbyte,

        Thanks for your post.

        Based on the parameters used this would be a Ninjatrader 8 indicator.

        IsOverlay and DrawOnPricePanel are the ones that come to mind and you already have those set to true. To investigate this further, please send your script in to PlatformSupport[at]Ninjatrader[dot]Com with a subject line with a link to this thread and Atten:Paul.

        Please note that for further Ninjatrader8 questions to please post those in the Ninjatrader8 forums.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by soyjesus, Today, 05:27 AM
        0 responses
        2 views
        0 likes
        Last Post soyjesus  
        Started by JarodB, Today, 04:44 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by mahmud999, Today, 04:54 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by leonardo3381, Today, 01:58 AM
        3 responses
        21 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by Mindset, Today, 02:16 AM
        0 responses
        7 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X