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 CarlTrading, Yesterday, 11:48 AM
      0 responses
      11 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      10 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      8 views
      0 likes
      Last Post CaptainJack  
      Started by sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      155 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      357 views
      0 likes
      Last Post NullPointStrategies  
      Working...
      X