Strategi Pine Script®
Indikator dan strategi
Quantum X StrategyQuantum X Strategy — Expanded Description
Quantum X Strategy is a carefully structured market-participation framework, designed to initiate trades only when strong directional alignment is detected across multiple independent market dimensions.
Unlike reactive or single-indicator systems, this strategy evaluates the overall market context to ensure participation only occurs under conditions that have a higher probability of meaningful directional movement.
Random or partial signals are ignored, with the system prioritizing structured, high-quality opportunities over frequency of trades.
Structural Design
The strategy’s decision-making process is based on a multi-dimensional analysis of price behavior:
Directional Alignment: The system monitors multiple market behaviors to determine whether they collectively indicate bullish or bearish intent.
Weighted Contribution: Each contributing factor is scored independently, and trades are considered only when the combined state reaches a meaningful threshold.
Quality Filtering: The model filters out low-quality setups, minimizing the chance of entering trades in ambiguous or volatile conditions without sufficient confirmation.
This design ensures that no single signal can trigger a trade independently, maintaining structural discipline and consistency in execution.
Trade Dynamics
Trade Activation: Trades are executed only when the internal alignment reaches a significant level of directional agreement. Sporadic or incomplete signals are ignored, ensuring that only setups with sufficient conviction are considered.
Trade Closure: Positions are closed when the internal momentum alignment deteriorates or when a reversal in trend bias is detected. This dynamic exit approach prevents unnecessary exposure during weak market conditions.
Market Inactivity: The system remains passive during periods of indecision, low volatility, or ambiguous market behavior. By staying inactive during such phases, the strategy reduces risk and avoids overtrading.
Backtesting Context
The strategy’s execution is restricted to post-2025 market data, ensuring that its performance reflects recent structural patterns and volatility behavior.
Older market regimes, which may not be representative of current conditions, are intentionally excluded from analysis.
This approach provides a realistic and relevant evaluation of the strategy’s effectiveness in today’s market environment.
Intended Use
Instrument: MIDCAPNIFTY
Timeframe: 15-Minute
Application: Suitable for intraday trading and short-term directional observation
Risk Management: Designed to be used in conjunction with independent position sizing, stop-loss, and capital allocation discipline
This system is most effective when traders maintain strict adherence to its entry and exit signals, avoiding discretionary overrides that could compromise the model’s integrity.
Intellectual Property Notice
The internal scoring methodology, alignment logic, and activation thresholds are intentionally abstracted to protect the originality and intellectual property of the strategy.
The design prevents direct replication while still allowing traders and moderators to understand the conceptual framework behind its decisions.
Disclaimer
This strategy is provided strictly for educational, research, and backtesting purposes only.
Market conditions evolve, and past performance does not guarantee future results.
Traders are responsible for forward-testing and applying their own capital, risk, and position-sizing controls before implementing any live trades.
🔹 Moderator-Friendly Expanded Summary
Instrument & Timeframe: MIDCAPNIFTY, 15-Minute
Start Date: January 2025 onward
Position Size: 1 lot / fixed quantity
Initial Capital: ₹100,000
Commission & Slippage: 0.01% commission, 2-point slippage
Trade Logic: Internal alignment model evaluating multiple independent market behaviors
Trade Activation: Trades executed only when internal directional consensus reaches a significant threshold
Trade Closure: Positions closed when alignment weakens or trend bias shifts
Market Inactivity: System remains inactive during ambiguous, low-information, or low-volatility periods
Risk Management: Users are encouraged to define stop-loss, capital allocation, and position-sizing according to personal risk tolerance
IP Justification: Internal scoring, alignment logic, and thresholds are abstracted to maintain strategy originality
Purpose: Strictly educational, research, and demonstration use only
Strategi Pine Script®
Stark Overnight Levelsovernight levels with asia high, asia low, midnight open, london high, london low
Strategi Pine Script®
Strategi Pine Script®
BiasFlow Long System🔹 Short summary
“BiasFlow Long System” is an invite-only, long-only strategy designed to participate in bullish trends using a combination of:
• a directional “bias” filter based on price behaviour over time, and
• candle-structure conditions that confirm short-term strength before entering,
plus a simple risk-management layer (stop loss and optional take profit).
The system is intentionally selective: it aims to enter only when a clear upward bias and a cluster of bullish price action align, and then to exit on opposite conditions or risk-based levels. It is NOT a holy grail and NOT financial advice.
────────────────────────
0. Legal / risk disclaimer
────────────────────────
• This script is invite-only and for EDUCATIONAL and RESEARCH purposes only.
• It is NOT financial advice and does NOT guarantee profits.
• Backtest results can differ significantly from live trading results.
• Markets change over time; past performance is NOT indicative of future results.
• You are fully responsible for your own trading decisions and risk.
Do not trade with money you cannot afford to lose. Always start with demo / paper trading and make sure you understand how the strategy behaves on your own market and timeframe before risking real capital.
────────────────────────
1. About default settings and risk (very important)
────────────────────────
The internal `strategy()` call uses:
• `initial_capital = 100`
→ This is only a simple example account size for testing.
• `default_qty_type = strategy.percent_of_equity`
• `default_qty_value = 100`
→ This means 100% of equity per trade in the default properties.
→ This is EXTREMELY AGGRESSIVE and should be treated purely as a STRESS TEST of the logic, **not** as a realistic way to trade.
To align with TradingView’s Strategy Results guidelines and more realistic risk management, you should:
1. Open **Strategy Settings → Properties**.
2. Change:
• Order size type → **Percent of equity** (if not already).
• Order size (percent) → e.g. **1–2%** per trade (or any small risk that fits your plan).
3. Check that **commission & slippage** are realistic for your broker and market.
• The script uses a 0.1% example commission and a small slippage value as a starting point, but you must adapt them to your conditions.
If you decide to run 100% of equity per trade, treat it only as a stress scenario for backtesting the behaviour of the system, **never** as a recommended risk profile for live trading.
────────────────────────
2. What this strategy tries to do (conceptual overview)
────────────────────────
BiasFlow Long System is a **long-only, bias-based trend participation strategy**.
Conceptually, it tries to:
1. Detect when the market has a **sustained upward directional bias** using an internal bias filter applied directly to price behaviour over time.
2. Wait for a **short-term cluster of bullish candles** in that favourable environment before entering a long position.
3. Use **risk-based exits** (stop loss and optional take profit) together with a bearish candle-structure condition to close trades when the upward bias fails or local conditions deteriorate.
In other words, it is not trying to catch every small fluctuation. Instead, it waits for the market to **lean upward** and then demands a clear, short-term confirmation from the candles before committing capital, exiting either on a controlled risk level or on a structured bearish pattern.
────────────────────────
3. Components and how they work together
────────────────────────
BiasFlow Long System consists of three main building blocks:
(1) Time / backtest window control
• You can select a continuous start/end date range.
• You can also use a **year-selector** (checkboxes per year) to include or exclude specific calendar years.
• This allows you to:
- test the strategy across long histories,
- compare behaviour in different regimes (e.g. 2018 vs 2021),
- avoid accidentally cherry-picking a tiny, overly-optimistic window.
(2) Bias engine
• Internally, the strategy computes a **directional bias** from price.
• It classifies the environment into broad states like “up”, “down” (and internally handles flat conditions).
• Long entries are only allowed when the bias engine deems the environment favourable (an “up” state).
• This prevents the strategy from buying blindly into obvious downtrends.
(3) Candle-structure and risk module
• Entry signals require a **cluster of bullish candles** that meet strict internal conditions.
- Exact rules are deliberately not disclosed, but the idea is to demand multiple aligned bullish bars to confirm local strength before entering.
• Exits can be triggered by:
- a **cluster of bearish candles** under suitable conditions, signalling local weakness, and/or
- the risk module (stop loss / take profit) if those levels are hit first.
These components are designed to work together so that the strategy only participates when:
• the broader environment supports longs (bias engine), and
• the immediate price action confirms that bullish pressure is actually present (candle structure),
while exits are handled in a rule-based way either by candle structure or by pre-defined risk thresholds.
────────────────────────
4. Entry & Exit logic (high level)
────────────────────────
At a high conceptual level:
A) Time filter
• Only bars inside your chosen backtest window (date range or selected years) are considered for entries and exits.
• This helps you analyse specific periods (e.g. only post-2020 data) without changing the code.
B) Entry (long-only)
A long trade is considered only when all of the following conceptual conditions are met:
1. The bar is inside the allowed backtest window.
2. The **bias engine** classifies the environment as favourable for longs (up-bias).
3. The most recent candles form a **bullish sequence** according to internal rules (e.g. price closing strongly vs. open on several consecutive bars).
If these conditions align, the strategy opens a **single long position** with the sizing defined in your Strategy Properties (for example 1–2% of equity per trade).
C) Risk-based exit
Once in a position, the strategy maintains a basic risk framework:
• **Stop Loss (SL)**:
- Defined as a percentage distance below the average entry price.
- Enabled by default in the Inputs, but you can adjust the percentage or disable it if you want to test raw logic.
• **Take Profit (TP)**:
- Also defined as a percentage distance above the average entry price.
- By default, the TP module is optional and configured as a very wide level so it does not interfere unless you intentionally enable and tune it.
- You should set a realistic TP (for example a multiple of your risk) if you want to use it.
The SL/TP orders are managed as OCO exits by TradingView, so if one is hit first, the other is cancelled automatically.
D) Candle-based exit
In addition to risk exits:
• The strategy watches for a **structured bearish sequence** of candles while the bias is still acceptable for exits.
• When that bearish structure appears, the strategy closes the open long position.
• This allows the system to respond to a change in short-term price behaviour even if the stop loss or take profit have not been reached yet.
────────────────────────
5. Recommended backtest configuration (to avoid misleading results)
────────────────────────
To keep your results in line with TradingView’s Strategy Results guidelines and avoid misleading curves:
1. **Initial capital**
- You can keep 100 as in the code or choose any other realistic account size.
2. **Order size (RISK PER TRADE)**
- Type: **Percent of equity**.
- Recommended: **1–2% per trade** as a starting point.
- Avoid using more than 5–10% risk per trade if you want something that could be sustainable in real trading.
3. **Commission & slippage**
- Commission: for example 0.1% if that approximates your broker’s fee.
- Slippage: a few ticks (e.g. 3) to represent real fills.
- Always adjust these to your instrument and broker conditions.
4. **Timeframe & markets**
- The system is designed to work on trending instruments (for example major crypto pairs or indices).
- Typical timeframes: 1D is reasonable starting points but you can try with 1H / 4H.
- On higher timeframes, trades will be rarer but may aim at larger swings.
5. **Avoid “caution warning” backtests**
- If TradingView shows warnings like “too few trades” or “insufficient data” in your chosen configuration, consider:
- expanding the backtest period,
- switching to a more liquid / volatile instrument, or
- changing timeframe to produce a more meaningful sample.
────────────────────────
5a. About low trade count and selective signals
────────────────────────
BiasFlow Long System is **not** a high-frequency scalping algorithm. It is deliberately selective:
• It is long-only.
• It requires a favourable bias environment AND a specific pattern of bullish candles before entering.
• On higher timeframes (e.g. Daily) or very strict filter settings, the strategy can produce a **relatively low number of trades** over many years of data.
TradingView often recommends having 100+ trades for stronger statistics. In this particular system:
• A lower trade count is a **conscious design choice**, reflecting the goal of focusing on a smaller set of higher-conviction long setups rather than constant trading.
• Because of this, backtest metrics (profit factor, win rate, etc.) should NOT be interpreted as statistically “proven” – they are just one sample of how this logic would have behaved on past data.
Always use caution when drawing conclusions from a small number of trades.
────────────────────────
6. How to use this strategy (step-by-step)
────────────────────────
1. **Add the script to your chart**
- Choose your instrument and timeframe (e.g. BTCUSDT 1D, or any trending symbol you want to study).
2. **Configure the backtest window**
- In the Inputs, set either:
- a specific Start Date (e.g. 2018-01-01), or
- use the year checkboxes to include/exclude calendar years.
- This allows you to test different regimes (pre-/post-halving, bull vs. bear, etc.).
3. **Adjust risk settings**
- Open Inputs → Risk Management:
- Choose whether to use the Stop Loss and/or Take Profit.
- Set realistic percentages for your market and volatility.
- Open Strategy Properties:
- Set order size to a realistic % of equity (e.g. 1–2%).
- Verify commission and slippage.
4. **Run the backtest**
- Inspect:
- Net Profit, Max Drawdown, Profit Factor
- Number of trades and average trade duration
- Equity curve shape (smooth vs. choppy).
5. **Experiment carefully**
- Try different symbols, timeframes, and risk settings.
- Observe how the system behaves in different market regimes and how sensitive it is to your parameter choices.
6. **Forward-test in demo**
- Before even considering live usage, run the system on a paper account and watch how signals appear in real time.
- Make sure the behaviour matches your expectations from the backtest.
────────────────────────
7. Originality and usefulness (why this is more than a mashup)
────────────────────────
BiasFlow Long System is not just a visual mashup of common indicators on a chart. It is a **coherent, bias-driven framework** with:
• A dedicated **time / regime control** (year and date filters) to study behaviour across multiple cycles.
• An internal **bias engine** that only allows trades when the market structure supports longs.
• A **candle-structure layer** that requires a sequence of aligned bullish or bearish bars, rather than isolated single-bar signals.
• A simple but practical **risk module** that integrates percentage-based SL/TP exits.
The core logic is intentionally abstracted and not publicly disclosed, but the conceptual design is:
• to combine directional bias,
• with short-term confirmation,
• under explicit risk-management constraints,
in a way that is testable, repeatable, and suitable as a base for further private research and improvement.
────────────────────────
8. Limitations and good practices
────────────────────────
• No strategy performs well in all markets and all conditions.
• This system is **long-only**, so in prolonged bear markets it may spend long periods out of the market or perform poorly.
• Performance is sensitive to:
- timeframe,
- instrument volatility,
- risk settings (SL/TP, position size).
Good practices:
• Test on multiple instruments and timeframes.
• Focus on drawdowns, stability, and robustness, not just on maximum profit.
• Avoid overfitting by constantly re-optimising parameters to your last backtest window.
• Treat this as a **framework and research tool**, not a plug-and-play money printer.
────────────────────────
9. Licensing and credits
────────────────────────
• Code and logic:
- “BiasFlow Long System” created by Jokiniemi Marcin Arcisz.
• This script is invite-only.
• If you reuse or extend ideas from this system, please do so in a way that respects TradingView’s House Rules and the author’s intent.
────────────────────────
10. Invite-only / vendor information
────────────────────────
• This strategy is distributed on an **invite-only** basis.
• There is **no guarantee of profit** and no claim that this strategy will outperform the market.
• The description focuses on the conceptual design and risk considerations so that TradingView users and moderators can understand what it tries to do and how to use it responsibly.
• Any access, subscription, or collaboration outside TradingView, if it exists, should always comply with TradingView’s Vendor Requirements and general House Rules.
────────────────────────
11. Example backtest settings used in screenshots
────────────────────────
To avoid confusion about how example results were produced, here is one concrete configuration you can use as a starting point:
• Symbol: BTCUSDT (or another major, liquid trending pair)
• Timeframe: 1D
• Backtest period: from 2018-01-01 to the most recent available data
• Initial capital: 100
• Order size type: Percent of equity
• Order size: 2% per trade
• Commission: 0.1%
• Slippage: 3 ticks
• Risk settings:
- Stop Loss enabled with a moderate % distance from entry
- Take Profit disabled or set to a realistic multiple of the risk
• Filters:
- Backtest window: multiple years selected
- Bias engine and candle-structure logic enabled (as they are part of the core system)
If you change any of these parameters (symbol, timeframe, risk per trade, commission, slippage, backtest window, etc.), your results will look different. Always adapt the configuration to your own risk tolerance, market, and trading style.
Strategi Pine Script®
Old Indicator Multi-Component Decision StrategyStrategy to test signals based on rsi and few other technicals
Strategi Pine Script®
Delta/Volume Bubble Strategy [Quant Z-Score] Maxxed VersionDelta/Volume Bubble Signals Maxxed Verison
This indicator combines advanced volume delta analysis with smart filtering to generate high-conviction intraday signals on futures like YM, ES, and NQ (5-minute charts perform particularly well in testing).
Special thanks to L&L Capital for the LNL Trend System, which provides the excellent dynamic chop detection and cloud visuals used here.
A very BIG thanks to tncylyv for the original volume delta bubble script — its Z-score normalization on extreme volume/delta is the foundation of the core detection logic.This entire system is now possible thanks to TradingView's addition of Volume Delta data in the Footprint chart, allowing accurate lower-timeframe delta aggregation without external feeds. Core Concept the indicator identifies extreme volume/delta spikes — moments when significant buying or selling pressure appears — and only signals when multiple confluence filters align. This results in lower-frequency, higher-quality trades that aim to capture institutional momentum while avoiding noise.
How It Works — Key Components Volume Delta Detection (The Heart of the System) Uses TradingView's built-in footprint delta (aggregated from lower TF, default 1-second bars).
Calculates absolute delta and applies a rolling Z-score (default lookback 60 bars) to normalize extremes across different volatility regimes and instruments.
Bubbles visualize spikes above threshold (default 1.7σ).
BUY/SELL signals require the same threshold plus additional filters.
Absorption Filter (Enabled by Default) Detects high volume/delta with minimal price movement ("effort vs result" failure = trapped traders).
Purple glow on bubbles + optional alert.
Signals are suppressed on absorption bars to avoid counter-trend traps.
Trend Filter (Nadaraya-Watson from jdehorty as default) Non-repainting kernel regression line for smooth, adaptive trend following.
Signals only fire when price is on the correct side of the trend line (above for longs, below for shorts). Can be disabled or switched to EMA/WMA/KAMA.
LNL Chop Filter (Tight Mode by Default) Dynamic ATR-based stop zones from L&L's system.
When stop levels appear on both sides of price = sideways/chop (no-go zone).
Signals completely suppressed during chop.
Usage Tips Best on intraday futures (YM 5-min has shown strong results in testing).
Defaults are tuned for balance: 1.7σ threshold, Tight LNL mode, absorption on.
Strategy version (separate script) adds LNL trailing stops for actual backtesting/exits.
Customize freely — try different LNL modes (Net for wider range), trend types, or Z-thresholds.
Also available the matching indicator by yours truly.
Important: Forward Test Thoroughly This indicator was refined on historical data, so there's always risk of over-fitting.
Always forward test on live or paper accounts for weeks/months before real capital: Validate across different market regimes (trending, ranging, high/low volatility).
Compare out-of-sample periods.
Adjust one parameter at a time and re-validate forward.
Markets change — what worked yesterday may need tweaking tomorrow.
Feel free to use, modify, and share. Good luck, and trade well! — Max
Strategi Pine Script®
Gold Scalper v6 2026e Gold Scalper v6 is a high-frequency trend-following system designed for the 1-minute gold (XAUUSD) chart. It uses a "confluence" approach, meaning it only enters a trade when four different technical conditions agree
Strategi Pine Script®
BZNESMAN - High Win Rate CCI + PSAR + MA Strategy (70%+ Target)High Win Rate CCI + PSAR + MA Strategy (70%+ Target)
Strategi Pine Script®
[torresbitmex] BB Trend ScalperStrategy Overview
The BB Trend Scalper is a high-performance scalping strategy designed to capture volatility while filtering market static. Utilizing Bollinger Bands breakout techniques combined with a proprietary Noise Filter algorithm, it significantly reduces false signals in sideways markets. Featuring a real-time Trailing Stop, it is engineered to maximize trend-following profits while maintaining strict risk protocols.
Key Features & Advantages
Advanced Noise Filtering: Instead of chasing every band breakout, the strategy uses a built-in Noise Filter to measure market momentum. It enters trades only when significant trend strength is detected, ensuring superior entry quality.
Intelligent Exit Management: Beyond standard TP and SL, the integrated Trailing Stop mechanism activates during profitable moves, allowing users to ride extended trends for maximum gain.
Integrated Performance Dashboard: Monitor your trading health in real-time with an on-chart dashboard displaying Position status, Profit Factor, Win Rate, and Monthly Returns.
Automation Ready (Webhooks): Fully compatible with major automated trading platforms like TVExtBot via pre-configured alert messages, enabling seamless 24/7 automated execution.
Visual Risk Management: The strategy dynamically plots Trailing Stop trigger levels and entry prices on the chart, providing clear visual transparency for every trade.
전략 개요
BB Trend Scalper는 변동성과 시장의 정교한 흐름을 동시에 추적하는 고성능 스캘핑 전략입니다. 볼린저 밴드(Bollinger Bands)의 변동성 돌파 기법을 기반으로 하며, 독자적인 Noise Filter(노이즈 필터) 알고리즘을 결합하여 횡보장에서 발생하는 가짜 돌파 신호를 획기적으로 차단합니다. 또한, 실시간 트레일링 스탑을 통해 수익을 끝까지 추적하고 리스크를 정밀하게 관리합니다.
주요 특징 및 장점
정교한 Noise Filter 탑재: 단순히 밴드를 돌파할 때 진입하지 않습니다. 내부적인 Noise Filter가 시장의 유효한 에너지를 측정하여, 실제 강력한 추세가 형성된 시점만을 선별해 진입함으로써 높은 승률을 유지합니다.
지능형 익절 및 손절 시스템: 고정 익절(TP)과 손절(SL)은 기본이며, 수익 구간 진입 시 활성화되는 Trailing Stop 기능을 통해 추세 폭발 시 이익을 극대화합니다.
통합 퍼포먼스 대시보드: 차트 위에서 실시간 포지션 정보, 수익지수(Profit Factor), 승률, 그리고 월별 수익률 통계를 한눈에 확인할 수 있는 전문 대시보드를 제공합니다.
자동매매 최적화 (Webhooks Ready): TVExtBot 등 주요 자동매매 봇과의 연동을 위한 전용 알림 메시지 기능이 내장되어 있어 24시간 자동화 운영이 가능합니다.
리스크 시각화 가이드: 트레일링 스탑 활성화 가격과 손절 라인을 차트에 실시간 도식화하여 사용자에게 명확한 매매 기준을 제시합니다.
Strategi Pine Script®
Simple RSI Strategy - Rule Based Higher Timeframe Trading
HOW IT WORKS
With the default settings, the strategy buys when RSI reaches 30 and closes when RSI reaches 40 .
That’s it.
A simple, rule-based mean reversion strategy designed for higher timeframes , where market noise is lower and trading becomes easier to manage.
Core logic:
Long when RSI moves into oversold territory
Exit when RSI mean-reverts upward
Optional short trades from overbought levels
One position at a time (no pyramiding)
No filters.
No discretion.
Just clear, testable rules.
MARKETS & TIMEFRAMES
This strategy is intended for:
Indices (Nasdaq, S&P 500, DAX, etc.)
Liquid futures and CFDs
Higher timeframes: 2H, 4H and Daily
The published example is Nasdaq (NDX) on the 2-hour timeframe .
Higher timeframes are strongly recommended.
HOW TO USE IT
Apply the strategy on a higher timeframe
Adjust RSI levels per market if needed
Use TradingView alerts to avoid constant screen-watching
Focus on execution, risk control, and consistency
This strategy is meant to be a building block , not a complete trading business on its own.
For long-term consistency, it works best when combined with other uncorrelated, rule-based systems.
IMPORTANT
This is not financial advice
All results are historical and not indicative of future performance
Always forward-test and apply proper risk management
For additional notes, setups and related systems, visit my TradingView profile page .
Strategi Pine Script®
Strategi Pine Script®
COSMOS :: Psyche | Alt StrategyAlternative strategy for GOLD (and any more pairs)
Based on COSMOS Psyche
Best TF - 1m-5m
Strategi Pine Script®
2H ReversalsThis is a combination of many reversal strategies rolled into one including but not limited to MACD crossover, RSI, Stochastic Oscillator, EMA crossover, Parabolic SR.... This indicator is best on the 2hour timeframe. It only trades in the direction of the daily timeframe trend bias.
Strategi Pine Script®
Gold Scalper v6 - PineConnectorThis strategy is an automated momentum-following scalper specifically designed for Gold (XAUUSD). It combines three popular technical indicators to ensure you are trading with the trend while catching a "surge" in price.
Because it uses PineConnector syntax, it is built to bridge the gap between TradingView's charts and your MetaTrader 4 or 5 (MT4/MT5) brokerage account.
Strategi Pine Script®
George QQQ 2H (Deploying)for qqq long in 2 hr timeframe
Backtesting in last 365
R%: 55%
Max DD: -10%
Strategi Pine Script®
George QQQ 2H Gold Standard for qqq only in 2h timeframe and it works as trend reversal strategy.
Backetesting for last 365 days
Yield: 65%
Max DD. -7%
Strategi Pine Script®
Fractal Flow & Volume - Institutional 4H SwingThis is a "smart money" trading system for 4-hour Bitcoin and Ethereum charts. It waits for three things to line up perfectly before trading:
Daily Trend - Only buy when the big picture is bullish (price above moving averages)
4H Momentum - Enter when momentum explodes upward after a pullback
Volume Confirmation - Smart money must be buying (volume diverges from price)
Plus special filters: Bitcoin stays above weekly average price, Ethereum stronger than Bitcoin. No trades in choppy markets.
Win condition: All 3 modules + 2 asset filters = high-probability swing trade.
Advanced Terms
Architecture: Three-Module Confluence Matrix
text
→ → → ASSET FILTER → ENTRY
Module A: Macro Context (Non-repainting request.security("1D"))
text
Long: close > EMA20 > EMA50 > EMA100 within 5-bar lookback
Short: close < EMA20 < EMA50 < EMA100 within 5-bar lookback
Flat: EMAs intertwined → IDLE
Choppiness Index < 60 blocks consolidation trades
Module B: Waddah Attar Explosion Trigger
text
BB(20,2) breaks KC(20,1.5) + MACD hist crossover(0) + hist rising
Captures volatility expansion post-pullback exhaustion, filtering fakeouts.
Module C: OBV Pivot Divergence (Array-based)
text
Bullish: Price LL ↔ OBV HL (last 2 pivots, 5L/5R)
Bearish: Price HH ↔ OBV LH (last 2 pivots, 5L/5R)
Dynamic pivot arrays track 5 most recent highs/lows for real-time divergence.
Asset-Specific Institutional Filters
BTC: Anchored Weekly VWAP Reclaim
text
long_condition ∧ close > weekly_vwap(rolling)
Eliminates 40% of mean-reversion traps.
ETH: Relative Strength Matrix
text
long_condition ∧ ETHBTC > EMA20(ETHBTC)
Filters BTC-driven "fake ETH pumps" that retrace.
Risk Architecture
text
Entry: Market order on signal bar close
Stop: 2.5 × ATR(14)
Position Size: 10% equity
Performance Characteristics
Timeframe: 4H (swing horizon 2-10 days)
Assets: BTCUSD/ETHUSD (Binance perpetuals)
Edge: Multi-timeframe confluence + volume divergence
Filters: 6 gates = extreme signal rarity = high accuracy
Drawdown Control: Choppiness + trend freshness + VWAP
Deployment
Copy Pine Script v6 code to TradingView Strategy Tester. Optimized for 2023-2026 crypto bull/bear cycles. Backtest shows reduced drawdowns vs. standalone indicators.
"The market pays for confluence, not hope."
Strategi Pine Script®
ABCD Harmonic Pattern Strategy (Bull + Bear) This script is a strategy implementation of the classic ABCD Harmonic Pattern, designed for market structure analysis, backtesting, and educational research.
The ABCD pattern is one of the foundational harmonic price patterns in technical analysis. Its Fibonacci ratio relationships were formalized and standardized within harmonic trading theory by Scott M. Carney, whose work helped define modern harmonic pattern rules.
This strategy is conceptually inspired by educational ABCD pattern logic shared by the TradingView author theEccentricTrader.
The code, structure, execution logic, filters, and risk management have been independently developed, reconstructed, and extended into a complete TradingView strategy.
What this strategy does
Detects bullish and bearish ABCD harmonic patterns based on price structure and Fibonacci ratios.
Reconstructs ABCD market structure logic for both directions instead of using a simple visual inversion.
Draws the ABCD legs, structure labels (A, B, C, D), and projection levels directly on the chart.
Generates long and short trade entries using confirmed ABCD structures.
Includes optional confluence filters, such as:
Higher-timeframe EMA trend filter
RSI strength filter
ATR volatility filter
Volume confirmation
Candle body confirmation
Minimum bounce distance from point D
Provides built-in risk management, including:
Configurable Stop Loss
Configurable Take Profit
Optional trailing stop
Designed for backtesting, parameter optimization, and analytical research.
Why this strategy is different
This script is not a simple indicator conversion nor a basic bullish/bearish mirror.
The ABCD pattern logic has been recreated at the structural level to better reflect how bullish and bearish market formations behave in real price action.
Key differences
Reconstructed bullish and bearish structures
Bullish and bearish ABCD patterns are independently defined using market structure logic, not just inverted visually.
Each direction has its own pivot relationships and validation rules to produce a more faithful representation of the ABCD pattern.
Structure-aware pattern validation
Pattern confirmation is based on price swings, structure continuity, and Fibonacci alignment, helping reduce distorted or forced patterns.
Strategy-based execution
Unlike indicator-only ABCD tools that only visualize patterns, this script uses strategy.entry and strategy.exit, enabling full backtesting and performance analysis.
Confluence-driven entries
Trade entries can require multiple confirmation layers beyond the pattern itself, helping reduce low-quality signals and overtrading.
Integrated risk management
Stop Loss, Take Profit, and optional trailing logic are applied consistently for both long and short positions.
Non-repainting design
Pattern detection and entries rely on confirmed bars (barstate.isconfirmed) and higher-timeframe data with lookahead_off, ensuring signals do not repaint historically.
Improved and controlled visualization
Pattern drawings, projections, and entry markers are managed with strict object limits to comply with TradingView performance and publishing requirements.
How to use
Add the strategy to a chart and select a symbol and timeframe.
Enable or disable filters under “Entry Filters (Confluence)”.
Configure Stop Loss, Take Profit, and trailing behavior under “TP/SL”.
Use pattern drawings and entry markers as visual and analytical confirmation, not as standalone trade signals.
Important notes
This script is provided for educational and research purposes only.
It does not provide financial or investment advice.
No profitability or performance is implied or guaranteed.
Past performance does not indicate future results.
Always test across multiple markets and timeframes and apply proper risk management.
Credits
ABCD Harmonic Pattern: Harmonic trading principles as formalized by Scott M. Carney.
Conceptual inspiration: Educational ABCD pattern logic shared by @theEccentricTrader on TradingView.
Pattern reconstruction, strategy logic, and risk management: Independent development.
Strategi Pine Script®
Strategi Pine Script®
SMC Pro Max Ultra [ by josh]This indicator is a comprehensive hybrid trading system and market-structure assistant designed for **EDUCATIONAL PURPOSES ONLY**. It synergizes advanced Smart Money Concepts (SMC) with quantitative algorithmic filtering (Hybrid Logic) to help traders visualize market context, filter out noise, and identify high-probability areas of interest.
**What it shows**
* **Advanced Market Structure:** Visualizes dual-layer structure mapping (Swing vs. Internal) with automated labeling for BOS (Break of Structure), CHoCH (Change of Character), and MSS (Market Structure Shift), including Strong/Weak High & Low identification.
* **Smart Zones & Logic:** Automatically plots Order Blocks (OB), Breaker Blocks, Fair Value Gaps (FVG), and Supply/Demand zones. Includes a "Mitigation Filter" to auto-hide zones that have already been tested to keep the chart clean.
* **Liquidity & Traps:** Highlights structural liquidity pools (EQH/EQL), detects real-time Liquidity Sweeps (Stop Hunts), and identifies potential Bull/Bear Trap zones.
* **"Sniper" Signal Models:** Features multiple signal engines ranging from Classic RSI reversals (Sni 1) and Trend Following (Sni 2) to the strict "Sniper Protocol" (Sni 3/4) for precision entries.
* **Algorithmic Confluence (The Brain):** A sophisticated rule-based scoring system that weights Higher Timeframe (HTF) alignment, ADX Momentum, Volume Spikes, and Fibonacci "Golden Pocket" confluence.
* **Safety Protocols:** Includes a "Chop Filter" (based on Choppiness Index) to detect low-quality sideways markets and suppress signals during dangerous conditions.
* **Risk Management:** Visualizes simulated Entry, Stop Loss, and Take Profit lines based on customizable Risk:Reward ratios or structural invalidation points.
**About “AI” / Scoring**
The "AI" features in this script refer to **Algorithmic Intelligence**—a complex set of hard-coded conditional logic designed to process multiple data points simultaneously. It is **NOT** Machine Learning and does **NOT** predict the future. The "AI Score" displayed on the dashboard is a statistical evaluation of the current market conditions (Trend + Momentum + Volatility) to serve as a confirmation filter only.
**Important Disclaimer**
This indicator does **NOT** provide financial advice and does **NOT** guarantee profits. Trading involves significant risk, and you can lose money. Any signals, backtest simulations, or dashboard statistics are strictly informational and for research purposes only. Past performance shown in the simulation is not indicative of future results. Always perform your own analysis and manage risk responsibly.
**Recommended Use**
Use it as a systematic decision-support tool:
1. **Identify Context:** Use the structure mapping to determine the dominant trend bias.
2. **Wait for Zone Interaction:** Allow price to retrace into High-Probability zones (OB/FVG).
3. **Check the "Score":** Use the Dashboard to ensure the Market is not "Choppy" and the Confluence Score is high.
4. **Confirm Entry:** Execute only when a specific signal (e.g., Sniper 3 or Engulfing Pattern) aligns with your analysis.
**Automation Note**
This script includes alert functionality compatible with third-party bridges. However, if you choose to connect alerts to an external system for automated execution, you do so entirely at your own risk and responsibility. This script is primarily designed as a visual technical indicator, not a "set-and-forget" trading bot.
Strategi Pine Script®
BullCycle AllocatorBullCycle Allocator is a bull-only trend allocation strategy designed to capture early bullish cycles using momentum-based entries and structured risk management.
The strategy enters long positions when Elephant Bars (EB) signal strong demand and manages the trade through the Supertrend, which defines the active bullish cycle and protects gains as the trend develops.
Risk is fixed per trade using MLPT (Maximum Loss Per Trade), while position size adapts automatically to volatility.
All exits are close-based only, avoiding intrabar noise.
BullCycle Allocator is not a scalping system.
It is built to enter early, stay aligned with the cycle, and exit when the bullish structure breaks.
Strategi Pine Script®
BULL Whale Finder v1Bull Trend Rider is a bullish trend-following strategy optimized for the 1-hour timeframe, designed to capture sustained upside trends while keeping risk structurally controlled.
It was tested on long-term bullish assets such as BTC, TSLA, NVDA, AMD and AAPL, showing strong performance in trending market conditions.
What’s new
Higher High (HH) filter to improve entry quality and avoid late or weakening momentum.
Core logic
Trades only when price is above the 200 MA with a non-negative slope
Entries on high-momentum expansion bars (VS)
Close-based stops for execution stability
Supertrend acts as a trailing stop only when it improves risk
Risk management (MLPT)
MLPT defines a target risk per trade
Internal volatility buffer absorbs close-based execution effects
Realized loss may slightly exceed MLPT in fast markets
Focused on robustness and survivability over stop-precision
Adds (scaling in)
Risk-aware by design
Each add is capped by remaining risk
Adds reinforce strength, never chase price
Take Profit & Runner
Partial profits are taken on strength, not on arbitrary targets
The first TP helps reduce exposure and let the trade pay for itself
A runner is left to capture extended trends
The runner is managed using Supertrend, trailing only when it improves risk
No fixed upside cap: exits adapt to market structure and momentum
Strategi Pine Script®






















