Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Pivot Indicator Malfunctioning - Help Requested

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

    Custom Pivot Indicator Malfunctioning - Help Requested

    Hello,

    I have built a custom indicator utilizing a basic swing strength format and filtering them using ATR, ATR multiplier, and distance from local SMA(high/low).

    The indicator plots the first four pivot highs on the $MNQ chart but then after the major drop in price around 12/18, only pivot lows get plotted. I can't seem to figure out why this is the case. Would anybody be willing to look at why this is happening and offer a solution for it? Please ignore the rectangle text box code as it is not plotting how I want it too. The idea is to get the dotted lines to plot at the filtered swing high/lows.
    Attached Files

    #2
    Hello Kmace20,

    While I cannot debug the code for you I can see that there are currently no Print statements in the code you provided. A starting point at figuring this out would be to add print statements to trace how the logic you made works, that would highlight why its doing what it is in that use case.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    557 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X