INVITE-ONLY SCRIPT
已更新 Multifactor trend analysis

1) Overview
◆ 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
6) 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
v1.2: Optimize the Bull algorithm
◆ 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
6) 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
v1.2: Optimize the Bull algorithm
版本注释
- Optimize the Bull algorithm版本注释
- Optimize the Bull algorithm版本注释
- Add E-Mail 版本注释
- Update transaction history版本注释
- Update transaction history版本注释
- Add Enable_Bull_Bear Visualization ( Default OFF ) Used for teaching and backtesting only; consequences are borne by the user.
增加 啟動趨勢視覺化回測模式(預設關閉) 僅教學回測使用後果自負
版本注释
- Add Enable_Backtesting Visualization Mode( Default OFF ) Used for teaching and backtesting only; consequences are borne by the user.
增加 啟動趨勢視覺化回測模式(預設關閉) 僅教學回測使用後果自負
版本注释
- Add sma short / long line版本注释
- Add disclaimer and warning text版本注释
- Change disclaimer and warning text size to tiny版本注释
- Add a disclaimer to the parameter settings版本注释
- !!!!! Very important! The products listed in this strategy report are for reference only (examples only). !!!!!非常重要,策略報告內的商品僅供參考(只是範例)
版本注释
- Add ma_short and ma_long Parameter settings版本注释
- Update backtesting data版本注释
- Update版本注释
- 1. Disable calc_on_order_fills and process_orders_on_close.2. Update Cooling mechanism changed from 3-stage cooling to 2-stage cooling.
版本注释
- Update Historical data simulation back-testing is 1 qty版本注释
- The qty used for historical data simulation back-testing was changed to 2.版本注释
- Add Release version版本注释
- Update the new bear algorithm.版本注释
- Rollback the new bear algorithm to original algorithm 版本注释
- 20260201R5 : Optimize tool parameters仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系kiwei580。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Welcome to join our Line discussion group 歡迎加入Line討論群組
https://line.me/ti/g/cuwgQfQqSH
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系kiwei580。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Welcome to join our Line discussion group 歡迎加入Line討論群組
https://line.me/ti/g/cuwgQfQqSH
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。