OPEN-SOURCE SCRIPT
Multi-Factor Long Bias Tool

This indicator is designed to help identify higher‑probability long opportunities by combining trend, momentum, and participation into a single visual tool. It runs best on a 1‑hour chart and highlights periods when several bullish conditions align.
What the tool does
Measures short‑term trend and momentum with a fast MACD, looking for instances where MACD is above its signal line, above zero, and showing positive histogram.
How signals are shown
When MACD, RSI, volume, and optional short‑interest all agree, the chart background turns softly green to show a “long bias” environment.
A triangle‑up marker (“LONG”) appears below price when the long bias is active and the “Focus on Longs Only” option is enabled.
A separate panel can display MACD, its signal line, histogram, and RSI together, with a toggle to show or hide this pane to keep charts clean.
Intended use
Helps discretionary traders quickly see when multiple conditions favor looking for long entries, rather than acting on a single indicator in isolation.
Works as a bias and timing aid; actual entries and exits are meant to be refined with your own levels, risk management, and higher‑timeframe context.
Parameters for MACD, RSI, volume threshold, and short‑interest are fully adjustable so the tool can be tuned to different markets, timeframes, and styles.
As always, none of this is investment or financial advice. Please do your own due diligence and research.
What the tool does
Measures short‑term trend and momentum with a fast MACD, looking for instances where MACD is above its signal line, above zero, and showing positive histogram.
- Uses RSI as an oscillator filter, favoring conditions that are neither oversold nor overbought, but in a healthy momentum zone.
- Confirms participation with a daily volume check, requiring current daily volume to be at or above a configurable multiple of its 20‑day average.
- Optionally incorporates short‑interest (via a manual input) so you can require a minimum short percentage when seeking squeeze‑style long setups.
How signals are shown
When MACD, RSI, volume, and optional short‑interest all agree, the chart background turns softly green to show a “long bias” environment.
A triangle‑up marker (“LONG”) appears below price when the long bias is active and the “Focus on Longs Only” option is enabled.
A separate panel can display MACD, its signal line, histogram, and RSI together, with a toggle to show or hide this pane to keep charts clean.
Intended use
Helps discretionary traders quickly see when multiple conditions favor looking for long entries, rather than acting on a single indicator in isolation.
Works as a bias and timing aid; actual entries and exits are meant to be refined with your own levels, risk management, and higher‑timeframe context.
Parameters for MACD, RSI, volume threshold, and short‑interest are fully adjustable so the tool can be tuned to different markets, timeframes, and styles.
As always, none of this is investment or financial advice. Please do your own due diligence and research.
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.
Follow me on Tradingview :)
Also ->
Reach out: linkedin.com/in/gamer456148
For Consulting: aiquant.co
HedgePocket Beta: hedgepocket.com
Sovereign Trades Beta Signup: sovereign-trades.com
Also ->
Reach out: linkedin.com/in/gamer456148
For Consulting: aiquant.co
HedgePocket Beta: hedgepocket.com
Sovereign Trades Beta Signup: sovereign-trades.com
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.
Follow me on Tradingview :)
Also ->
Reach out: linkedin.com/in/gamer456148
For Consulting: aiquant.co
HedgePocket Beta: hedgepocket.com
Sovereign Trades Beta Signup: sovereign-trades.com
Also ->
Reach out: linkedin.com/in/gamer456148
For Consulting: aiquant.co
HedgePocket Beta: hedgepocket.com
Sovereign Trades Beta Signup: sovereign-trades.com
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.