OPEN-SOURCE SCRIPT
已更新

EMA Channel Cross

1 048
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
版本注释
Added volume moving average filter.
版本注释
Added alert function calls

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。