Pivot Support/Resistance Zones

v10.3
Pivot Support/Resistance Zones

This indicator plots levels of support/resistance 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 and green line is starting. It starts at the lowest low and stops until the line is later crossed or when a new support is formed later.

The same for a red resistance line at a price bar with 4 lower Highs before and followed by 2 lower Highs.

The code has been made following a request in the ProBuilder forum.

 

 

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. rama • 12/07/2018 #

    This is one of best indicator to trade any time frame

  2. Madrosat • 12/07/2018 #

    Is this indicator as it is , useful in strategy automatic

  3. Vangotten • 12/07/2018 #

    Muy buen indicador

  4. s00071609 • 12/07/2018 #

    Hi Roberto
    I am trying to use this indicator but once i import the itf file. the indicator gets imported but when i apply it to chart – it does not plot to the price chart rather it takes the space under the chart like Oscillators.
    Could you please suggest what I am doing wrong.

    • robertogozzi • 12/07/2018 #

      Click the wrench on the upper left corner of your chart, then select PRIICE on the left and click ADD INDICATOR and then again select the indicator of your choice.

  5. s00071609 • 12/07/2018 #

    thanks now its working

  6. s00071609 • 12/07/2018 #

    How would it be possible to call the Last Support Price and the Resistance Price from strategy?

    • robertogozzi • 12/07/2018 #

      Replace RETURN with RETURN SupportPrice,ResistancePrice.
      When you CALL they will be returned in the same order you have written them next to RETURN, as you can easilysee from documentation and the many indicators and code snippets on these forums.

  7. s00071609 • 12/07/2018 #

    Great thank you

  8. Bard • 12/07/2018 #

    Thanks for this great indicator @Robertogozzi, I wondered if it was possible to make an exponential average band version? I tried to make 2 period EMA’s of the SupportPrice and ResistancePrice which almost works except for the bands lag behind the high resistance and low support areas. Cheers.

    • robertogozzi • 12/07/2018 #

      You can find it at https://www.prorealcode.com/topic/pivot-support-resistance-bands/.
      I hope it’s what you wanted.

    • Bard • 12/07/2018 #

      Yes, thanks, appreciated.

  9. mscharstrom • 12/07/2018 #

    Hi @robertogozzi,

    I really love this indicator. However, I’d like to tinker with it to fit my needs a bit better.
    I am new to ProRealCode (and ProRealTime) in general, hence I’m having some issues getting it to where I want.

    Please see this image:
    https://imgur.com/a/Lwk2nvS

    Would it be possible to alter the code so that it would draw rectangles as my image? Only on new highest high and lowest low. Potentially merging if two lines are “close” to each other. In the image attached, one example would be 1531 to 1527 (since 1531 and 1531 are so close to each other).

    I love drawing out resistance/support levels like this, but it would of course save me lots of time if it could be done automatically. Would appreciate your input greatly and if you could point me in any direction.

    In the best of worlds, I would later add so that it could draw boxes based on consolidation some patterns.

    Kindest regards

  10. Ahimsa • 12/07/2018 #

    Hi Roberto

    I cannot thank you enough for writing this code. It could help me more than you know.

    I have the same problem as another poster though in that I can’t add it to the chart. It comes up as an oscillator below the price chart. I don’t even appear to have a ‘wrench’ in the top left corner in order to sort this out.

    Best wishes Ahimsa

    • Nicolas • 12/07/2018 #

      With PRT v11, you have to click on “price” at the upper left side of the price chart.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+16 more likes

Related users ' posts
tobytarczy Hi Vonasi, Sounds lovely, I race yachts around europe myself. Most regattas cancelled unfor...
mlouys Hello Vonasi thank for your work ! A question how can we do it for minutes ( or 15 min or x ...
Vonasi I think that would be possible but probably in a whole new indicator as detecting when a new...
thierrybl Thanks a lot
B-ling1 Hi Vonasi, I love this indicator - good job! Just one question: If I want the monthly OHLC L...
ezman Copy and paste this code, don't work. error!
datageek How do I change the thickness of the line or change it too dashed lines? Kind regards
lkiklkik NE fonctionne pas ( ou plus ... )
Nicolas il faut modifier toutes les références à top par itop et bottom par ibottom. Ces mots étant ...
Nicolas change the lastline with: RETURN lastsig and check if lastsig change its value with the a...
nectouxg Hello Nicolas, I will try tonight when I get home, just one last question, I trade the DA...
FXtonio Bonjour, j'ai un problème avec le code, il me dit que ce n'est pas correct ligne 26-27-28: ...
Vonasi There is another version of this indicator that can plot the same lines but onto an indicato...
Martin35 Hello Vonasi, do you think it is possible with PRT to code with the same principle as on thi...
abhay I am getting a shading between the lines, how can I avoid that. I just want to see lines as ...
Vonasi Delete the 'Color Zone' in the indicator settings window.
mathiasKN Steffen Schmauch • 12/11/2018 # hello Nicolas, can I change the indicator that I only get t...
Nicolas Please open a new topic in the indicator forum and explain there your query, thank you.
upupandaway This seems like a very useful indicator. However, it does not seem to open properly in the c...
Nicolas Sure, I suggest you open a new topic in the forum to discuss about your ideas.
hdgm Bonjour Nicolas, est ce que l'on peut en faire une stratégie de trading automatisée ?
Nicolas Non, pas en utilisant l'indicateur zigzag traditionnel de la plateforme.
Bhanu Pratap Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward...
ISTJ_T Hi Nicolas Thanks a lot for the indicator. Trading off the TradingView and have issues wit...
Nicolas Just use ProRealTime and its powerful screener for stocks.
Gianluca ok i fixed it i hope is ok like this: //TAC trader zone 10.2 | indicator //01.01.2018 //R...
TAC Bolsa Hello try this new version or view the blog with the new indicators .. https://www.t...
TAC Bolsa Sorry, TAC Trader Zone V2 https://www.tiburonesdealetacorta.com/2018/11/indicador-tac-tr...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
Simba Greetings from germany! :) Can you told me your EXIT-strategy for this, please? :) Would ...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
Nicolas
7 years ago
Nicolas Merci, faire une demande dans le forum approprié.
Pere Thanks for this good indicator Nicolas. I would like to make the upper and lower limits mor...
Nicolas because fractals are known 2 bars later! that's why I used rectangle to plot them in the past.
cervantes2 Buenas tardes y gracias por este magnifico indicador. Queria saber si tienes un proscreener ...
cervantes2 Que busque los valores que la linea verde acaba de cruzar al alza o a la baja
AngelPujalt Tenéis algún screener de este indicador?
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
s00071609 I am using this indicator but it keep crashing as i change the timeframe. For example, chang...
Nicolas in the mean time you can try this one: https://www.prorealcode.com/prorealtime-indicators/ho...
Gianluca Is it possible to have an indicator where those value are as instogram ? and separated? in o...

Top