OPEN-SOURCE SCRIPT
已更新 DCA by Vuong Thai v2 %

verview of "DCA by Vuong Thai %" – Upgraded Version
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
Main Function:
This script automatically detects optimal DCA (Dollar-Cost Averaging) buy points and smart profit-taking zones based on a combination of technical signals: EMA, candlestick patterns, volume, RSI, and price distance from EMA.
It helps you optimize capital allocation using a structured averaging-down strategy and exit trades when a target price range is reached.
✅ Buy Logic (Buy Signal)
A buy signal is triggered when all of the following conditions are met:
Strong bullish candlestick: Green candle with a longer lower wick than upper wick
Price is below the EMA → indicating a downtrend
Volume is above the moving average (if volume filtering is enabled)
Price is at least a certain percentage below the EMA (e.g., ≥ 1%)
RSI is below 30 → indicating an oversold condition
No repeat buys unless price makes a new low → helps avoid premature entries
👉 When a buy signal appears:
A DCA Zone (buy region) is drawn on the chart
A label with the corresponding DCA percentage is displayed automatically (e.g., "DCA 5%", "DCA 10%")
發行說明
update開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。