OPEN-SOURCE SCRIPT
已更新 EMA Channel Cross

This indicator creates a channel from the EMA of the high and low. A signal is generated when a slow EMA crosses into the channel or a fast EMA crosses out of the channel.
"Maximum Fast Outside Length" requires the fast signal move from outside the channel across to the other outside of channel within this number of bars. I haven't found this too helpful.
"Minimum Slow Outside Length" requires the slow signal to be outside the channel for this number of bars. This should filter some choppiness.
A volume moving average filter is also available.
NOTE: this indicator "repaints". This means the signal may be generated in the middle of the bar, then go away before the bar closes. The alerts are issued the first time the cross occurs in the bar (also mid-bar). It is up to you to decide to act on the signal when it is issued or at the close of the bar.
Inspired by AmericanTrader on Baby Pips user forum:
forums.babypips.com/t/scalping-strategy-to-finish-the-year-strong/970430
"Maximum Fast Outside Length" requires the fast signal move from outside the channel across to the other outside of channel within this number of bars. I haven't found this too helpful.
"Minimum Slow Outside Length" requires the slow signal to be outside the channel for this number of bars. This should filter some choppiness.
A volume moving average filter is also available.
NOTE: this indicator "repaints". This means the signal may be generated in the middle of the bar, then go away before the bar closes. The alerts are issued the first time the cross occurs in the bar (also mid-bar). It is up to you to decide to act on the signal when it is issued or at the close of the bar.
Inspired by AmericanTrader on Baby Pips user forum:
forums.babypips.com/t/scalping-strategy-to-finish-the-year-strong/970430
版本注释
Added volume moving average filter.版本注释
Added alert function calls开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。