Last Two Pivots Support and Resistance Lines

Last Two Pivots Support and Resistance Lines

This indicator draws support and resistance lines that are an extension of the last two swing highs and last two swing lows (or fractal points).

The pivot /fractals definition can be adjusted by changing the number of bars before and the number of bars after the high or low. So for example you can have a new pivot whenever a high has one candle lower either side of it or when it has two candles lower either side of it.

Whenever a new pivot point is formed a new support or resistance line starts to be drawn that lines up with the last two pivot points.

This indicator can be used to easily see if price is either bouncing off of the last two pivots support and resistance or if it is breaking out from that support or resistance.

Download and import the ITF file to get full functionality.

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?

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

  1. abhay • 87 days ago #

    I am getting a shading between the lines, how can I avoid that. I just want to see lines as shown in the pic in above post

  2. Vonasi • 87 days ago #

    Delete the ‘Color Zone’ in the indicator settings window.

avatar
Register or

Likes

avatar avatar
Related users ' posts
Vonasi Change line 76 to if opendayofweek opendayofweek[1] and opendayofweek 0 then if ...
Vonasi There has been a minor bug fix as lines were drawn incorrectly if both HH or both LL values ...
dario ti Excellent, i was looking for something like that, but could be great if you add the option t...
Vonasi There has been a minor bug fix as lines were drawn incorrectly if both HH or both LL values ...
Vinks_o_7 Thanks !
dario ti Thank you!
Vonasi Please note that there is a small bug in the indicator caused by a typo. Please delete 'and ...
vetrader Everything seems to work very well. But I would still recommend to pre-check everything if y...
Vonasi The typo on line 75 has now been corrected in this library post and a new v1.1 ITF file atta...
Makabro Hola Nicolas,tengo un problema cuando importo el .itf pone que esta instalado correctamente,...
Nicolas añadirlo al precio
TheDisciplinedTrader Much appreciated Nicolas! I have been looking for something to highlight reversal bars for q...
Matthew Darling Hi Nicolas, should this work on all software. Wont work on tradingviews pinescript
Nicolas No. The code delivered on our website is for ProRealTime trading platform: https://www.pror...
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...
Nicolas Bene, perché no, trovi che sia affidabile a lungo termine?
Billy Ray Valentine Non saprei, che ne dici di provare?
Steffen Schmauch hello Nicolas, can I change the indicator that I only get the time of 8-9 clock displayed? a...
rama This is one of best indicator to trade any time frame
Madrosat Is this indicator as it is , useful in strategy automatic
Nicolas Add the ZigZag indicator on the chart, and with the same percent setting as this indicator.
Kris75 Hello Nicolas, Il semble que la variable DaysBefore fasse planter la représentation graphiq...
Nicolas Peut-être à cause du manque d'historique. Celle-ci est utile pour limiter la quantité de ret...
Nicolas Please open a new topic if you need custom coding.
Rory Dryden I like the look of this. I shall try it tomorrow.
cervantes2 Buenas tardes,me gustaria saber si tiene un proscreener de este indicador ,que busque los va...
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...
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
1 year 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.
DaxRider Thank you Supertiti for your contribution best wishes
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
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...

Top