Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Swing indicator

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

    Swing indicator

    Please refer to the attached imgage in regards to the swing indicator.

    With a strengh of 3, I understand the 3 candles to the left and right of the swing high bar have to be "lower", however as per my attached image I can see the high of candle marked "2" is the same high as the swing high bar.

    Can someone please direct where in the code I would need to make the necessary changes so that a swing count would be reset in this scenario?

    Thank you
    Attached Files

    #2

    Comment


      #3
      Hello agaviria85,

      Unfortunately I couldn't direct in code what to change but you can print out the swing value to see why those drawings you are making are the happening when they are.
      The swing requires using its custom methods to find instances, are you using those custom methods? SwingHighBar SwingLowBar?

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      139 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      183 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      96 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      63 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      84 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X