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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    49 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    69 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    36 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    96 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X