Double top and double bottom SCREENER

Double top and double bottom SCREENER

Hi all,

This is a screener that detect double top and double bottom.

A double top or a double bottom, are chartists figures that announce a reversal of trend. In general, a double top is created in the context of a downward trend and therefore marks its end and a return of the bullish movement while a double bottom,  is created in the context of a downward trend and therefore marks its end and a return of the bullish movement.

Base on my Leo Moving Average indicator, the following screener detects double bottom and double top.

I am looking forward to read your comments and improvements in the systems.

If you earn money with this methodology please share your luck with the people in the world who do not.

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. bolsatonimora2 • 352 days ago #

    many thanks Leo!!! Great!!

  2. Nicolas • 352 days ago #

    Great addition Leo, many thanks for your work on this project and for sharing the code with us! 😉

  3. Leo • 351 days ago #

    Thanks for your time invested here as well. I hope we all find a way to made a very profitable strategy out of it

  4. cantillon • 350 days ago #

    Thanks Leo, great piece of code !

  5. ali zidouri • 349 days ago #

    please help i dont know how to convert code to indicator

  6. ALE • 347 days ago #

    Thanks Very Much Leo, could you help us with an example of trading strategy using these signal?

  7. ALE • 347 days ago #

    the indicator is here:

  8. Sapo • 347 days ago #

    Merci beaucoup pour le partage à bientôt Leo.

  9. Leo • 346 days ago #

    Hi all,
    We are adding all our ideas and improvements here :

  10. djtaktik • 344 days ago #

    Nice Screener ! Is it possible to screen when a green or red arrow appears ? thks in advance.

    • Leo • 343 days ago #

      I do not focus so much in screeners. You can see our progress in the forum.

  11. ludo6977 • 344 days ago #

    it’s very good job léo

  12. Mick3y • 343 days ago #

    Is there a way to sort the results by price? Let’s say just return stocks under X price? Thanks

  13. rama • 137 days ago #

    I am using the this code to buy or sell in a program which is not working

  14. rama • 137 days ago #

    I am using

    if [Wpattern=1 and (exactness) then
    buy at market

    however system is not accepting the code for buy orders , what is the correct for buy?

Register or


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

+3 more likes

Related users ' posts
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
Nicolas Hi, please send it to contact[at] . Many thanks.
JohnScher @nicolas done, in this moment
JohnScher After a small error crept in, a correct itf.file has been uploaded.
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Pepsmile Good job, which could be applied for a spectrum of another indicators.
Pepsmile As to better understand which parameters are better for an indicators in a specific period (...
Leo Hi Luminario, b0 is a condition that the curve SMA1 is below SMA2. As long as this conditi...
nwesterhuijs Last statements for closure seem incorrect in my opinion: - "IF (Barindex-TRADEINDEX)>11...
Leo This is a 1 min strategy where the markets has been very oversell / overbought and this code...
Bard Hi Violet, Thanks so much for making this screener. Bulkowski's work is thorough. I though...
Gianco I tried it and gives good directions, although some short, on the daily and 4 hours, I’m tes...
baaz Thanks for this simple code. How would you readjust it to only show reversals? Chesler ad...
Gianco Violet, congratulations, I checked your code in different time frames, and in many situation...
Leo Hi Rama, that's the issue with trading... where and when to trade. If you figure it out, ple...
century hi, i have to thank you for this great piece of code works like a charm and very useful
Leo Nice to know! ;)
4example excellent, thank you
jpctop Thanks for sharing! On the other hand can we remove the vertical gray lines?
jpctop Sorry I mean vertical red / green line
jpctop Found: just remove "T coloured(r,g,b) as "Top", Bo coloured(r,g,b) as "Bottom"... after return
Steven Bahia Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses ...
Nicolas Alerts can't be programmed, you have to set them yourself with the Alert tool of the platfor...
Steven Bahia just to add to this would there be a way to establish a entry price from the Oscillator
simonsanchezj How do you modify this for a 7-10 day period? Thanks
gabri I am not sure I understand what you mean?
Wilko This was a rather interesting idea that appears to work on a short timeframe. And also inter...
andreag76 Thank you Francesco78 !
juanj What happened after August 21?
BennieHofer Would love to get these. I tried to import them via .itf file but got a error message and it...
Gianco Buongiorno Ciccio , mi chiamo Gianluigi , sono di Biella , mi piacerebbe contattarLa per il ...
Ciccio Meglio che chiedi direttamente sul Forum (inglese, che è frequentato da più persone) Ho sol...
Maxime Leleux Nice screener but the 2 candelsticks around the doji should be long sticks (red and green). ...
supertiti Bonjour à tous , bonjour Nicolas Est-il possible d'avoir trois screeners qui sache différ...
Nicolas Je ne comprends pas, c'est bien le rôle de celui-ci
Nicolas EDIT: identifying pattern number in the ProScreener window:
Wilko This code is the work of a simple genius! Profitability lies in simplicity and repetition.
Nicolas Good joke. FYI, you'll find many identified recurring patterns there: G...
Yngve i added a MA as a filter, that improved the equity curve quit nice actually