Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawOnPricePanel = false & Y axes

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

    DrawOnPricePanel = false & Y axes

    I have an indicator where I set the DrawOnPricePanel = false.
    When I use DrawLine with High and Low as the prices the Y axes is set to 1- 0 so the values don't show. Here is the code. Is there a problem with the Y axes??

    if(CurrentBar<frequency) return;

    NLow = Low[LowestBar(Low,frequency)];
    NHigh = High[HighestBar(High,frequency)];

    NOpen = Open[frequency-1];
    NClose = Close[0];

    DrawLine("Tag1"+CurrentBar,true,0,NHigh,0,NLow,Col or.Black,DashStyle.Solid,1);
    if(NOpen > NClose)
    DrawLine("Tag2"+CurrentBar,true,0,NOpen,0,NClose,C olor.Red,DashStyle.Solid,3);
    else
    DrawLine("Tag3"+CurrentBar,true,0,NOpen,0,NClose,C olor.Green,DashStyle.Solid,3);

    #2
    Guy, I'll have someone take a look at this and get back to you tomorrow.
    AustinNinjaTrader Customer Service

    Comment


      #3
      GuyFB,

      You will need a plot in the indicator for the panel scaling to start working.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Josh View Post
        GuyFB,

        You will need a plot in the indicator for the panel scaling to start working.

        B U G? Fixed in Next Release?

        Comment


          #5
          This is not a bug. If you don't have a plot, there is no scale for the panel.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PaulMohn, Today, 03:49 AM
          0 responses
          3 views
          0 likes
          Last Post PaulMohn  
          Started by inanazsocial, Today, 01:15 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          10 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          2 views
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          23 views
          0 likes
          Last Post trilliantrader  
          Working...
          X