OPEN-SOURCE SCRIPT
已更新 TRADERXMOM 200EMA + VWAP

What it does
Plots trend-continuation signals on the 5-minute chart using VWAP and dual-timeframe 200 EMA confluence. "Signal Up"/"Signal Down" markers indicate a wick tap into a key level followed by a confirmed close back on the trend side — with built-in alert conditions for both directions.
How it works
Trend bias requires price to be above (or below) both session VWAP and a 200 EMA calculated from a 5-minute anchor timeframe. A separate 200 EMA calculated from a 1-minute anchor is tracked independently and used only as an additional tap level — it doesn't factor into trend bias, since testing showed treating it as a "level to react to" rather than a "level that defines trend" produced cleaner signal timing.
A signal fires when price wicks through VWAP, the 1m 200 EMA, or the 5m 200 EMA, and the candle closes back on the trend side — a confirmed reclaim rather than a simple touch. This filters out level-touches that don't actually hold.
Both 200 EMAs are calculated via request.security() with lookahead=barmerge.lookahead_off, so plotted values are non-repainting.
How to use it
Built for micro index futures (MNQ, MES) on the 5-minute chart. Optionally restrict signals to a single custom session window. Signal markers indicate confluence worth evaluating, not automatic trade entries — always apply your own risk management, and use the built-in alerts to monitor in real time rather than watching the chart continuously.
Plots trend-continuation signals on the 5-minute chart using VWAP and dual-timeframe 200 EMA confluence. "Signal Up"/"Signal Down" markers indicate a wick tap into a key level followed by a confirmed close back on the trend side — with built-in alert conditions for both directions.
How it works
Trend bias requires price to be above (or below) both session VWAP and a 200 EMA calculated from a 5-minute anchor timeframe. A separate 200 EMA calculated from a 1-minute anchor is tracked independently and used only as an additional tap level — it doesn't factor into trend bias, since testing showed treating it as a "level to react to" rather than a "level that defines trend" produced cleaner signal timing.
A signal fires when price wicks through VWAP, the 1m 200 EMA, or the 5m 200 EMA, and the candle closes back on the trend side — a confirmed reclaim rather than a simple touch. This filters out level-touches that don't actually hold.
Both 200 EMAs are calculated via request.security() with lookahead=barmerge.lookahead_off, so plotted values are non-repainting.
How to use it
Built for micro index futures (MNQ, MES) on the 5-minute chart. Optionally restrict signals to a single custom session window. Signal markers indicate confluence worth evaluating, not automatic trade entries — always apply your own risk management, and use the built-in alerts to monitor in real time rather than watching the chart continuously.
版本注释
Added session color background开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。