Dynamic support and resistance intraday

Dynamic support and resistance intraday

Intraday supports and resistances plotted on your chart!  This indicator will fetch the whole intraday price values to find relevant support and resistance zones for you. “only” 10 support and resistances lines will be plotted.

These lines are reset each day to make them appearing once new support or resistance are found.

The 20 values (10 resistances and 10 supports) are returned and could be used with any automatic trading program


n = periods to find highest high and lowest low for new support / resistance comparing

tolerance = value in point to expand or narrow the old support / resistance value with the new found ones

lookback = period lookback to confirm support and resistance areas

showSupport = true or false

showResistance = true of false


Original code and idea from @Rorschack from this topic: https://www.prorealcode.com/topic/swing-lines-indicator/


original code and idea from @Rorschack in this topic:

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. tradingpro • 08/29/2017 #

    si vedono i puntini e basso
    come mai?

  2. Wing • 08/29/2017 #

    Looks excellent. Can’t wait to experiment with it!

  3. Toto le Heros • 08/29/2017 #

    Hi Nicolas,
    Thanks for this. Looks interresting.
    Unfortunately the display on my price graph is not readable. Looks like some S/R=0 so that the vertical scale starts from 0 (to 12 350 on DAX)… so that I cannot see anything…
    Any idea from where the issue might come ? (I tried with 25 units, 50 units, 1 000 units display… but the issue remains the same).
    Thanks again and in advance for your “support” 😉

  4. Nicolas • 08/29/2017 #

    Use vertical axis alignment only in indicators setting

  5. DonMasser • 08/29/2017 #

    Nicolas ( or anyone) would you know how to program a ‘WAIT’. In other words, in auto trading when this indicator above appears I want to wait until my DEMA has changed direction as well.
    Any idea how to write code to ‘wait’ for X or Y to happen before buying or selling. Appreciate in advance any help

  6. poldoposta • 08/29/2017 #

    Con time frame daily funzionerebbe correttamente? per multiday

  7. poldoposta • 08/29/2017 #

    con tf daily funzionerebbe per Mday???

    • Nicolas • 08/29/2017 #

      Questo indicatore è stato progettato solo per i dati intraday, ma potrebbe essere adattato ad altre unità di tempo maggiori o uguali a Giornaliero. Se necessario, si prega di creare un argomento nel forum per fare questa richiesta.

  8. MrCrous • 08/29/2017 #


    Dans le code ci dessus, je ne comprends pas ce que fait la ligne : linear = (resistance[1] + linear) / 2
    Ni celle de la condition : newlineass = (newlineas[i] + newlineas)/2
    Auriez vous quelques explications s’il vous plait ?


    Within the above code, what does the lines :
    -linear = (resistance[1] + linear) / 2
    – newlineass = (newlineas[i] + newlineas)/2

    Do, please?

    Thank you,

    • Nicolas • 08/29/2017 #

      J’ai déjà répondu à cette question quelque part sur le forum. Il faudrait chercher un topic sur le sujet de cet indicateur. Désolé je ne peux pas pour le moment

Register or


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

+14 more likes

Related users ' posts
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...
FernetTrader think i found a solution!
monochrome Thanks for the indicator. Very interesting!
monochrome Can you please share how you made it work? I cant seem to make it work in a strategy
mistersylv What parameter should we change to make another channel appear in the higher or lower time u...
Fabian Hi Thomas, thanks for your explanations. Which indicator do you use in the screenshot ...
Thomas Thats On Balance Volume and Bollinger or SMA or what you want. It shows me the volume flow. ...
bertrandpinoy @MAKSIDE I would be grateful if you send me your version. have a nice day
11 months ago
bertrandpinoy Hello Zigo can you turn into an automatic strategy?
eckaw Hey @Zigo thanks for this indicator. May I ask what the multiplier 1.682 is derived from? I ...
Zigo Hello, eckaw, its not so important I had meant 1.618 and not 1.682. It has nothing to do wit...
ESCapedTestSubject Interesting. Many thanks. What is the market open indicator that you use? Could you share ...
Lean Hi! I love your indicator, but from some days ago it doesn't work in pro real time, do you k...
oliverkeim Hi, also here not working. Only white lines.
Canis Majoris Hi , Helpful indicator ...
Maxime Csls Bonjour Vonasi, Bravo pour ton travail ! Est-il possible de créer un screener quand le prix ...
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
nicko Great work. Thank you. However I am having trouble getting it to print in the first bar. If ...
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?
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
rama what is the buy condition or sell condition for this can you suggest a code k1=1 buy and k1...
rama I would like to know at point 1 an alert or binary indicator so that I can place order
maxlys Bonjour Nicolas, merci pour ce code qui a l'air intéressant. Comment ajouter dans le code l'...
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...
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
2 years ago
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
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...