Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trying to get ATR to print on the Chart

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

    Trying to get ATR to print on the Chart

    I seem to be getting compiler errors when trying to get the ATR to print on the chart rather in an indicator window.

    Here is my code: http://pastebin.com/sMKd0kXG

    When I try to compile, I see this error:

    CS0103 The name 'Plot0' does not exist in the current context. Line 43 Column 10.

    Any ideas?

    * Edited the link - didn't realize I had vented my frustrations in a comment...
    Last edited by AXELGREASER; 06-30-2012, 05:23 PM.

    #2
    Originally posted by AXELGREASER View Post
    I seem to be getting compiler errors when trying to get the ATR to print on the chart rather in an indicator window.

    Here is my code: http://pastebin.com/xtTbCrMd

    When I try to compile, I see this error:

    CS0103 The name 'Plot0' does not exist in the current context. Line 43 Column 10.

    Any ideas?
    You do not have a DataSeries called Plot0. You changed it. Refer to the Plot by its correct name: the one you changed it to in the Properties definition.

    Comment


      #3
      Thanks for the quick reply koganam! - I see what you mean.

      I see I also forgot to add Overlay = true; to get it to print on the price area....

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      82 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      43 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      56 views
      0 likes
      Last Post CarlTrading  
      Working...
      X