TradingView
xGhozt
28 juil. 2021 17:15

xGhozt Consecutive Candle Count 

Bitcoin / TetherUSBinance

Description

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.

Notes de version

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

Notes de version

Typo in the indicator's name

Notes de version

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.

Notes de version

Edit code with alerts

Notes de version

Minor UI update regarding label box, it is now further away from the last candle.

Notes de version

Updated to Pine V5
Commentaires
Bepone
Thank you,...Thank you,...Thank you!
xGhozt
@Bepone, pleasure mate, enjoy!
Plus