xGhozt

xGhozt Consecutive Candle Count

xGhozt Updated   
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.
Release Notes:
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
Release Notes:
Typo in the indicator's name
Release Notes:
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.
Release Notes:
Edit code with alerts
Release Notes:
Minor UI update regarding label box, it is now further away from the last candle.
Release Notes:
Updated to Pine V5

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?