Candlestick pattern indicator 2.0

v10.3
Candlestick pattern indicator 2.0

This indicator recognizes 56 candlestick patterns and draw their names with green and red arrows on chart:
•Doji
•Evening star
•Morning star
•Shooting star
•Hammer
•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?

PRC is also 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 • 06/03/2019 #

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

    • nfulcher • 06/03/2019 #

      Just found this on another post. https://www.prorealcode.com/wp-content/uploads/2017/10/add-indicator-on-price-prorealtime.jpg

  3. Stallios • 06/03/2019 #

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

    • Wolf • 06/03/2019 #

      I don’t know why the indicator does not work for me. It gives me an error about RETURN…

      Can someone help me please?

  4. Sagal • 06/03/2019 #

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

  5. Sagal • 06/03/2019 #

    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…
    http://thepatternsite.com/LastEngulfTop.html
    —–
    http://thepatternsite.com/LastEngulfBottom.html

  6. Sagal • 06/03/2019 #

    Same for advance block (more often a continuation)
    http://thepatternsite.com/AdvanceBlock.html

  7. avatar
    thebigdeal • 06/03/2019 #

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

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

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

  9. dougie80 • 06/03/2019 #

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

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

    • Ciccio • 06/03/2019 #

      It means “Window” that is a Gap

  12. SniZe • 06/03/2019 #

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

    • Nicolas • 06/03/2019 #

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

  13. BeverlyRose75 • 06/03/2019 #

    What a job! Thank you very much :))

  14. Ciccio • 06/03/2019 #

    @Nicolas
    Could you please fix the image that is not appearing on top of this thread?
    I cannot edit it.
    You have only to use the race-daily.png that is attached
    Thanks in advance

  15. Alexey Djafarov • 06/03/2019 #

    Great work! Thank you!
    For the complete “Three inside up” and “Three inside down” there should be a small change. The t+3 candle must close above the t+1 open for the Three inside up and vis versa for the opposite pattern.

    ThreeInsideUp=(body[2]0 and body>0 and BullishHarami[1] and close>close[1])
    ThreeInsideDown=(body[2]>0 and body[1]<0 and body<0 and bearishharami[1] and close<close[1])

    should be changed to:

    ThreeInsideUp=(body[2]0 and body>0 and BullishHarami[1] and close>close[1] and close>open[2])
    ThreeInsideDown=(body[2]>0 and body[1]<0 and body<0 and bearishharami[1] and close<close[1]and close<open[2])

  16. Ciccio • 06/03/2019 #

    I am asking again to some Mod/Nicolas if they can add at the beginning of this thread the “race-daily.png” image attached at the end of the code.
    It was there but for some unkown reasons it got deleted.
    I cannot do anything.

  17. Suzu Yuk • 06/03/2019 #

    Kindly explain what does “BearSash” mean, please?

    • Ciccio • 06/03/2019 #

      Have a look here
      https://issuu.com/yesakhtar/docs/quick_reference_candlestick

  18. sergibilbo • 06/03/2019 #

    Great job thanks!!!

  19. druby • 196 days ago #

    I was glancing through the code and noticed that the variable name, Middle’ has been used. In PRC V11 the ‘Anchor’ command was introduced, This command accepts a number of predefined parameter keywords, one of which is ‘Middle’. This is why the variable now highlights in green above. Therefore, running the code, on these newer versions will create a conflict, and error. Correcting can easily be done by,, replacing all instances of ‘Middle’ with a none conflicting variable name via the code editor, modify code.

avatar
Register or

Likes

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

+19 more likes

Related users ' posts
Iván
2 months ago
Iván Hola javier gracias! es importante realizar buenos backtest antes de lanzarse al mercado y ...
achel I have an error with "fillcolor" - How to solve this? / J'ai une erreur avec "fillcolor" - C...
Iván Hi! This is because you are not with V12. Just delete fillcolor
elcortijoverde Gracias Iván,...sigo tus videos en Youtube. Ya estoy con la V12 y se descarga, pero algo est...
elcortijoverde Bueno, ya aparecen las velas, pero ahora, cada fin de vela aparece un nuevo pronóstico y no ...
Roger Gracias por compartir, pero no tengo ninguna predicción. @Ivan @elcortijoverde ¿qué modifica...
ARNAUD20 J'ai, télécharger le logiciel : falling-and-rising-3-methods.itf : rien se passe sur le grap...
DeathMetal C'est un modèle assez rare, essayez-le sur un petit laps de temps, par exemple 5 minutes et ...
kats Bonjour, J'ai une question etes vous trader? Je m'explique , j'ai téléchargé tous les indi...
philippe59139 Bravo super travail
xpe74 top job ......
xpe74 Hello, cet indicateur a il fait l'objet d'une conversion en stratégie de trading ?? does thi...
Stefano1234 there is an error: Define the variable: prd, showBreak, showPattern, showPvts
romanelli4 molto interessante e grazie ma come faccio a trasformarlo in trading system? grazie per l...
oyinloyea Thanks for the indicator
Alai-n Cela fonctionne très bien !!! Super Merci
andreabarbuscia Ciao Nicolas, molto bello questo indicatore, l'ho apprezzato molto. Lo sto testando insieme...
Alai-n Je poste ici un lien afin de mieux appréhender le CVD-Cumulative Volume Delta : https://www....
Nicolas
3 years ago
ipbvba Quelqu'un a t il pu créer un screener pour cet indicateur, cela serait très utile. Merci bea...
Nicolas Je pense que le code ci-dessous doit fonctionner pour un screener: //PRC_Wick Pressure | i...
Nicolas la dernière ligne doit être: screener[signal>0 or signal<0](signal)
Paris On est bien d accord que l indicateur repeint ....
Nicolas naturellement si la bougie du timeframe supérieur n'est pas terminé
ThePenntChemist Does this show 5min time frame?
Vinks_o_7 Hi Bruno Could you tell me where I can find more info about Laguerre candlesick please ?
Vinks_o_7 oops sorry did not see that one had to untick the standard Price to see your candle...
Finning Hi JuanJ, just a question about the tollerance*pointsize. I know what it is/what it does (in...
JOKAMAURICE Hi I am looking to number bars in a chart to ease analysis. Any idea if a program has been d...
goldenfish67 Hi guys just copied the code but I keep getting an error message: "Line 15 one of the fo...
avatar
Anonymous This is very useful, look forward to testing it out. Thank you very much
IV Mcm Good job !
idunnomuch IS this working in the latest version of prorealtime? I get the indicator, but not over my c...
bernardmorel egalement apparait en dessous du graphique mais vide
bernardmorel Bonjour est t il possible de remettre en ligne the strat car il y a une indication qui d...

Top