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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      338 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X