TradingView
KioseffTrading
1 kwi 2022 03:43

Volume Filtered *All Candlestick Patterns* [KT]  

SPDR S&P 500 ETF TRUSTArca

Opis

Hello!

This script uses TradingView's *All Candlestick Patterns* indicator and includes a volume filter.

The frequency of each candlestick pattern is recorded in addition to the subsequent session's outcome - higher or lower close.



The requisite volume for the pattern is configurable; formations will not be distinguished when volume is less than the defined lower threshold.

For example, setting the volume threshold to 10% forces the script to identify candlestick patterns in which volume for the session (candle) is 10% greater than the volume moving average. All candlestick patterns with volume less than (1.10 * volume MA) are discounted.

The script counts the frequency of each pattern - the number of times the pattern occurred - in addition to the next candle's outcome.
Pertinent statistics are displayed in the table, which can be hidden.

I plan on working on the script quite a bit more; please comment a suggestion if you have one! What else should be included?

Informacje o Wersji

Capitalization Fixes

Informacje o Wersji



Added an option for the script to distinguish candlestick patterns that form near the outer Bollinger Bands. The x-session price performance following the patterns is tracked.

Setting the "Data Type" to "Frequency" calculates the raw number of candlestick patterns that have formed, in addition to the next candle close - whether higher or lower. Setting the "Data Type" to "Mean Reversions" calculates candlestick patterns that form near the outer Bollinger Bands. Bearish patterns must form when the high price of the candle, or the previous candle, extends above the upper band to be distinguished by the indicator. Bullish patterns must form when the low price of the candle, or the previous candle, extends below the lower band to be distinguished by the indicator.

The x-session performance is displayed in the table; a blue/red box is plotted where the performance calculation ceases.

For instance, if you configure the indicator to track the 5-session performance of an asset following a bullish/bearish candlestick pattern, a blue (bullish) or red (bearish) box will plot on the 5th session. This feature allows the user to see where the script performed calculations.

I plan to continue working on the script! Would like to add an option to remove patterns that have not formed from the table - greatly reducing the table's size!

Informacje o Wersji

Changed the default plot type

Informacje o Wersji

Added signature

Informacje o Wersji

Fixed small calculation error for Bullish Engulfing

Informacje o Wersji

Memory calculation compliant

Informacje o Wersji

Fixed size error
Komentarze
Trendoscope
Mate. Stop. I will run out of coins soon :D
KioseffTrading
@HeWhoMustNotBeNamed, Mr.V !!! Good to see ya!

These will be coming back to you shortly ! Thank you for the support as always!
rafaelbrown40
The indicator won't load unfortunately.
KioseffTrading
@rafaelbrown40, Hello rafaelbrown40!

This script of course worked at some point, I haven't checked it in a while so I'm not sure what went wrong. I will fix this shortly (:
zschonn
Why I ain't able to get this indicator. Could you help me please ?
KioseffTrading
@zschonn, Hello zschonn!

This script of course worked at some point, I haven't checked it in a while so I'm not sure what went wrong. I will fix this shortly (:
zschonn
@KioseffTrading, Hi there thanks for the response. I've even tride to put that on to pine editor but while addint to chart it says "Compile script code is too long: 65008. The limit is 65000. So I believe there is an error in the script. I believe you will look at this, I'm so eager to see this wonderful indicator. Stay blessed !!
KioseffTrading
@zschonn, No problem (:

There's a lot to be done to improve efficiency; I'll take a look at it soon (:
rafaelbrown40
@KioseffTrading, thank you mate! :)
Holidaya35
Great script! I am using it on US30USD -2H chart in the Freq mode. Only 9/20 bullish and 7/20 bearish patterns are profitable in the table. That is a great way to find out impactful patterns. It would be nice to hide the non-profitable patterns in future if possible.
Więcej