OPEN-SOURCE SCRIPT

EMA Slope Cross Trend Follower Strategy

This strategy uses the cross of the slopes of two EMAs having different lengths to generate trend follower signals. By default, I use 130 and 400, which behave very well.

The conditions which make the strat enter the market are:
- Fast Slope > Slow Slope and price > EMA 200 : go Long
- Fast Slope < Slow Slope and price < EMA200 : go Short

The simple slopes cross in the opposite direction, closes the position.

The strategy performs best on Bitcoin and the most liquid and capitalized Altcoins, but works greatly on volatile assets as well, in particular if they often go trending.
Works best on 4h time frame.

There's also an optional Volatility filter, which opens the position only if the difference between the two slopes is more than a specific value, which can be set in the strategy inputs. The purpose is not opening positions if price is going sideways and the noise is way > than the signal.

Enjoy it!
Bitcoin (Cryptocurrency)CryptocurrencyMoving AveragesstrategytrendTrend Analysistrendfollower

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明