OPEN-SOURCE SCRIPT

Trend Following Trigger

This is a basic trend following system that using 5, 13, 34 EMAs cross-overs as triggers.

The 5,13 EMA pair is tracking the short-term momentum, when 5 EMA crosses over 13 EMA up or down, the script will develop a bullish "fast pivot" point or "FP", which can be used as the first entry of a position.
The 13, 34 EMA pair is tracking the mid-term trend, when the 13 EMA crosses over 34 EMA up or down, the script will develop a bullish "slow pivot" point or "SP", which can be used as the second entry of a position.

And the exit would be when a bearish "Slow Pivot" is created.

Note that the basic assumption of trend following is that you should trade with the trend, not against the trend. Thus I added the 50, 60 MA pair, as well as 200, 220 MA pair for long-term trend reference, which is an idea that I learned from the Vegas Tunneling Trading System.

Example,

Demo of using "Trend Following Trigger" System
Moving Averagestrigger

开源脚本

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

想在图表上使用此脚本?

免责声明