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 Jonafare, 12-06-2012, 03:48 PM
          5 responses
          3,985 views
          0 likes
          Last Post rene69851  
          Started by Fitspressorest, Today, 01:38 PM
          0 responses
          2 views
          0 likes
          Last Post Fitspressorest  
          Started by Jonker, Today, 01:19 PM
          0 responses
          2 views
          0 likes
          Last Post Jonker
          by Jonker
           
          Started by futtrader, Today, 01:16 PM
          0 responses
          7 views
          0 likes
          Last Post futtrader  
          Started by Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,792 views
          0 likes
          Last Post aligator  
          Working...
          X