I made this screener out of the indicator https://www.prorealcode.com/prorealtime-indicators/pivot-support-resistance-zones/ following a request on the forum.
Price levels of support/resistance are calculated with high/low pivot points:
At a price bar preceded by 4 higher lows and followed by 2 higher lows, a new support line is found. The same for a resistance line at a price bar with 4 lower Highs before and followed by 2 lower Highs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
// Pivot S&R screener // // Indicator at: https://www.prorealcode.com/prorealtime-indicators/pivot-support-resistance-zones/ // PivotBAR = 2 //2 bars AFTER pivot LookBack = 4 //4 bars BEFORE pivot BarLookBack = PivotBAR + 1 MySupport = 0 MyResistance = 0 IF low[PivotBAR] < lowest[LookBack](low)[BarLookBack] THEN IF low[PivotBAR] = lowest[BarLookBack](low) THEN MySupport = 1 ENDIF ENDIF IF high[PivotBAR] > highest[LookBack](high)[BarLookBack] THEN IF high[PivotBAR] = highest[BarLookBack](high) THEN MyResistance = 1 ENDIF ENDIF x = 0 IF MySupport = 1 THEN x = 1 ELSIF MyResistance = 1 THEN x = 2 ENDIF SCREENER[x](x AS "1=Sup,2=Res") |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Great Work Sir, Hats Off.
Hi Roberto,
It is possible to modify this indicator which it marks the supports and resistances with a line with a very high volume? Thank you so much!
What do you mean by “very high volume”?
What do you want to be printed exactly?