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 WHICKED, Today, 12:56 PM
    2 responses
    14 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Felix Reichert, Today, 02:12 PM
    0 responses
    1 view
    0 likes
    Last Post Felix Reichert  
    Started by Tim-c, Today, 02:10 PM
    0 responses
    1 view
    0 likes
    Last Post Tim-c
    by Tim-c
     
    Started by cre8able, Today, 01:16 PM
    2 responses
    9 views
    0 likes
    Last Post cre8able  
    Started by chbruno, 04-24-2024, 04:10 PM
    3 responses
    49 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X