INVITE-ONLY SCRIPT

Candlestick Stats [tanayroy]

The script detects candlestick patterns and stats related to the pattern. We have included 44 candle patterns to select. You can get stats for any timeframe and holding period. If a particular pattern is not available, the script will give an error.
What is available.
You can view the composite stat in the table panel.
snapshot
Pattern Name: The pattern name
Pattern Type: Bullish(🟢)/ Bearish(🔴)/ Neutral(⚫)
Total Found: Number of time pattern appeared in the chart
Success: Number of time the pattern generated a positive return
Failure: Number of time the pattern generated a negative return
Highest Return: Highest return generated by the pattern (assuming trade taken at the open of the next candle and closed at the close price of the last candle of the holding period).
Lowest Return: Lowest return generated by the pattern
Average return: Average return generated by the pattern
Total Up Breakout: Number of time patterns take an up breakout(break above high).
Max Up Movement: Maximum up movement recorded by the pattern(distance between pattern high and highest high candle in given holding period).
Min up movement: Minimum up movement recorded by the pattern.
Average Up Movement: Average up movement recorded
Total Down Breakout: Number of time patterns take a down breakout(break below low).
Max Down Movement: Maximum down movement recorded by the pattern.
Min Down Movement: Minimum down movement recorded by the pattern.
Average Down Movement: Average down movement recorded
You can find the number of bars tested, start date and end date in the panel.

You can visually inspect the candle pattern performance in the chart.
snapshot
Available options:
Detect Trend: You can detect trends based on SMA 50, SMA 50/200 or No detection.
Stat bars: Holding period after detecting the pattern.
Panel position: Position the stat table as per your choice.
Select pattern: Select available predefined pattern.
Label color: choose color according to your choice.


candlepatternsCandlestick analysiscandlestickpatterncandlestickpatternformationstatistics

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact tanayroy for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

If you want access then please send me message with your request. Thank you!

Want to use this script on a chart?

Warning: please read before requesting access.

Disclaimer