OPEN-SOURCE SCRIPT

Volume Filtered *All Candlestick Patterns* [KT]

Atualizado
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.

https://www.tradingview.com/x/NQ38b5Xu/

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?
Notas de Lançamento
Capitalization Fixes
Notas de Lançamento
snapshot

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!
Notas de Lançamento
Changed the default plot type
Notas de Lançamento
Added signature
Notas de Lançamento
Fixed small calculation error for Bullish Engulfing
Notas de Lançamento
Memory calculation compliant
Notas de Lançamento
Fixed size error
Candlestick analysiscandlestickpatterncandlesticksignalsstatisticsvolumeanalysisVolume

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


•Access to Next-Gen Optimization Tools: kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
Também em:

Aviso legal