• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 NinjaCustomer, Today, 12:57 AM
        1 response
        3 views
        0 likes
        Last Post NinjaCustomer  
        Started by lancasterstephen, Today, 12:09 AM
        1 response
        3 views
        0 likes
        Last Post lancasterstephen  
        Started by liltr3d, Yesterday, 10:52 PM
        0 responses
        3 views
        0 likes
        Last Post liltr3d
        by liltr3d
         
        Started by Longhornmark, Yesterday, 08:25 AM
        3 responses
        13 views
        0 likes
        Last Post bltdavid  
        Started by mohdhm, Yesterday, 04:09 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X