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.
版本注释
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
Moving AveragesTrend Analysis

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明