Candlestick Probability

v10.3
Candlestick Probability

This indicator analyses candles in the past and then displays in a text format what has historically happened based on how the current candle is drawn.

It analyses every candle back to whatever start date you set and the win rate is calculated based on buying or selling at the open of the next candle and then selling at the close.

It analyses colour, highs and lows and every combination of them.

It returns short and long win rate results for:

  • Candle colour – a green or red body.
  • A higher high (HH) or lower high (LH) or higher low (HL) or lower low (LL) compared to the previous candle.
  • Candles with a HH, LH, HL or LL with either green or red body.
  • Candles with HH+HL, LH+LL, HH+LL or LH+HL.
  • Candles with HH+HL, LH+LL, HH+LL or LH+HL with either a green or red body.

It checks the current candle and then displays below it the following data based on which of the above candle conditions are met:

  • Market – the all time win rate if you bought at the open of every candle and sold at the close. It is shown as green if longs have been more successful and red if shorts have been more successful. This is our baseline probability to try to beat.
  • The long win rate and short win rate for each of the possible combinations that fit the candle drawn above.
  • The average long win rate and the average short win rate for all the results for the candle drawn above.
  • The difference between the average win rates. The higher number is the highest probable direction of the next candle based on what has happened historically.
  • The difference between the all time market win rate and the highest of the two long/short average win rates. A minus/red number indicates that the probability is not greater than the market norm and a higher/green number indicates that probability is greater than the market norm.

Obviously zoom in to see the indicator more clearly.

This indicator could be useful for checking on weekly and daily charts to get a feel for what might happen next but remember that what happened in the past may not necessarily repeat itself in the future! Also on indices where the trend is normally up the probability for short trades will always be low compared to long trades.

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. pableitor • 12/11/2018 #

    Very interesting indicator, it could be the basis of an AI system…no kidding.

  2. Juanjo • 12/11/2018 #

    Eres Grande¡¡¡…muchas Gracias.

  3. Juanjo • 12/11/2018 #

    Hola
    Me parece muy interesante lo que has hecho, yo estoy queria hacer una estadistica similar, pero tengo problemas con el código. ¿podrias ayudarme?

  4. Vonasi • 12/11/2018 #

    I can’t help in Spanish! Maybe it is better to start a topic in the forums with your questions.

  5. RGKP • 12/11/2018 #

    Hi Vonasi, great work! But what I do not understand is that the statistics change according to the number of bars you load. Would you have any explanation ? Thank you

  6. mr_delta • 12/11/2018 #

    Hi https://www.prorealcode.com/user/vonasi/ I am interested in in scanning for a similar setup where I want to find the HH & HL being formed for swing trading (not for individual candles). Similar for LH & LL for a down trend. Is there a readymade example I can have a look at? Thanks in advance – I am just learning so not sure if I am asking the right question 🙂

  7. Vonasi • 12/11/2018 #

    Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www.prorealcode.com/topic/candlestick-probability-indicator-minor-bug-fix/

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Victor.Strand Hi Pableitor, the code is just great; i was playing a lil bit with these factors, darwsegmen...
micky_red Hi, I have tried to use this indicator in version 12 and it doesn't work. Do you know how...
Victor.Strand Hey Micky, indicator works well, justpaste the code on the platform, or save it as an "itf" ...
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.
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...
Ravindra Khanna copied it to pro real time not working. what to do?
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...
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 (...
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
Bard Hi Violet, Thanks so much for making this screener. Bulkowski's work is thorough. I though...
Gregg Hi all, is there anyone who is using this pattern? It's been 3 days I'm trying it and I'm ...
Violet Hi Gregg, TP and SL? There are no variables by those names. The signal appears/disapp...
Marcus Quartus Aurius Thanks great job !
JohnScher indicators i did fond, no problem, but a basic code to trade maybe RSI divergence didn´t fou...
Daniel3987 Please how do I add the prc candle strength to my mt5 on an iPhone
Nicolas You can't, this indicator is made to be used with prorealtime trading platform.
777dks hi this doesnot seem to work on forex, any ideas? thanks.
4example excellent, thank you
avatar
Anonymous Sorry I mean vertical red / green line
avatar
Anonymous Found: just remove "T coloured(r,g,b) as "Top", Bo coloured(r,g,b) as "Bottom"... after return
darbes Hi I tried to use indicator in a strategy code. But backtesting is asking to define Signalb...
avatar
Anonymous Thanks for sharing! On the other hand can we remove the vertical gray lines?
ShaunG Appreciated! Thanks 100%
tonbijl good afternoon when i enter the code i get an error message Syntax error
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
IV Mcm Your indicator is interesting, I evaluated its relevance with the squeeze to detect the phas...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
avatar
bjoern With the same parameters? For me the results are negative
avatar
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...

Top