OPEN-SOURCE SCRIPT
Green Dot with Lower BB Touch

This code is based on Dr. Wish's Green Dot indicator and all credits should go to him for this indicator. I have adapted the code described by Dr. Wish in his various blog posts and webinars.
This indicator involves Stochastics and Bollinger Band indicators to provide an indication when a technically sound stock is potentially oversold and reading to resume its uptrend. This is best used in Stage 2 (Weinstein) stocks viewed on a daily chart.
The green dot appears when the fast stochastic recently crosses over the slow stochastic at the oversold (OS) threshold.
The default values for this Stochastic are 10,4,4 with an oversold (OS) threshold of 50. You can add the built-in Stochastic indicator to check this out and have a better visual as to why this works.
An added enhancement is using Bollinger Bands, specifically when the price has crossed the lower band in the past 3 days. The also plays into the themes of stocks that are following an uptrend.
The default values for the Bollinger Band portion of the indicator is a length of 15 with a standard deviation of using the stock's closing price.
I have compared this indicator with the many examples from Dr. Wish's blog and feel free to do the same to make sure it is in agreement.
I welcome your feedback and any enhancements you may suggest.
This indicator involves Stochastics and Bollinger Band indicators to provide an indication when a technically sound stock is potentially oversold and reading to resume its uptrend. This is best used in Stage 2 (Weinstein) stocks viewed on a daily chart.
The green dot appears when the fast stochastic recently crosses over the slow stochastic at the oversold (OS) threshold.
The default values for this Stochastic are 10,4,4 with an oversold (OS) threshold of 50. You can add the built-in Stochastic indicator to check this out and have a better visual as to why this works.
An added enhancement is using Bollinger Bands, specifically when the price has crossed the lower band in the past 3 days. The also plays into the themes of stocks that are following an uptrend.
The default values for the Bollinger Band portion of the indicator is a length of 15 with a standard deviation of using the stock's closing price.
I have compared this indicator with the many examples from Dr. Wish's blog and feel free to do the same to make sure it is in agreement.
I welcome your feedback and any enhancements you may suggest.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.