Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Y axis

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

    Indicator Y axis

    For some reason My indicator (ATR) is not painting the price maker on the x axis. I even went to indicator properties and made sure it was set on true, but it won't paint the price maker unless its on the primary chart(ie moving average). Can anyone help. Also, I'm looking for a basic study, where it looks at a 20 period ATR and doubles it, and simply writes that number on the corner of the main chart. I don't know anything about writing scripts, and I really don't want to learn a whole language for a simple thing. If someone can help me out with that code that would be great.

    #2
    Hello,


    Can you please provide us with a screen shot of what you feel is not correct? The ATR indicator plots a price market on the Vertical/Y axis not on the x axis.

    To write something on the chart use DrawTextFixed():


    The default NinjaTrader ATR should have no problem showing a price marker no matter which panel it is in.
    DenNinjaTrader Customer Service

    Comment


      #3
      My mistake, thats what i meant to begin with. It doesn't paint it on the y axis. I attached a pictures. It fails to do it on the lower panels, not the main price panel, as those are displaying the ema markers correctly. can you please also describe how you would use the draw text code for the ATR.
      Thanks
      Attached Files

      Comment


        #4
        I tried the draw text function, but still can't get it to work. I basically want the indicator to draw a text of the current ATR multiplied x2 on the top right corner.
        I had one on esignal, it simply displayed auto stop: xx
        It should update on every bar close as the ATR changes. Any help with this would be greatly appreciated.
        Thanks

        Comment


          #5
          Hi playafh69, thanks for clarifying - please uninstall your current NinjaTrader installation, clear your brower cache and reinstall from the website link - this should fix the issue with the price markers not showing up on your ATR indicator in Panel 2.

          For your DrawText() question - could you post your code so we could take a look?
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by geddyisodin, 04-25-2024, 05:20 AM
          8 responses
          61 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          4 responses
          3,287 views
          1 like
          Last Post jgualdronc  
          Started by Option Whisperer, Today, 09:55 AM
          0 responses
          5 views
          0 likes
          Last Post Option Whisperer  
          Started by halgo_boulder, 04-20-2024, 08:44 AM
          2 responses
          22 views
          0 likes
          Last Post halgo_boulder  
          Started by mishhh, 05-25-2010, 08:54 AM
          19 responses
          6,189 views
          0 likes
          Last Post rene69851  
          Working...
          X