PROTECTED SOURCE SCRIPT
Actualizado

xGhozt Consecutive Candle Count

xGhozt Candle Count simply counts consecutive positive or negative candles, and allows you to get the live statistics of how many times this consecutive candle series occurred in the past, with the probabilities of the next candle to be a reversal, and the average past gains from that reversal. You can select the number of consecutive candles you're tracking, and select a start and end date. When your desired pattern is met by the indicator, it will indicate you on the chart if it's worth shorting or longing the next candle.
Notas de prensa
Added the possibility to set up alerts when your consecutive candles patterns are met. To do so, go into the indicator's settings, select your time frame, the consecutive number of candles you are tracking, your success rate, and the number this pattern occurred in the past. Once it's done, open the alerts box, and set up your alerts accordingly.

You will have 2 options:
- Green Candles Followed by Red = short next candle.
- Red Candles Followed by Green = long next candle
Notas de prensa
Typo in the indicator's name
Notas de prensa
Removed useless parts of the code.

Redesigned labels.

Tidied alerts. You can now add alerts according to:
- Minimum past occurrences,
- Minimum success rate,
- Minimum average gain per trade.
Notas de prensa
Edit code with alerts
Notas de prensa
Minor UI update regarding label box, it is now further away from the last candle.
Notas de prensa
Updated to Pine V5
Notas de prensa
Script tweaks: made info box lighter, UI improvements.

Pine v5

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.