Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

High[1]>High[2] issue

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

    High[1]>High[2] issue

    Hi everybody,

    Okay I got a very simple code :

    Code:
    if (High[1]>High[2]) {
    Indicateur = 1;
    }
    The indicator return nothing. I know the part "High[1]>High[2]" is wrong but why ? I don't understand !

    Thank you very much for helping me ! Very nice

    #2
    Thanks for the post After, you're likely getting a log error in NT's Control Center returned when you apply that study?

    You would be running into the issue described here in this tip - http://www.ninjatrader.com/support/f...ead.php?t=3170

    If you include such a check it should be returning what you seek.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    475 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    316 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    253 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    305 views
    0 likes
    Last Post CarlTrading  
    Working...
    X