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?

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

  1. abhay • 01/17/2019 #

    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 • 01/17/2019 #

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

avatar
Register or

Likes

avatar avatar avatar
Related users ' posts
Guibourse Hi, I'd like to increase the thickness of support and resistance lines. I do not think that ...
JJ Tec Hello. Thanks for the great contribution of the indicator. At the moment, I have modified i...
Khaled Hi Vonasi, I tried to embed your PP Fractals code in a Strategy and it seems to be a good fi...
fazel53 How do i attach this indicator to my mt5 platform?
Nicolas You can't! All indicators here are for ProRealTime trading platform: https://www.prorealtime...
Noobywan (My apologies for unformatted code, the formatting only works in forum or library posts not ...
Noobywan Hi FXTT, no problem for requests (as long as no one requests me singing), just usually it’s ...
JC_Bywan Bug fix at line 38, should be: if changebarre or (opentime[1]=start) then (same as in ...
mistersylv What parameter should we change to make another channel appear in the higher or lower time u...
Nicolas Avec l'assistant de création pour les screeners c'est possible, le code est compatible.
maxlys Merci Nicolas, avec l'assistant cela donne le code ci dessous. Est-ce correct ? De plus est-...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
Rory Dryden Thank you. Experimenting with it now.
Wolf Hi Vonasi. Thank for this indicator. I like this calculate concept. I think that line 16 thi...
Vonasi Well spotted! It is just a safety check to ensure that no value below 1 can be used otherwis...
Vonasi You can find the minor bug fix and new ITF file here: https://www.prorealcode.com/topic/eve...
Reddington Hi Vonasi! Really nice work, is it possible to re-create this to work in 10.3? Best regards ...
Vonasi Thanks for the compliments. No this is not easily possible in v10.3 because it uses arrays w...
Maxime Csls Bonjour Vonasi, Bravo pour ton travail ! Est-il possible de créer un screener quand le prix ...
amitoverseas40 Hi Vonasi, I find this indicator very useful. May I request , if you can, to please modify a...
Nicolas Please open a new topic in the ProScreener section, someone will code this request quickly.
Bhanu Pratap Great Work Sir, Hats Off.
bolsatonimora2 Hi Roberto, It is possible to modify this indicator which it marks the supports and resist...
robertogozzi What do you mean by "very high volume"? What do you want to be printed exactly?
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
Vonasi Yes that was the issue. I have posted an updated ITF file here: https://www.prorealcode.com/...
crolakstrading @vonasi Thank you for fixing the issue! This is a great indicator.
gregoire good evening vonasi , I had made the request to create this indicator a few years ago and I ...
Giogio hello dear Vonasi, thank you for your indicator, can I ask you for some help in order to let...
Pottar24 HI Vonasi I would like to know how can this algorithm give me the value of the last max e mi...
parthapersonal Hello Vonasi, Great work. Is it possible to replicate this to get values of "Price Line" (1...
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...
Vonasi That should be possible - I'll add it to my list to work on!
thierrybl Thanks a lot
B-ling1 Hi Vonasi, I love this indicator - good job! Just one question: If I want the monthly OHLC L...
Nicolas
3 years ago
sophia_etoille83 Merci beaucoup Nicolas, En effet l'ajout du close affiche le même graph, je parlais d'af...
Nicolas Non tu ne parlais pas de cela ?! Il fallait afficher l'indicateur sous le graphe principal e...
sophia_etoille83 Ok Nicolas je vais le poster. Je me suis mal exprimée alors. Je refais un post. Merci Bel...
MrMagic Thanks. On point. :-)
Marie Chidais Modifs: ajout du prix A faire tourner en 1 heure 50 unités dans tout petite fenêtre. Alor...
datageek How do I change the thickness of the line or change it too dashed lines? Kind regards
nectouxg thank you Nicolas of your speed of response, I tried but, I have to fix something badly, bec...
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...

Top