Candlestick pattern indicator 2.0

Candlestick pattern indicator 2.0

This indicator recognizes 56 candlestick patterns and draw their names with green and red arrows on chart:
•Evening star
•Morning star
•Shooting star
•Inverted hammer
•Bearish harami
•Bearish harami cross
•Bullish harami
•Bullish harami cross
•Descending Hawk
•Homing Pigeon
•Bearish engulfing
•Bullish engulfing
•Last engulfing bottom
•Last engulfing top
•Piercing line
•Hanging man
•Dark cloud cover
•Abandoned baby bottom
•Three White soldiers
•Three Inside Up
•Three Outside Up
•Concealing Baby Swallow
•Dragonfly Doji Bottom
•Gravestone Doji Bottom
•Three Stars in the South
•Bullish Breakaway
•Rising Three Methods
•Bullish Three Line Strike
•Bullish Mathold
•Abandoned Baby Top
•Three Black Crows
•Three Inside Down
•Three Outside Down
•Upside Gap Two Crows
•Dragonfly Doji Top
•Gravestone Doji Top
•Advance Block
•Two Crows
•Bearish Breakaway
•Falling Three Methods
•Bearish Three Line Strike
•Bearish Mathold
•Windows (Gaps Up & Gaps Down)
•Bull Sash
•Bull Separating Line
•Bullish Counter Attack
•Bear Sash
•Bear Separating Line
•Bearish Counter Attack
•Tweezers Top
•Tweezers Bottom
•Bullish Kicker
•Bearish Kicker

Since Candlesticks have a meaning only if related to the underlying trend, at the beginning of the code there is also the possibility to change the method used to identify the “trend direction”
(0=No Trend check, 1=MACD, 2=SAR, 3=Directional Movement, 4=Moving Averages crossing [default], 5=Stochastic)

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. quibe56 • 06/03/2019 #

    bonjour ,
    à priori beaucoup de fautes de syntaxe !!!

    • Ciccio • 06/03/2019 #

      There are no syntax errors and the indicator works.
      Could you be more precise?

  2. nfulcher • 329 days ago #

    How do I make these appear on the Price Chart rather than on its own indicator chart? Thanks.

    • nfulcher • 329 days ago #

      Just found this on another post.

  3. Stallios • 325 days ago #

    It would be interesting if you can choose which candlestick patterns you want to display on the chart and which not.

  4. Sagal • 156 days ago #

    Just remove the ones you don’t want from the code…

  5. Sagal • 155 days ago #

    I would (and I had) reverse the direction of the arrow and the color of the arrow for: “last top or last bottom engulfing”. Most of time (more than 65%) they act more as a continuation than a reversal pattern. From a small sample on commodities, it is also my impression. But that’s me…

  6. Sagal • 154 days ago #

    Same for advance block (more often a continuation)

  7. avatar
    thebigdeal • 140 days ago #

    hello sagal i would like to work with you directly for me please, is it possible ?? I have a job for you
    1) improve you patern indicator
    2) when i put i in PRT i see a error code …

  8. eckaw • 120 days ago #

    Hi Cicco, thanks for this code – it’s great! I was wondering if there is a way to integrate a MTF trend filter, so that the indicator would only show bearish candles if the trend is bearish (for example with a Supertrend) on a higher timeframe. For example: bearish only signals on 15m TF when Supertrend is bearish on 1h TF.

    • Ciccio • 120 days ago #

      Unfortunately I am not such an expert.
      I use this “pattern indicator” only as a visual help…. nothing more.

  9. dougie80 • 40 days ago #

    Thanks for the code, very helpful, can anyone tell me how I can set an alert on the appearance of a candle stick alert? Thanks

  10. rmaxlomb • 32 days ago #
  11. Sanglier • 20 days ago #

    hello and thanks for the code.
    i dont understand what the “W” means on the graph ?

    • Ciccio • 10 days ago #

      It means “Window” that is a Gap

  12. SniZe • 8 days ago #

    first of all, thank you !
    Is this code available for an extern project ? if yes, in which language did you write it ?

    • Nicolas • 7 days ago #

      this code is only available here and in ProBuilder language to be used exclusively with ProRealTime.

  13. BeverlyRose75 • 2 hours ago #

    What a job! Thank you very much :))

Register or


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

+9 more likes

Related users ' posts
joguemon Buenas, he instalado el screener pero no me aparecen los números que indicas...tengo que mon...
enriquem Hola, No, los numeros no aparecen, Proscreener no permite rotular, Lo que devuelve el sc...
PeytoLake Hi Enriquem, How do I change the timeframe from 'Daily' to "5 min"? Thank you.
robertogozzi I suggest that you open a new topic in the ProScreener support forum. Thank you.
massimo.g. questo screener si può usare anche sul mercato Azinario ?
robertogozzi Click the spanner on the upper left corner of your chart, then add an indicator from the list..
Regan2020 Thank you Roberto. You have just changed my world! ha I have another question regarding t...
robertogozzi Comment out lines 394, 411, 408, 410, 419 and 421. This should do, but also try replacing li...
rama what is oohline
Vonasi From the indicator description above: 'The space between sessions can be either blank or hav...
denmar Awesome. Thank you.
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site ->
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
Jesper Great share!
rollem Thank you!
Michael1973 Great! This is exactly what I was looging for. However, it does not work. I get an error mes...
pableitor The timeframeminutes variable is an external variable to define the higher TF bars . If yo...
Bard Hi @Ale, I was wondering if you knew why, when I went to put the Kase Peak Oscillator into i...
ALE Hello Bard, because they are two different indicators
Bard Right, thanks Ale, I have taken your code and made a coloured Peak Osc (thanks again) but ...
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.
supertiti Hola Ale Can we have this same code from Nicolas's code in smoothed heikin Ashi? Sorry...
ALE Ok, We can discuss in the topic "3D Candlesticks TOPIC" Write me more details
JohnScher After a small error crept in, a correct itf.file has been uploaded.
dougie80 Great Indicator, Is there a way to use this as an alert ?
JohnScher I created the screener with some help here from PRT. It is surely somewhere in one of the fo...
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...