编辑精选
OPEN-SOURCE SCRIPT

Moving Average Entanglement

已更新
This script uses the gap in moving averages standardized to the average true range to determine entry and exit points.
The red line represents the current percentage of ATR that is deemed "The Dead Zone" - a move that is too small to be reliable.
The histogram represents the gap between moving averages. When the histogram is above the red line, it confirms a breakout move.
The dashed line an be used as a secondary filter and is a moving average of the histogram.
When Standard Deviation mode is on, a third line is displayed, which represents how many standard Deviations the current histogram bar represents, and can be also used as a filter.
版本注释
added option to color histogram based on bullish/bearish Gap of MAs
版本注释
Added Alerts
版本注释
bug fix for alert conditions to only fire on crossovers
版本注释
Added alerts when the histogram changes color (goes bullish from bearish or vice-versa) after two or more previous bars of the opposite color
版本注释
added price source as an input parameter
版本注释
Added alert conditions for Std Deviation/MA crossovers and crossunders
Average True Range (ATR)Moving Average Convergence / Divergence (MACD)Volatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Software Engineer and FX, Options, Crypto Trader. Previously worked at large options market maker. If you like my scripts and would like to donate:
Bitcoin: 179ETrGo3FCVcnBV8i1uc4J8YHFRknYytz
Eth: 0x73d59A8214FD70053aF37E9700692e25de441245

免责声明