OPEN-SOURCE SCRIPT
已更新 Trend Following MOMO

Ingredients
Daily chart
8ema & 21ema on a 78-minute chart
Trend Following v1 indicator for TradingView (optional)
Steps
Identify stocks that tend to move the same direction for one or more weeks at a time.
Find and locate stocks where the 8ema is crossing above (bullish) or below (bearish) the 21 ema on a 78-minute chart.
If the 8ema > 21ema, the indicator will show a GREEN shaded area , be bullish OR if the 21ema > 8ema, the indicator will show a RED shaded area, be bearish.
Buy to open with a “Limit buy” order if a green arrowis present at CLOSE of a 78-minute candle or sell to open with a “limit sell” or if a red arrowis present at CLOSE of a 78-minute candle.
Use either stocks or options. allocate the same $$ for each trade, continue in the trend (stay in the trade) until you 1) trend is changing. 2) ready to lock in profits.
Optional
The shift from bearish to bullish is the best scenario, consider Long only / short only / long and short.
Set alerts “Trend Reversal” inside the v1 trend following TradingView indicator and ONLY trade your alerts.
Premium indicator has built-in strategy tester.
Daily chart
8ema & 21ema on a 78-minute chart
Trend Following v1 indicator for TradingView (optional)
Steps
Identify stocks that tend to move the same direction for one or more weeks at a time.
Find and locate stocks where the 8ema is crossing above (bullish) or below (bearish) the 21 ema on a 78-minute chart.
If the 8ema > 21ema, the indicator will show a GREEN shaded area , be bullish OR if the 21ema > 8ema, the indicator will show a RED shaded area, be bearish.
Buy to open with a “Limit buy” order if a green arrowis present at CLOSE of a 78-minute candle or sell to open with a “limit sell” or if a red arrowis present at CLOSE of a 78-minute candle.
Use either stocks or options. allocate the same $$ for each trade, continue in the trend (stay in the trade) until you 1) trend is changing. 2) ready to lock in profits.
Optional
The shift from bearish to bullish is the best scenario, consider Long only / short only / long and short.
Set alerts “Trend Reversal” inside the v1 trend following TradingView indicator and ONLY trade your alerts.
Premium indicator has built-in strategy tester.
版本注释
Updated a few lines to allow 3rd party algos utilize the tv webhooks easier.版本注释
*fixed the issue with alerts warning about "repainting"*simplified the messaging
版本注释
UPDATE to fix the repainting warning that occurs intermittently开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。