Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 helpwanted, Today, 03:06 AM
        1 response
        12 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        9 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        387 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X