OPEN-SOURCE SCRIPT
已更新 [KK]Price Retest from EMA

Script show fractals on chart when price retest after breaking Exponential Moving Average.
發行說明
Previous version is based on fractals which are somewhat lagging because it take 4 candle to form. Current version just uses source data to define RetestDefault Setting:
(1)Uses Simple Moving Average(SMA) => You can calculate based on Exponential Moving Average(EMA) by Enabling it
(2)Moving average period = 20 period
(3)Shows only correct retest candle => You can enable All retests and EMA/SMA Breakout candle
Note: consider MA = EMA/SMA
Condition for Correct Retest:
(1)Previously MA Breakout
(2)No MA breakout between retest and considered MA breakout
(3) if MA breakout happens it will reset
Interpretation:
Current setting only show correct retest candle.
(1)Green Background = Correct Up Retest from MA
(2)Red Background = Correct Down Retest from MA
You can enable MA Break candle Background.
(1)Blue Background = MA UpBreak candle
(2)Orange Background = MA DownBreak candle
發行說明
Cleaner code with condition added to remove overlapping EMA and retest signal.開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。