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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      182 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      334 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      258 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      358 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      188 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X