Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Swing().SwingHighBar

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

    Swing().SwingHighBar

    Hello,
    Can anyone please confirm that if a swing high 18 bars ago was penetrated upwards but a new swing high was not established yet (i.e. no lower highs following a highest high) than the Swing(5).SwingHighBar(0, 1, 50) still refers to the last swing bar 18 bars ago?
    Would this mean that the Swing(5).SwingHighBar(0, 1, 50) has a minimum value of 5 because 4 consecutive lower highs required to qualify for a swing high? (not to forget of course -1 value if a swing point is not found within the look back period)

    Thanks
    LazKz

    #2
    LazKz,

    It would likely refer to the most recent swing. The minimum value of the swing high bar is just whenever the swing is detected. Please be aware that the swing indicator is extremely difficult to program against because the indicator repaints itself in the future. It will see new conditions and go back and change the plot which makes it extremely difficult to know what the conditions were like when they were evaluated in prior points in time.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    659 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    374 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X