OPEN-SOURCE SCRIPT

EMA Power Ranking [wbburgin]

업데이트됨
This is one of my favorite indicators I've developed. It measures the strength of an uptrend or a downtrend and produces signals for when that trend is weakening.

From my time trading I have learned that moving averages are not good signals to determine trend changes, because they are lagging indicators. However, we can use a moving average system - and the rates of change of the moving averages and the widths between them - to determine when the trend is changing faster than we can using the moving averages themselves. This makes moving averages super useful because we are essentially predicting mean reversal. Then, if we do the same for multiple moving averages of multiple lengths, we can have a pretty accurate perspective of when the price trend is about to reverse.

You can choose which type of MA works best for you, despite the script name. I've found that inverse volatility is the most accurate, but all of my ELMA (elastic MA) signals are also less frequent.

Calculations
The script calculates whether the differences between five moving averages of different lengths are increasing or decreasing, and if the moving averages are positioned properly compared to each other.

When looking at two moving averages, if the width between the moving averages is increasing, and the faster moving average is above the slower moving average the trend is bullish, because the price is outpacing both MA's upwards.

Vice versa, if the width between the moving averages is increasing, and the faster moving average is below the slower moving average the trend is bearish, because the price is outpacing both MA's downwards.

It's deceptively simple. The indicator flags a reversal to the downside immediately after a bullish trend loses momentum, and a reversal to the upside immediately after a bearish trend loses momentum.

Quick note: This isn't a trade setup - I strongly advise that if you are to use this indicator with any strategy, you make sure that there is a stop loss and possibly stop sell as well. The indicator is great at predicting trend reversions, but also falls prey to continuations of both downtrends and uptrends. Best for use in oscillating markets.

Quick note 2: Forgot to mention the precision factor, which goes from 0 (default) to 2. Each step up uses an additional moving average for greater accuracy (i.e. when they are coordinated in a bullish trend, bearish trend, etc.).
릴리즈 노트
Changed the photo to reflect accuracy better.
movingavarageMoving AveragesTrend Analysistrendstrength

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


FAQ: I am gradually phasing out my Patreon because of the time it takes to maintain.

BTC: 35PdMMMXFCvPjXKwn8wsRFNwMEPgStaKUJ

Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09

면책사항