OPEN-SOURCE SCRIPT
EMA Cross (with HTF Option)

Apply this indicator to your chart.
On any timeframe (especially 1m):
Make sure “Use fixed HTF for EMA 1 & 2?” = ON
Set HTF Resolution = "3"
EMA 1 (black) and EMA 2 (red) will now be the 3m 9 & 20 EMAs, even on the 1m chart.
EMA 3 & 4 stay as your normal local EMAs (50 & 200, or whatever you want).
On any timeframe (especially 1m):
Make sure “Use fixed HTF for EMA 1 & 2?” = ON
Set HTF Resolution = "3"
EMA 1 (black) and EMA 2 (red) will now be the 3m 9 & 20 EMAs, even on the 1m chart.
EMA 3 & 4 stay as your normal local EMAs (50 & 200, or whatever you want).
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.