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 Davidtowleii, Today, 12:15 AM
    0 responses
    1 view
    0 likes
    Last Post Davidtowleii  
    Started by guillembm, Yesterday, 11:25 AM
    2 responses
    9 views
    0 likes
    Last Post guillembm  
    Started by junkone, 04-21-2024, 07:17 AM
    9 responses
    68 views
    0 likes
    Last Post jeronymite  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    4 responses
    20 views
    0 likes
    Last Post trilliantrader  
    Started by mgco4you, Yesterday, 09:46 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X