OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
Updated a few lines to allow 3rd party algos utilize the tv webhooks easier.Phát hành các Ghi chú
*fixed the issue with alerts warning about "repainting"*simplified the messaging
Phát hành các Ghi chú
UPDATE to fix the repainting warning that occurs intermittentlyMã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.