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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明