Multifactor trend analysis

◆ A 30-minute technical-analysis framework combining:
◆ Higher-timeframe trend structure
◆ SMA-spread chop-risk filter
◆ Linear-regression slope classification
◆ 30-min breakout-style triggers
◆ Multi-indicator consensus layer
(MACD, RSI, Stoch, Ichimoku, CCI, PSAR, Williams %R, Heikin-Ashi, Force Index)
◆ Adaptive sizing & loss-pause module
◆ Two separate downward-signal branches with different logic and time-weighting
2) Core Components
Higher-Timeframe Structure
◆Up-bias: close > long-MA AND short-MA > long-MA
◆Down-bias: close < short-MA AND short-MA < long-MA
Chop-Risk Filter
◆Require MA-spread > threshold to avoid sideways noise.
Trend Slope
◆Linear-regression slope divided into strength categories.
Trigger (30-min)
◆Upward: high breaks above prior short-MA
◆Downward: low breaks below prior long-MA
◆Both include bar-state confirmation.
Consensus Score
◆Multiple indicators → +1 / -1 / 0 → combined score guiding downward logic.
Weekly Adjustments
◆Certain thresholds adapt at weekly cycle boundaries.
3) Conditions & Sizing
Upward Activation
Needs:
◆ HTF up-bias
◆Chop-filter pass
◆Upward breakout relative to prior MA
Adaptive Sizing
Based on:
◆Recent negative streaks
◆Slope category
◆User-defined limits
Downward Logic
Branch A
◆HTF down-bias
◆Down-MA breakout
◆Slope-acceleration requirement
◆Size increases with setup strength
Branch B
◆Close below SMA-deviation threshold
◆Down-bias consensus score > limit
◆Regression slope below requirement
◆Weekly thresholds
◆Time-window weighting
Interval Control
◆Must exceed minimum bar spacing.
Loss-Pause
◆After too many negative sequences → temporary cooldown.
4) Originality
◆ Dual-layer filtering: structure + chop
◆ Slope ranges instead of simple slope up/down
◆ Multi-indicator consensus
◆ Adaptive sizing + pause logic
◆ Designed for stable behavior in historical directional phases
5) Usage
◆ Default: 30-minute timeframe
◆ Not tied to any market/product
◆ Chop-filter reduces action in sideways periods
◆ Exits/trails adjustable
◆ Suitable only for study and research, not performance expectations
7) Disclaimer
- Educational only — no trading advice
◆ No recommendations, no predictions
◆ Past data ≠ future results
◆ Not responsible for outcomes
◆ No order execution
◆ Markets can be high-risk
◆ Invite-Only access; no source code; no refunds
◆ User assumes all risks
✅ 教育用途/策略研究
✅ 不提供投資建議/不代操
✅ 不保證績效/過去不代表未來
✅ Invite‑Only 授權 10,000 TWD per month /不提供原始碼
✅ 數位授權啟用後不退款
✅ 使用者自行承擔交易風險
Release Notes
v1.0: Initial release
v1.1: Added cooling / drawdown-limit mechanism
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact kiwei580 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact kiwei580 directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.