Candlesticks patterns indicator

Candlesticks patterns indicator

This indicator is a complete candlesticks patterns recognizer indicator. It is a different one and more complete than the other you can find already in the library here.

This indicator recognizes about 40 candlestick patterns and draw their names with green and red arrows on chart (Windows, i.e. gaps, are drawn as “W”):

  • Doji
  • Evening star
  • Morning star
  • Shooting star
  • Hammer
  • Inverted hammer
  • Bearish harami
  • Bearish harami cross
  • Bullish harami
  • Bullish harami cross
  • Bearish engulfing
  • Bullish engulfing
  • 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)

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” (1=MACD, 2=SAR [default], 3=Directional Movement)

Original idea and discussions from this topic on forum:


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. baaz • 294 days ago #

    Thanks Ciccio! It works the way you suggested it.

  2. Aporio • 287 days ago #

    Qué bueno!!! felicidades.
    Es posible hacer screener de velas de suelo tipo hammer, envolventes bullish engulfing, además de doble suelo o una divergencia alcista?

  3. mcha • 232 days ago #

    Hi , very good
    Do you try to program Fry pan bottom pattern?
    Best regards

  4. klintistwood • 183 days ago #

    Hello Ciccio, thanks for the sharing. Which time unit would be best to use candles ? Day ? Hour ? Minute ?

  5. redz • 101 days ago #

    programme dont work with me

  6. BennieHofer • 46 days ago #

    Would love to get these. I tried to import them via .itf file but got a error message and it sent it to prorealtime.I was using quite a bit of RAM when doing the .itf import. the copy and paste didnt work. error message said , Drawtext is only used for indicator programming,{Probuilder}. any sugestions Thanks

Register or


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

+27 more likes

Related users ' posts
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...
Real Pro Thanks for sharing so much work. This goes in the indicator window, yes?
Real Pro It's ok, I imported the rtf as suggested now it works. What I'm seeing is this - in a sol...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
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...
ludo6977 it's very good job léo
Mick3y Is there a way to sort the results by price? Let's say just return stocks under X price? Thanks
Leo I do not focus so much in screeners. You can see our progress in the forum. Cheers
JohnScher Fine Work. I am currently working on divergences. I wanted to ask if there was already a b...
Nicolas There are many divergences indicators on the website already, please make a quick search wit...
JohnScher indicators i did fond, no problem, but a basic code to trade maybe RSI divergence didn´t fou...
Nicolas Add it on the price chart with the wrench at the left upper side of your chart.
rama how to read the this triangle? I have set up the indicator, little confusing when to buy whe...
Leo Hi Rama, that's the issue with trading... where and when to trade. If you figure it out, ple...
vishal I use mt4 This indecater work in mt4
Despair No, it won't work in MT4. This is for ProRealTime (like everything you find on this website).
simone thanks..i try and tell you
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
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?
bjoern With the same parameters? For me the results are negative
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
Sofitech What is the timeframe(s) you woul suggest to use for this method ?On Forex and/or on stock m...
Doctrading Hello, Higher timeframes are better. I suggest D1 or H4.Best regards,
Frytconcord hello nicolas. what is the difference between "pprofit" to "profit" thank you
Nicolas "pprofit" is the target profit in points, while "profit" is in price.
Frytconcord oh yes, i see. thank you very much
Francesco78  Sorry I must add that it looks great only if we start the backtesting from 2008. Im not fa...
Nicolas You can't upload images here, sorry. Hi, I dont understand, when I do the backtest I get only drawdown and a big loos? Have I mis...