Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator not displayed

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

    Indicator not displayed

    in the following three statement block of code…
    redlineyest = HAOpen[1];
    hitredlineyest = false;
    // if(High[1] >= redlineyest && Low[1] <= redlineyest) hitredlineyest = true

    when the ''if'' statement is commented out indicator red line and dots are displayed on my chart.
    when the ''if'' statement is enabled indicator red line and dots are not displayed?
    there are no other references to ''hitredlineyest'' in the indicator program.

    thoughts and/or suggestions will be appreciated.

    joe miller

    #2
    Originally posted by joemiller View Post
    in the following three statement block of code…
    redlineyest = HAOpen[1];
    hitredlineyest = false;
    // if(High[1] >= redlineyest && Low[1] <= redlineyest) hitredlineyest = true

    when the ''if'' statement is commented out indicator red line and dots are displayed on my chart.
    when the ''if'' statement is enabled indicator red line and dots are not displayed?
    there are no other references to ''hitredlineyest'' in the indicator program.

    thoughts and/or suggestions will be appreciated.

    joe miller
    Code:
    if (CurrentBar < 1) return;
    at the top of your OnBarUpdate() event handler.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X