OPEN-SOURCE SCRIPT

Moving Average of Upper and Lower Wicks with optional smoothing

Updated
In the book, The New Technical Trader by Tushar Chande and Stanley Kroll there is a part that talks about candlestick analysis and how the wicks play a role on how the price will behave. When wick lengths increase then there could be uncertainty. Weakening of support and resistance levels can also be seen by the size of the candlestick wicks or shadows. Shoutouts to Mango2Juice from Tradingview and the The Academy of Forex for helping me out in making this and providing the moving averages function.

When combined with other indicators or strategies, I find that this increases their accuracy when used correctly. For those that believe in price action, this might be worth a try. The book has only a brief section on candlestick wicks but it is one of the most interesting ideas I found. The book likes to include a simple moving average in its indicators with a certain length to provide a smoothing type of effect or a sort of extra indicator for the other to be above to give off quicker signals at the cost of accuracy. For this indicator it acts as a smoothing type effect which I put in because it is hard to see the slope and direction of where the moving averages of the wicks are going. The type of moving averages to use and the correct lengths are questionable and are not explained well in the book. If anyone can figure out a good use for this or know better settings or tips, please let me know.
Release Notes
changed defaults to include smoothing and changed smoothing length default
Candlestick AnalysisCandlestick analysiscandlestickpatternprice-actionpriceactiontradingshadowsSupport and Resistancewicks

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer