OPEN-SOURCE SCRIPT
Levy Momentum Strategy v10.6 - RSL Factor Exit

this strategy is supposed to run on daily charts!
The RSL Strategy v10.6 is a momentum-following system that utilizes the Relative Strength Levy (RSL) indicator on a weekly timeframe to identify high-velocity trend breakouts. By comparing the current price to its 25-week Moving Average, the strategy isolates assets exhibiting strong relative momentum.
Key FeaturesDynamic Entry Logic: Uses a volatility-adjusted threshold (
SMA + Standard\ Deviation$) to ensure entries occur during periods of statistically significant strength.VIX Risk Filter: A built-in "Fear Limit" that prevents new entries when market volatility (VIX) exceeds a user-defined level (default: 22), protecting the capital during market-wide turbulence.Adjustable Exit Factor: A unique Exit Threshold Factor allows traders to fine-tune the exit sensitivity. Setting the factor below 1.0 gives the trade more "room to breathe," while a factor above 1.0 tightens the exit for faster profit-taking.Velocity Filter: Ensures momentum is accelerating by requiring a minimum rise in RSL over a 4-week lookback period before entering.Visual Monitoring: Includes an on-chart Weekly Review Table that tracks real-time RSL values against dynamic entry and exit levels.How it WorksEntry: Triggered when the Weekly RSL crosses above the dynamic threshold, provided the VIX is low and momentum velocity is positive.Exit: Triggered when the RSL drops below the adjusted "Exit Level," calculated as the dynamic threshold multiplied by your custom Factor.
The RSL Strategy v10.6 is a momentum-following system that utilizes the Relative Strength Levy (RSL) indicator on a weekly timeframe to identify high-velocity trend breakouts. By comparing the current price to its 25-week Moving Average, the strategy isolates assets exhibiting strong relative momentum.
Key FeaturesDynamic Entry Logic: Uses a volatility-adjusted threshold (
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.