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 Aviram Y, Today, 05:29 AM
    0 responses
    1 view
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    25 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    7 responses
    34 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cls71, Today, 04:45 AM
    0 responses
    6 views
    0 likes
    Last Post cls71
    by cls71
     
    Started by mjairg, 07-20-2023, 11:57 PM
    3 responses
    216 views
    1 like
    Last Post PaulMohn  
    Working...
    X