Elliott Wave Rule EngineWhat this tool does
The indicator scans price for two concurrent swing structures—a Small (shorter-degree) and a Large (higher-degree) set—then applies an Elliott/NeoWave rule engine to the most recent 5-swing motive (1-2-3-4-5) or 3-swing corrective (A-B-C). It produces:
Blue lines for Small swings and Orange lines for Large swings.
A rule dashboard (optional) showing PASS/FAIL/WARN for core rules & guidelines.
Buy/Sell labels when (a) a valid motive completes and (b) loop “consensus,” alignment, and scoring gates are satisfied.
Reading the chart
Small swings: thin blue segments, built from your Small settings.
Large swings: thicker orange segments, from your Large settings.
Background tint: faint green when a motive (impulse/diagonal) is valid right now on Small.
Labels (if enabled):
“1…5” or “A-B-C” markers on the latest detected structure.
Buy/Sell label at the last pivot when all gates pass; text may include a score %.
How it works
For both Small and Large degrees the script:
- Loops over all (left, right) combinations you specify (e.g., Small Left = 3..6, Right = 0..0) and calls ta.pivothigh/low.
- Aggregates the results:
- Keeps the most extreme pivot found in the loop (highest high or lowest low) that’s newer than the last accepted swing.
- Gates acceptance by minimum % change versus the last opposite swing (inside the loop) and a post-aggregation filter (Small Minimum swing %, Large Minimum swing %).
- Merges back-to-back same-type swings (HH or LL) by keeping only the more extreme one.
- Keeps only the last N=lookbackWaves swings (default 100).
- Consensus (used for signals) comes from the loop counts:
- sBuyConsensus = small L-count / total-combos (bullish bias)
- sSellConsensus = small H-count / total-combos (bearish bias)
(and the same for Large). This is a data-driven “how many combos agreed” measure.
2) Rule engine (Impulse/Diagonal vs. Corrective)
When there are at least 6 Small swings, the engine tests 1-2-3-4-5:
Hard rules (must pass for an Impulse):
- Wave-2 not > 100% of Wave-1 (no retrace beyond start of W1).
- Wave-3 not the shortest among 1,3,5.
- Wave-4 doesn’t overlap Wave-1 (if it does, structure may be a Diagonal).
- Diagonal eligibility: Rules 1 & 2 pass but Rule 3 fails ⇒ eligible as a Diagonal (
Guidelines (7 checks, count toward a threshold you set):
- W2 retraces a Fib level (within ±fibTol).
- W4 retraces a Fib level (within ±fibTol).
- W3 strongest momentum (speed = |Δprice| / bars).
- Alternation: W2 vs W4 have meaningfully different “sharpness” (price per bar), threshold altSlopeThr.
- Proportion (Price): |W1| and |W3| within propTolP× each other.
- Proportion (Time): W1W3 and W2W4 durations within propTolT×.
- W5 weaker than W3 (momentum divergence proxy).
A Motive is valid if:
- Impulse: all 3 hard rules pass and guideline passes ≥ Min guideline passes.
- Diagonal: diagonal-eligible and guideline passes ≥ Min guideline passes.
- if motive fails, the engine still evaluates ABC as Zigzag and Flat to populate the table:
- Zigzag: B shallower than ~0.618A; C ≈ A or 1.618A (±fibTol).
- Flat: B ≥ ~0.9A; expanded flat if B > 1.0A and C in *A; “running” note if C < A.
3) Signal logic (consensus-gated & scored)
Signals fire only on new Small pivots and only if a Small motive just validated:Direction comes from the motive’s W1 (up = bull, down = bear).
Consensus checks (from the loop):
Use Sell consensus if the last pivot is a High, or Buy consensus if it’s a Low.Require it ≥ Min SMALL loop consensus and ahead of the opposite side by at least Min consensus margin.If you also require Large quality: check the corresponding Large consensus ≥ Min LARGE loop consensus.
Alignment: If Require small/large directional alignment is ON, Small and Large directions must match (or the Large motive must be complete).
Score:
- If Large not required: finalScore = smallConsensus × smallQuality.
- If Large required: finalScore = smallConsensus × smallQuality × largeQuality.
- Need finalScore ≥ Min final score.
When all gates pass, you’ll see “Buy xx%” or “Sell xx%” at the pivot.
Inputs (explained):
- Smaller Wave Swing Detection (Looped)
- Small Left Min / Max (default 3..6): ta.pivot* left widths to scan.
- Small Right Min / Max (default 0..0): right widths to scan (0 = earliest confirmation).
- Small Minimum swing % (post-aggregation) (0.3%): filters out tiny swings after the loop.
- Larger Wave Swing Detection (Looped)
- Large Left Min / Max (100..200) and Right Min/Max (0..0): higher-degree scan (defaults are big; adjust for intraday).
- Large Minimum swing % (post-aggregation) (1.5%).
- Loop Filters (inside the loop)
- Small loop min % change (0.20%): a candidate pivot counts only if move vs. last opposite Small swing ≥ this.
- Large loop min % change (1.50%): same idea for Large.
Rule Engine Tolerances
- Fibonacci tolerance (±%) (0.05 = 5%): closeness to Fib levels.
-Same-degree TIME proportion max (x) (2.00×) and PRICE proportion max (x) (3.00×).
- Alternation slope ratio threshold (0.10): higher = stricter alternation.
- Min guideline passes (0–7) (5): threshold for motive validity.
- Signal Probability (Loop Consensus)
- Min SMALL loop consensus (0.60).
- Min LARGE loop consensus (0.50) (used only if Large validation matters).
- Min consensus margin vs opposite (0.10): e.g., 0.60 vs 0.45 fails (margin 0.15 passes).
Require LARGE 1–5 valid (or diagonal) for signal (off by default).
Min final score (0.20): gate on the composite score.
Annotate label with score % (on).
WARN (orange): guideline not met—pattern can still be valid if total passes ≥ Min guideline passes.
FAQ
Q: Why did I get a diagonal instead of an impulse?
A: Wave-4 overlapped Wave-1 (Rule 3). If Rules 1 & 2 pass and guidelines meet your minimum, it’s eligible as a Diagonal.
Q: Where do Buy/Sell labels come from?
A: Only after a valid Small motive at a new pivot, and only if consensus, alignment, and final score gates pass (per your settings).
Q: It “missed” a wave in hindsight.
A: Pivots require right bars to confirm; extremely tight settings can filter that swing; adjust Small min % or ranges.
Q: Are there repaints?
A: No, It uses standard pivot confirmation; until a pivot is confirmed, recent swings can evolve. After confirmation, lines/labels are stable.
Limitations & disclaimers
Elliott/NeoWave rules are heuristics; markets are messy. Treat outputs as structured context, not certainty.
Consensus is pattern-scan agreement, not probability of profit Not investment advice; always couple with risk management.
Pattern grafici
Big Orders Detector - Whale Activity SpotterDetect Institutional & Whale Trading Activity with Volume Analysis
This indicator helps traders identify significant buy/sell orders (whale activity) by analyzing volume spikes and price movements. Perfect for spotting institutional entries and exits.
📊 Key Features:
Volume Spike Detection - Identifies when volume exceeds average by customizable multiplier
Price Movement Analysis - Tracks significant price changes with adjustable threshold
Smart Direction Detection - Distinguishes between big buy and sell orders
Visual Markers - Clear arrows, background highlights, and detailed labels
Flexible Settings - Fully customizable parameters for different trading styles
Statistics Table - Optional real-time order count tracking
Alert System - Built-in alerts for automated notifications
⚙️ How It Works:
The indicator combines volume analysis with price movement detection to identify unusual market activity. When volume significantly exceeds the moving average AND price shows meaningful movement, it marks these as potential whale orders.
🎯 Best Used For:
Crypto markets with high volume activity
Forex pairs during major news events
Stock trading around earnings/announcements
Identifying institutional accumulation/distribution
📈 Settings Guide:
Volume Multiplier (3.0) - How many times above average volume (recommended minimum: 3.0)
Volume Period (20) - Moving average period for volume
Price Threshold (1.5%) - Minimum price change requirement
Visual Options - Toggle arrows, labels, and background highlights
💡 Trading Tips:
Use on liquid markets with consistent volume
Combine with support/resistance levels
Higher timeframes show more significant orders
Adjust sensitivity based on market volatility
⚠️ Important Notes:
Not financial advice - for educational purposes only
Past performance doesn't guarantee future results
Always use proper risk management
Test parameters on your specific markets
Perfect for swing traders, day traders, and anyone looking to spot whale activity in their favorite markets!
Signal Strength AnalysisTraining Guide — Signal Strength Analysis
1. What this tool is
This is an all-in-one analysis dashboard that:
• Tracks market structure (order blocks, trendlines, support/resistance).
• Reads technical indicators (RSI, MACD, Bollinger Bands).
• Measures volume, volatility, momentum, and price positioning.
• Confirms buy/sell signals with multiple filters.
• Keeps performance records (win rate, PnL, signal strength).
• Presents everything in a visual table for quick decision support.
👉 It is a learning and training tool — not a broker strategy. It helps learners practice multi-factor analysis in a structured way.
________________________________________
2. Step-by-step workflow for learners
Step 1 – Market Overview
The dashboard starts with:
• Last Price → current market close.
• Daily Change % → price vs. yesterday.
• Volume Ratio → compares today’s volume to the average.
💡 Learners can check if the market is calm, trending, or under unusual activity.
________________________________________
Step 2 – Technical Indicators
• RSI (Relative Strength Index)
o 70 = Overbought, <30 = Oversold.
o A progress bar shows strength visually.
• MACD (Moving Average Convergence Divergence)
o “Bull” if histogram > 0, “Bear” if < 0.
o Helps track momentum shifts.
• Bollinger Band Position
o Where price sits between upper & lower bands.
o 80% = Overbought zone, <20% = Oversold zone.
💡 Learners use this to spot overextended moves and potential reversals.
________________________________________
Step 3 – Order Block Analysis
• Buy OB Level / Sell OB Level
o Price zones where buyers or sellers concentrated.
• OB Status
o 🟢 Buy Active → bullish setup.
o 🔴 Sell Active → bearish setup.
o ⚪ Waiting → no clear signal.
💡 Helps students understand how institutions leave “footprints” in price zones.
________________________________________
Step 4 – Volume Analysis
• Bull Volume vs. Bear Volume
o Cumulative measurement of buy vs. sell pressure.
o Progress bars show balance.
• Volume Spike
o “🔥 High” when today’s volume is unusually strong.
💡 Shows when participation supports a move (important for validation).
________________________________________
Step 5 – Signal Strength
• A score out of 100% based on:
1. RSI extremes (overbought/oversold).
2. Volume spike confirmation.
3. MACD trend confirmation.
4. Overall EMA trend alignment.
• Win Rate → % of successful signals tracked.
• Total PnL → running performance.
💡 Learners can practice weighing multiple signals instead of relying on one indicator.
________________________________________
Step 6 – Market Conditions & Risk
• Trend Check → bullish, bearish, or neutral from EMAs.
• ATR Filter → rejects signals if volatility is too low.
• Risk Management Alerts → marks TP/SL hits for both long and short trades.
💡 This trains learners to always tie signals to risk/reward management.
________________________________________
3. How it helps learners
• Structured Thinking: Instead of chasing random indicators, they get a full framework.
• Practical Filters: Combines momentum, volume, and volatility so signals are stronger.
• Visual Reinforcement: Table sections show conditions in color-coded, easy-to-read cells.
• Performance Tracking: Builds discipline by recording wins/losses, not just entries.
• Risk Awareness: Alerts teach that managing exits is as important as finding entries.
________________________________________
4. Deep dive into dashboard sections
Section What It Teaches How Learners Use It
🔍 Market Overview Price, change %, volume context Judge if market is trending or consolidating
📈 Technical Analysis RSI, MACD, BB position Identify overbought/oversold, momentum shifts
🎯 Order Block Analysis Institutional levels Practice spotting zones where smart money acts
📊 Volume Analysis Buyer vs seller activity Confirm if move is real or weak
⚡ Signal Strength Composite score + Win Rate Learn weighting multiple signals together
🎲 Market Conditions & Risk Trend + volatility + alerts Build habit of risk-managed decisions
________________________________________
5. Suggested classroom exercises
1. Trend vs. Countertrend Study
o When OB says “Buy” but RSI shows overbought, what happens?
o Learners compare outcomes.
2. Volume Confirmation
o Log trades with & without volume spikes.
o Discuss why volume validation matters.
3. Signal Strength Calibration
o Watch how strength % changes when multiple indicators align.
o Practice “confidence ranking” before entries.
4. Risk Discipline Drill
o Focus only on TP/SL hits.
o Learners note whether following system exits improved results.
________________________________________
6. Key takeaways for learners
• No single indicator works alone — this tool forces multi-factor thinking.
• Volume and volatility filters prevent false signals.
• Performance tracking builds accountability.
• Color-coded dashboards simplify complex information.
• Alerts + risk management remind that exit discipline is vital.
________________________________________
⚠️ Important disclaimer:
This script is an educational tool only. It demonstrates how traders can combine multiple analyses into one framework. It should not be used as financial advice or a live trading strategy without testing, risk controls, and professional guidance.
________________________________________
Machine Learning-Inspired Supply & Demand Zones [AlgoPoint]This indicator is a Smart Supply & Demand Zone tool, developed with principles inspired by Machine Learning (ML). It intelligently filters out market noise, allowing you to focus only on the most significant zones where institutional order flow is likely present.
💡 How It Works: Why Is This Indicator "Smart"?
Unlike traditional indicators that only measure simple price movements, this script uses an algorithm that asks the same critical questions an experienced market analyst would to qualify a zone:
- 1. Price Imbalance: How fast and aggressively did the price leave the zone? Our algorithm measures the body size of the "departure candle" relative to the current market volatility (ATR). A zone is only considered if it was formed by an explosive move that is statistically significant, indicating a major imbalance between buyers and sellers.
- 2. Volume Confirmation: Did the "smart money" participate in this move? The script checks if the volume on the departure candle was significantly higher than the recent average volume. A spike in volume confirms that the move was backed by institutional interest, adding strength and validity to the zone.
- 3. Valid Pivot Structure: Did the zone originate from a meaningful swing high or low? The algorithm first identifies a valid pivot structure, ensuring that zones are not drawn from insignificant or random price fluctuations.
Only when a potential zone passes these three critical tests—our "quality filter"—is it drawn on your chart.
🚀 Features & How to Use
Using the indicator is straightforward. You will see two primary types of boxes on your chart:
* 🟥 Red Box (Supply Zone): An area of potential resistance where selling pressure is likely to be strong. Look for potential shorting opportunities as the price approaches this zone.
* 🟩 Green Box (Demand Zone): An area of potential support where buying pressure is likely to be strong. Look for potential long opportunities as the price pulls back into this zone.
Dynamic Zone Management
This indicator is not static; it lives and breathes with the market:
- Fresh Zone: A newly formed zone appears in its full, vibrant color. These are the highest-probability zones as they have not yet been re-tested.
- Broken / Flipped Zone: You have full control over what happens when a zone is broken! In the settings, you can choose:
- Delete Zone: The zone will be removed completely when the price closes through it.
- Show as Broken (Flip): When broken, the zone will turn gray, stop extending, and remain on your chart. This is extremely useful for identifying Support/Resistance Flips, where a broken demand zone becomes new resistance, or a broken supply zone becomes new support.
⚙️ Settings & Customization
Fine-tune the indicator to match your personal trading style via the settings menu:
- Breakout Behavior: The most powerful feature. Choose between Delete Zone and Show as Broken (Flip) to customize your chart.
- Zone Finding Logic: Control the indicator's sensitivity.
- Selective: Requires both strong imbalance and high volume. Finds fewer, but higher-quality, zones.
- Moderate: Requires either strong imbalance or high volume. Finds more potential zones.
- Sensitivity Settings: Adjust the ATR Multiplier and Volume Multiplier to make the criteria for a "strong" zone stricter or looser.
Swing Chart V2Indicator support Trader to see chart structure.
Youtube: CMaster System
Contact: +84 903 167 137
Live Market - Performance MonitorLive Market — Performance Monitor
Study material (no code) — step-by-step training guide for learners
________________________________________
1) What this tool is — short overview
This indicator is a live market performance monitor designed for learning. It scans price, volume and volatility, detects order blocks and trendline events, applies filters (volume & ATR), generates trade signals (BUY/SELL), creates simple TP/SL trade management, and renders a compact dashboard summarizing market state, risk and performance metrics.
Use it to learn how multi-factor signals are constructed, how Greeks-style sensitivity is replaced by volatility/ATR reasoning, and how a live dashboard helps monitor trade quality.
________________________________________
2) Quick start — how a learner uses it (step-by-step)
1. Add the indicator to a chart (any ticker / timeframe).
2. Open inputs and review the main groups: Order Block, Trendline, Signal Filters, Display.
3. Start with defaults (OB periods ≈ 7, ATR multiplier 0.5, volume threshold 1.2) and observe the dashboard on the last bar.
4. Walk the chart back in time (use the last-bar update behavior) and watch how signals, order blocks, trendlines, and the performance counters change.
5. Run the hands-on labs below to build intuition.
________________________________________
3) Main configurable inputs (what you can tweak)
• Order Block Relevant Periods (default ~7): number of consecutive candles used to define an order block.
• Min. Percent Move for Valid OB (threshold): minimum percent move required for a valid order block.
• Number of OB Channels: how many past order block lines to keep visible.
• Trendline Period (tl_period): pivot lookback for detecting highs/lows used to draw trendlines.
• Use Wicks for Trendlines: whether pivot uses wicks or body.
• Extension Bars: how far trendlines are projected forward.
• Use Volume Filter + Volume Threshold Multiplier (e.g., 1.2): requires volume to be greater than multiplier × average volume.
• Use ATR Filter + ATR Multiplier: require bar range > ATR × multiplier to filter noise.
• Show Targets / Table settings / Colors for visualization.
________________________________________
4) Core building blocks — what the script computes (plain language)
Price & trend:
• Spot / LTP: current close price.
• EMA 9 / 21 / 50: fast, medium, slow moving averages to define short/medium trend.
o trend_bullish: EMA9 > EMA21 > EMA50
o trend_bearish: EMA9 < EMA21 < EMA50
o trend_neutral: otherwise
Volatility & noise:
• ATR (14): average true range used for dynamic target and filter sizing.
• dynamic_zone = ATR × atr_multiplier: minimum bar range required for meaningful move.
• Annualized volatility: stdev of price changes × sqrt(252) × 100 — used to classify volatility (HIGH/MEDIUM/LOW).
Momentum & oscillators:
• RSI 14: overbought/oversold indicator (thresholds 70/30).
• MACD: EMA(12)-EMA(26) and a 9-period signal line; histogram used for momentum direction and strength.
• Momentum (ta.mom 10): raw momentum over 10 bars.
Mean reversion / band context:
• Bollinger Bands (20, 2σ): upper, mid, lower.
o price_position measures where price sits inside the band range as 0–100.
Volume metrics:
• avg_volume = SMA(volume, 20) and volume_spike = volume > avg_volume × volume_threshold
o volume_ratio = volume / avg_volume
Support & Resistance:
• support_level = lowest low over 20 bars
• resistance_level = highest high over 20 bars
• current_position = percent of price between support & resistance (0–100)
________________________________________
5) Order Block detection — concept & logic
What it tries to find: a bar (the base) followed by N candles in the opposite direction (a classical order block setup), with a minimum % move to qualify. The script records the high/low of the base candle, averages them, and plots those levels as OB channels.
How learners should think about it (conceptual):
1. An order block is a signature area where institutions (theory) left liquidity — often seen as a large bar followed by a sequence of directional candles.
2. This indicator uses a configurable number of subsequent candles to confirm that the pattern exists.
3. When found, it stores and displays the base candle’s high/low area so students can see how price later reacts to those zones.
Implementation note for learners: the tool keeps a limited history of OB lines (ob_channels). When new OBs exceed the count, the oldest lines are removed — good practice to avoid clutter.
________________________________________
6) Trendline detection — idea & interpretation
• The script finds pivot highs and lows using a symmetric lookback (tl_period and half that as right/left).
• It then computes a trendline slope from successive pivots and projects the line forward (extension_bars).
• Break detection: Resistance break = close crosses above the projected resistance line; Support break = close crosses below projected support.
Learning tip: trendlines here are computed from pivot points and time. Watch how changing tl_period (bigger = smoother, fewer pivots) alters the trendlines and break signals.
________________________________________
7) Signal generation & filters — step-by-step
1. Primary triggers:
o Bullish trigger: order block bullish OR resistance trendline break.
o Bearish trigger: bearish order block OR support trendline break.
2. Filters applied (both must pass unless disabled):
o Volume filter: volume must be > avg_volume × volume_threshold.
o ATR filter: bar range (high-low) must exceed ATR × atr_multiplier.
o Not in an existing trade: new trades only start if trade_active is false.
3. Trend confirmation:
o The primary trigger is only confirmed if trend is bullish/neutral for buys or bearish/neutral for sells (EMA alignment).
4. Result:
o When confirmed, a long or short trade is activated with TP/SL calculated from ATR multiples.
________________________________________
8) Trade management — what the tool does after a signal
• Entry management: the script marks a trade as trade_active and sets long_trade or short_trade flags.
• TP & SL rules:
o Long: TP = high + 2×ATR ; SL = low − 1×ATR
o Short: TP = low − 2×ATR ; SL = high + 1×ATR
• Monitoring & exit:
o A trade closes when price reaches TP or SL.
o When TP/SL hit, the indicator updates win_count and total_pnl using a very simple calculation (difference between TP/SL and previous close).
o Visual lines/labels are drawn for TP and updated as the trade runs.
Important learner notes:
• The script does not store a true entry price (it uses close in its P&L math), so PnL is an approximation — treat this as a learning proxy, not a position accounting system.
• There’s no sizing, slippage, or fee accounted — students must manually factor these when translating to real trades.
• This indicator is not a backtesting strategy; strategy.* functions would be needed for rigorous backtest results.
________________________________________
9) Signal strength & helper utilities
• Signal strength is a composite score (0–100) made up of four signals worth 25 points each:
1. RSI extreme (overbought/oversold) → 25
2. Volume spike → 25
3. MACD histogram magnitude increasing → 25
4. Trend existence (bull or bear) → 25
• Progress bars (text glyphs) are used to visually show RSI and signal strength on the table.
Learning point: composite scoring is a way to combine orthogonal signals — study how changing weights changes outcomes.
________________________________________
10) Dashboard — how to read each section (walkthrough)
The dashboard is split into sections; here's how to interpret them:
1. Market Overview
o LTP / Change%: immediate price & daily % change.
2. RSI & MACD
o RSI value plus progress bar (overbought 70 / oversold 30).
o MACD histogram sign indicates bullish/bearish momentum.
3. Volume Analysis
o Volume ratio (current / average) and whether there’s a spike.
4. Order Block Status
o Buy OB / Sell OB: the average base price of detected order blocks or “No Signal.”
5. Signal Status
o 🔼 BUY or 🔽 SELL if confirmed, or ⚪ WAIT.
o No-trade vs Active indicator summarizing market readiness.
6. Trend Analysis
o Trend direction (from EMAs), market sentiment score (composite), volatility level and band/position metrics.
7. Performance
o Win Rate = wins / signals (percentage)
o Total PnL = cumulative PnL (approximate)
o Bull / Bear Volume = accumulated volumes attributable to signals
8. Support & Resistance
o 20-bar highest/lowest — use as nearby reference points.
9. Risk & R:R
o Risk Level from ATR/price as a percent.
o R:R Ratio computed from TP/SL if a trade is active.
10. Signal Strength & Active Trade Status
• Numeric strength + progress bar and whether a trade is currently active with TP/SL display.
________________________________________
11) Alerts — what will notify you
The indicator includes pre-built alert triggers for:
• Bullish confirmed signal
• Bearish confirmed signal
• TP hit (long/short)
• SL hit (long/short)
• No-trade zone
• High signal strength (score > 75%)
Training use: enable alerts during a replay session to be notified when the indicator would have signalled.
________________________________________
12) Labs — hands-on exercises for learners (step-by-step)
Lab A — Order Block recognition
1. Pick a 15–30 minute timeframe on a liquid ticker.
2. Use default OB periods (7). Mark each time the dashboard shows a Buy/Sell OB.
3. Manually inspect the chart at the base candle and the following sequence — draw the OB zone by hand and watch later price reactions to it.
4. Repeat with OB periods 5 and 10; note stability vs noise.
Lab B — Trendline break confirmation
1. Increase trendline period (e.g., 20), watch trendlines form from pivots.
2. When a resistance break is flagged, compare with MACD & volume: was momentum aligned?
3. Note false breaks vs confirmed moves — change extension_bars to see projection effects.
Lab C — Filter sensitivity
1. Toggle Use Volume Filter off, and record the number and quality of signals in a 2-day window.
2. Re-enable volume filter and change threshold from 1.2 → 1.6; note how many low-quality signals are filtered out.
Lab D — Trade management simulation
1. For each signalled trade, record the time, close entry approximation, TP, SL, and eventual hit/miss.
2. Compute actual PnL if you had entered at the open of the next bar to compare with the script’s PnL math.
3. Tabulate win rate and average R:R.
Lab E — Performance review & improvement
1. Build a spreadsheet of signals over 30–90 periods with columns: Date, Signal type, Entry price (real), TP, SL, Exit, PnL, Notes.
2. Analyze which filters or indicators contributed most to winners vs losers and adjust weights.
________________________________________
13) Common pitfalls, assumptions & implementation notes (things to watch)
• P&L simplification: total_pnl uses close as a proxy entry price. Real entry/exit prices and slippage are not recorded — so PnL is approximate.
• No position sizing or money management: the script doesn’t compute position size from equity or risk percent.
• Signal confirmation logic: composite "signal_strength" is a simple 4×25 point scheme — explore different weights or additional signals.
• Order block detection nuance: the script defines the base candle and checks the subsequent sequence. Be sure to verify whether the intended candle direction (base being bullish vs bearish) aligns with academic/your trading definition — read the code carefully and test.
• Trendline slope over time: slope is computed using timestamps; small differences may make lines sensitive on very short timeframes — using bar_index differences is usually more stable.
• Not a true backtester: to evaluate performance statistically you must transform the logic into a strategy script that places hypothetical orders and records exact entry/exit prices.
________________________________________
14) Suggested improvements for advanced learners
• Record true entry price & timestamp for accurate PnL.
• Add position sizing: risk % per trade using SL distance and account size.
• Convert to strategy. (Pine Strategy)* to run formal backtests with equity curves, drawdowns, and metrics (Sharpe, Sortino).
• Log trades to an external spreadsheet (via alerts + webhook) for offline analysis.
• Add statistics: average win/loss, expectancy, max drawdown.
• Add additional filters: news time blackout, market session filters, multi-timeframe confirmation.
• Improve OB detection: combine wick/body, volume spike at base bar, and liquidity sweep detection.
________________________________________
15) Glossary — quick definitions
• ATR (Average True Range): measure of typical range; used to size targets and stops.
• EMA (Exponential Moving Average): trend smoothing giving more weight to recent prices.
• RSI (Relative Strength Index): momentum oscillator; >70 overbought, <30 oversold.
• MACD: momentum oscillator using difference of two EMAs.
• Bollinger Bands: volatility bands around SMA.
• Order Block: a base candle area with subsequent confirmation candles; a zone of institutional interest (learning model).
• Pivot High/Low: local turning point defined by candles on both sides.
• Signal Strength: combined score from multiple indicators.
• Win Rate: proportion of signals that hit TP vs total signals.
• R:R (Risk:Reward): ratio of potential reward (TP distance) to risk (entry to SL).
________________________________________
16) Limitations & assumptions (be explicit)
• This is an indicator for learning — not a trading robot or broker connection.
• No slippage, fees, commissions or tie-in to real orders are considered.
• The logic is heuristic (rule-of-thumb), not a guarantee of performance.
• Results are sensitive to timeframe, market liquidity, and parameter choices.
________________________________________
17) Practical classroom / study plan (4 sessions)
• Session 1 — Foundations: Understand EMAs, ATR, RSI, MACD, Bollinger Bands. Run the indicator and watch how these numbers change on a single day.
• Session 2 — Zones & Filters: Study order blocks and trendlines. Test volume & ATR filters and note changes in false signals.
• Session 3 — Simulated trading: Manually track 20 signals, compute real PnL and compare to the dashboard.
• Session 4 — Improvement plan: Propose changes (e.g., better PnL accounting, alternative OB rule) and test their impact.
________________________________________
18) Quick reference checklist for each signal
1. Was an order block or trendline break detected? (primary trigger)
2. Did volume meet threshold? (filter)
3. Did ATR filter (bar size) show a real move? (filter)
4. Was trend aligned (EMA 9/21/50)? (confirmation)
5. Signal confirmed → mark entry approximation, TP, SL.
6. Monitor dashboard (Signal Strength, Volatility, No-trade zone, R:R).
7. After exit, log real entry/exit, compute actual PnL, update spreadsheet.
________________________________________
19) Educational caveat & final note
This tool is built for training and analysis: it helps you see how common technical building blocks combine into trade ideas, but it is not a trading recommendation. Use it to develop judgment, to test hypotheses, and to design robust systems with proper backtesting and risk control before risking capital.
________________________________________
20) Disclaimer (must include)
Training & Educational Only — This material and the indicator are provided for educational purposes only. Nothing here is investment advice or a solicitation to buy or sell financial instruments. Past simulated or historical performance does not predict future results. Always perform full backtesting and risk management, and consider seeking advice from a qualified financial professional before trading with real capital.
________________________________________
TP Hunter [Sniper Trading System]TP Hunter Overlay — Sniper Trading System Suite
What it is
TP Hunter helps with the hardest part of trading: exits. It plots Take Profit zones (TP1/TP2/TP3) using a standard deviation model around a 20-period moving average (“Centerline”). When price reaches a target, TP Hunter marks it on the chart and can trigger an alert—so you can scale out with discipline.
How it works (plain language)
The Centerline is a 20-period SMA (average price).
The script measures recent volatility (standard deviation) and projects TP levels above/below the Centerline.
If price is above the Centerline, the script treats it as buy context; below = sell context.
When price touches a TP level in that context, the indicator prints a shape (TP1 green, TP2 orange, TP3 red) and alerts can fire.
Inputs
TP1/TP2/TP3 Multiplier: distance of each target from the Centerline (in standard deviations).
RSI Period / Levels: optional filter to avoid extreme conditions (default enabled).
Show TP Hit Labels: toggle the on-chart labels.
Visuals
Centerline (gray)
TP hits:
Buy hits = triangles above bars (TP1/TP2/TP3 = green/orange/red).
Sell hits = triangles below bars (TP1/TP2/TP3 = green/orange/red).
Alerts
TP1/TP2/TP3 hit alerts for both buy and sell contexts.
Suggested workflow: set alerts, scale out at TP1/TP2, reserve a runner for TP3.
Best practices
Use TP Hunter to plan exits after your own entry signal (e.g., time-based or liquidity-based entries).
If you want fewer but stronger targets, increase the multipliers.
If you want more frequent targets, decrease them slightly.
RSI filter can reduce noise during extreme momentum.
Notes & Limitations
This is an overlay tool for exit management, not a standalone entry system.
Shapes confirm on bar close; alerts can trigger intrabar when a level is touched.
No financial advice. Past performance does not guarantee future results.
Gold Scalping Trend Strategy [Optimized] joey🟡 Gold Scalping Trend Strategy – Explained
This is a short-term scalping strategy designed for XAU/USD (gold), but it can also be applied to other volatile instruments.
It combines trend detection (moving averages + ATR filter) with scalping take-profit levels and a safety stop-loss.
The goal is to ride small but high-probability moves in the direction of the intraday trend while protecting capital.
Ultra Volume DetectorNative Volume — Auto Levels + Ultra Label
What it does
This indicator classifies volume bars into four categories — Low, Medium, High, and Ultra — using rolling percentile thresholds. Instead of fixed cutoffs, it adapts dynamically to recent market activity, making it useful across different symbols and timeframes. Ultra-high volume bars are highlighted with labels showing compacted values (K/M/B/T) and the appropriate unit (shares, contracts, ticks, etc.).
Core Logic
Dynamic thresholds: Calculates percentile levels (e.g., 50th, 80th, 98th) over a user-defined window of bars.
Categorization: Bars are colored by category (Low/Med/High/Ultra).
Ultra labeling: Only Ultra bars are labeled, preventing chart clutter.
Optional MA: A moving average of raw volume can be plotted for context.
Alerts: Supports both alert condition for Ultra events and dynamic alert() messages that include the actual volume value at bar close.
How to use
Adjust window size: Larger windows (e.g., 200+) provide stable thresholds; smaller windows react more quickly.
Set percentiles: Typical defaults are 50 for Medium, 80 for High, and 98 for Ultra. Lower the Ultra percentile to see more frequent signals, or raise it to isolate only extreme events.
Read chart signals:
Bar colors show the category.
Labels appear only on Ultra bars.
Alerts can be set up for automatic notification when Ultra volume occurs.
Why it’s unique
Adaptive: Uses rolling statistics, not static thresholds.
Cross-asset ready: Adjusts units automatically depending on instrument type.
Efficient visualization: Focuses labels only on the most significant events, reducing noise.
⚠️ Disclaimer: This tool is for educational and analytical purposes only. It does not provide financial advice. Always test and manage risk before trading live
BE-Fib Channel 2 Sided Trading█ Overview:
"BE-Fib Channel 2 Sided Trading" indicator is built with the thought of 2 profound setups named "Cup & Handle (C&H)" and "Fibonacci Channel Trading (FCT)" with the context of "day trading" or with a minimum holding period.
█ Similarities, Day Trading Context & Error Patterns:
While the known fact is that both C&H and FCT provide setups with lesser risk with bigger returns, they both share the similar "Base Pattern".
Note: Inverse of the above Image shall switch the setups between long vs short.
Since the indicator is designed for smaller time-frame candles, there may be instances where the "base pattern" does not visually resemble a Cup & Handle (C&H) pattern. However, patterns are validated using pivot points. The points labeled "A" and "C" can be equal or slightly slanted. Settings of the Indicator allows traders a flexibility to control the angle of these points to spot the strategies according to set conditions. Therefore, understanding the nuances of these patterns is crucial for effective decision-making.
█ 2 Sided Edge: FCT suggests to take trade closer to the yellow line to get better RR ratio. this leaves a small chance of doubt as to; what if price is intended to break the Yellow line thereby activating the C&H.
Wait for the confirmation is a Big FOMO with a compromised RR.
Hence, This indicator is designed to handle both the patterns based on the strength, FIFO and pattern occurring delay.
█ How to Use this Indicator:
Step 1: Enable the Show Sample Sensitivity option to understand the angle of yellow line shown in the sample image. By enabling this option, On the last bar you shall see 4 lines being plotted depicting the max angle which is acceptable for both long and short trades.
Note: Angle can be controlled via setting "Sensitivity".
Higher Sensitivity --> Higher Setup identification --> can lead to failed setups due to 2 sided trading.
Lower Sensitivity --> Lower Setup identification --> can increase the changes of being right.
Step 2: Adjust the look back & look forward periods which shall be used for identifying patterns.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more waiting period thereby compromising on the RR.
Step 3: Adjust the Base Range.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more Risk on play.
Step 4: set the Entry level for FCT & Set the SL for Both FCT & C&H and Target Reward ratio for C&H.
█ Features of Indicator & How it works:
1. Patterns are being identified using Pivot Points method.
2. Tracks & validates both the setups simultaneously on every candle and traded one at a time based on FIFO, New setups found in-between, Defined Entry Levels while on wait for the other pattern to get activated.
3. Alerts added for trade events.
4. FCT setups are generally traded with trailed SL level and increasing Target level on every completed bar. while C&H has the standard SL & TP level with no Trail SL option.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Trend Score with Dynamic Stop Loss RTH
📘 Trend Score with Dynamic Stop Loss (RTH) — Guide
🔎 Overview
This indicator tracks intraday momentum during Regular Trading Hours and flags trend flips using a cumulative TrendScore. It also draws dynamic stop-loss levels and shows a live stats table for quick decision-making and journaling.
⸻
⚙️ Core Concepts
1) TrendScore (per bar)
• +1 if the current bar makes a higher high than the previous bar (counted once per bar).
• –1 if the current bar makes a lower low than the previous bar (counted once per bar).
• If a bar takes both the prior high and low, the net contribution can cancel out within that bar.
2) Cumulative TrendScore (running total)
• The per-bar TrendScore accumulates across the session to form the cumulative TrendScore (TS).
• TS resets to 0 at session open and is cleared at session close.
• Rising TS = persistent upside pressure; falling TS = persistent downside pressure.
⸻
🔄 Flip Rules (3-point reversal of the cumulative TrendScore)
A flip occurs when the cumulative TrendScore reverses by 3 points in the opposite direction of the current trend.
• Bullish Flip
• Trigger: After a decline, the cumulative TrendScore rises by +3 from its down-leg.
• Interpretation: Bulls have taken control.
• Stop-loss: the lowest price of the prior (down) leg.
• Bearish Flip
• Trigger: After a rise, the cumulative TrendScore falls by –3 from its up-leg.
• Interpretation: Bears have taken control.
• Stop-loss: the highest price of the prior (up) leg.
Flip bars are marked with ▲ (lime) for bullish and ▼ (red) for bearish.
Note: If you prefer a different reversal distance, adjust the flip distance setting in the script’s inputs (default is 3).
⸻
📏 Stop-Loss Lines
• A dotted line is drawn at the prior leg’s extreme:
Green (below price) after a bullish flip.
Red (above price) after a bearish flip.
• Options:
Remove on touch for a clean chart.
Freeze on touch to keep a visual record for journaling.
• All stop lines are cleared at session end.
⸻
🧮 Stats Table (what you see)
• Trend: Bull / Bear / Neutral
• Bars in Trend: Count since the flip bar
• Since Flip: Current close minus flip bar close
• Since SL: Current close minus active stop level
• MFE-Maximum Favorable Excursion: Highest favorable move since flip
• MAE-Maximum Adverse Excursion: Largest adverse move since flip
Table colors reflect the current trend (green for bull, red for bear).
⸻
📊 Trading Playbook
Entries
• Aggressive: Enter immediately on a flip marker.
• Conservative: Wait for a small pullback that doesn’t violate the stop.
Stops
• Place the stop at the script’s flip stop-loss line (the prior leg extreme).
Exits
Choose one style and stick with it:
• Stop-only: Exit when the stop is hit.
• Time-based: Flatten at session close.
• Targets: Scale/close at 1R, 2R.
• Trailing: Trail behind minor swings once MFE > 1R.
Ultimately Exit choice is your own edge, so you must decide for yourself.
💡 Best Practices
• Skip the first few bars after the open (gap noise).
• Use regular candles (Heikin-Ashi will distort highs/lows).
• If you want fewer flips, increase the flip distance (e.g., 4 or 5). For more
responsiveness, use 2. Otherwise, increase your time frame to 5m, 10m, 15m.
• Keep SL lines frozen (not auto-removed) if you’re journaling.
Trend Score with Dynamic Stop Loss HTF
How the Trend Score System Works
This indicator uses a Trend Score (TS) to measure price momentum over time. It tracks whether price is breaking higher or lower, then sums these moves into a cumulative score to define trend direction.
⸻
1. Trend Score (+1 / -1 Mechanism)
On each new bar:
• +1 point: if the current bar breaks the previous bar’s high.
• −1 point: if the current bar breaks the previous bar’s low.
• If both happen in the same bar, they cancel each other out.
• If neither happens, the score does not change.
This creates a simple running measure of bullish vs bearish pressure.
⸻
2. Cumulative Trend Score
The Trend Score is cumulative, meaning each new +1 or -1 is added to the total score, building a continuous count.
• Rising scores = buyers are consistently pushing price to higher highs.
• Falling scores = sellers are consistently pushing price to lower lows.
This smooths out noise and helps identify persistent momentum rather than single-bar spikes.
⸻
3. Trend Flip Trigger (default = 3)
A trend flip occurs when the cumulative Trend Score changes by 3 points (default setting) in the opposite direction of the current trend.
• Bullish Flip:
• Cumulative TS rises 3 points from its most recent low pivot.
• Marks a potential start of a new uptrend.
• A bullish stop-loss (SL) is set at the most recent swing low.
• Bearish Flip:
• Cumulative TS falls 3 points from its most recent high pivot.
• Marks a potential start of a new downtrend.
• A bearish SL is set at the most recent swing high.
Example:
• TS is at -2, then climbs to +1.
• That’s a +3 change, triggering a bullish flip.
⸻
4. Visual Summary
• Green background: Active bullish trend.
• Red background: Active bearish trend.
• ▲ Triangle Up: A bullish flip occurred this bar.
• Stop Loss Line: Shows the structural low used for risk management.
⸻
Why This Matters
The Trend Score measures trend pressure simply and objectively:
• +1 / -1 mechanics track real price behavior (breakouts of highs and lows).
• Cumulative changes of 3 points act like a momentum filter, ignoring small reversals.
• This helps you see true regime shifts on higher timeframes, which is especially useful for swing trades and investing decisions.
⸻
Key Takeaways
• Only flips after meaningful swings: prevents overreacting to single-bar noise.
• SL shows invalidation point: helps you know where a trend thesis fails.
• Works best on Daily or Weekly charts: for smoother, more reliable signals. Using Trend Score for Long-Term Investing
This indicator is designed to support decision-making for higher timeframe investing, such as swing trades, multi-month positions, or even multi-year holds.
It helps you:
• Identify major bullish regimes.
• Decide when to add to winning positions (DCA up).
• Know when to pause buying or consider trimming during weak periods.
• Stay disciplined while holding long-term winners.
Important Note:
These are suggestions for context. Always combine them with your own analysis, portfolio allocation rules, and risk tolerance.
⸻
1. Start With the Higher Timeframe
• Use Weekly charts for a broad investing view.
• Use Daily charts only for fine-tuning entry points or deciding when to add.
• A Bullish Flip on Weekly suggests the market may be entering a major uptrend.
• If Weekly is bullish and Daily also turns bullish, it’s extra confirmation of strength.
⸻
2. Building a Position with DCA
Goal: Grow your position gradually during strong bullish regimes while staying aware of risk.
A. Initial Buy
• Start with a small initial allocation when a Bullish Flip appears on Weekly or Daily.
• This is just a starter position to get exposure while the new trend develops.
B. Adding Through Strength (DCA Up)
• Consider adding during pullbacks, as long as price stays above the active SL line.
• Each add should be smaller or equal to your first buy.
• Spread out adds over time or price levels, instead of going all-in at once.
C. Pause Buying When:
• Price approaches or touches the SL level (trend invalidation).
• A Bearish Flip appears on Weekly or Daily — this signals potential weakness.
• Your total position size reaches your maximum allocation limit for that asset.
⸻
3. Holding Winners
When a position grows in profit:
• Stay in the trend as long as the Weekly regime remains bullish.
• The indicator’s green background acts as a reminder to hold, not panic sell.
• Use the SL bubble to monitor where the trend could potentially break.
• Avoid selling just because of small pullbacks — focus on big-picture trend health.
⸻
4. Taking Partial Profits
While this tool is designed to help hold long-term winners, there may be times to lighten risk:
• After large, rapid moves far above the SL, consider trimming a small portion of your position.
• When MFE (Maximum Favorable Excursion) in the table reaches unusually high levels, it may signal overextension.
• If the Weekly chart turns Neutral or Bearish, you can gradually reduce exposure while waiting for the next Bullish Flip.
⸻
5. Using the Stop Loss Line for Awareness
The Dynamic SL line represents a structural level that, if broken, may suggest the bullish trend is weakening.
How to think about it:
• Above SL: Market remains structurally healthy — continue holding or adding gradually.
• Close to SL: Pause adds. Be cautious and consider tightening your risk.
• Below SL: Treat this as a potential signal to reassess your position, especially if the break is confirmed on Weekly.
The SL is not a hard stop — it’s a visual guide to help you manage expectations.
⸻
6. Example Use Case
Imagine you are investing in a growth stock:
• Weekly Bullish Flip: You open a small starter position.
• Price pulls back slightly but stays above SL: You add a second, smaller tranche.
• Trend continues up for months: You hold and stop adding once your desired allocation is reached.
• Price doubles: You trim 10–20% to lock some profits, but continue holding the majority.
• Price later dips below SL: You slow down, reassess, and decide whether to reduce exposure.
This keeps you:
• Participating in major uptrends.
• Avoiding overcommitment during weak phases.
• Making adjustments gradually, not emotionally.
⸻
7. Suggested Workflow
1. Check Weekly chart → is it Bullish?
2. If yes, review Daily chart to fine-tune entry or adds.
3. Build exposure gradually while Weekly remains bullish.
4. Watch SL bubbles as awareness points for risk management.
5. Use partial trims during big rallies, but avoid exiting entirely too soon.
6. Reassess if Weekly turns Neutral or Bearish.
⸻
Key Takeaways
• Use this as a compass, not a command system.
• Weekly flips = big picture direction.
• Daily flips = timing and precision.
• Add gradually (DCA) while above SL, pause near SL, reassess below SL.
• Hold winners as long as Weekly remains bullish.
Berdins indicatorMA-POC Momentum System PRO (RSI + MTF + Alerts)EMA-POC Momentum System (RSI + MTF + Alerts)
What it does
• Trend: plots EMA 20 (red), EMA 50 (blue), EMA 238 (orange)
• Key level: simplified POC line = close of the highest-volume bar within a lookback window
• Momentum: Buy/Sell signals when RSI crosses 50 in the direction of the EMA trend
• Filters: optional higher-timeframe trend alignment, EMA slope filter, and minimum distance from POC to avoid chop
• Alerts: separate Buy/Sell alerts or one combined alert (choose in settings)
How to use
1) Add to chart and keep “Confirm on bar close” enabled for non-repainting signals.
2) For intraday, consider enabling MTF Trend (e.g., chart = 5m/15m, HTF = 60m).
3) Optional: set Min distance from POC to ~0.5–1.0% to avoid entries right on the POC.
4) Create alerts via the Alerts panel: choose “Buy Alert”, “Sell Alert”, or “Combined”.
Inputs (quick reference)
• EMA Fast/Mid/Slow = 20/50/238
• POC Lookback (default 200)
• RSI Length (default 14)
• Use Higher Timeframe Trend? (default off) + HTF for Trend
• Require EMA20 & EMA50 slope (default on)
• Min distance from POC (% of price)
• Confirm signals on bar close (default on)
• Use ONE combined alert (default off)
Notes
• POC here is a lightweight approximation and not a full volume profile.
• Signals are informational/educational. Always manage risk and confirm with your own process.
Developing Pivot Range (Pivot Boss)candle stick based indicator for figuring out H3 and L3 for next day.
Berdins Indicator - EMA-POC(RSI + MTF + Alerts)EMA-POC Momentum System (RSI + MTF + Alerts)
Wat het doet
• Trend: tekent EMA 20 (rood), EMA 50 (blauw) en EMA 238 (oranje).
• Key level: vereenvoudigde POC-lijn = close van de hoogste-volume bar binnen een lookback.
• Momentum: Buy/Sell signaal wanneer RSI de 50-lijn kruist in de richting van de EMA-trend.
• Filters: optioneel higher-timeframe trend (MTF), slope-filter (EMA20 & EMA50 moeten stijgen/dalen),
en minimum afstand tot POC om chop te vermijden.
• Alerts: kies ofwel twee alerts (Buy/Sell) of één gecombineerde alert.
Gebruik
1) Voeg toe aan je chart en laat “Confirm on bar close” aan voor niet-repainting signalen.
2) Intraday: overweeg MTF-trend (bijv. chart = 5m/15m, HTF = 60m).
3) Stel desgewenst “Min distance from POC” in op ~0.5–1.0% om entries vlak op de POC te vermijden.
4) Maak alerts via het Alerts-paneel: “Buy Alert”, “Sell Alert” of “Combined”.
Belangrijk
• De POC is een lichte benadering (geen volledig volume-profiel).
• Signalen zijn informatief/educatief; combineer met eigen risk- & trade-management.
(Binance 10m binary contact signals(repainted)
BINANCE:BTCUSDT
Suggestion:use chart of spot instead of swap. using for binance binary contacts(事件合约)
This script is a 10-minute binary event contract trading strategy indicator designed for BTC and ETH on Binance. It combines multiple technical analysis tools with a unique market session filter to generate potential entry and exit signals. Here’s a breakdown of its core functions:
---
1. Market Session Visualization
· It highlights four major trading sessions (Tokyo, London, New York, and Sydney) with colored boxes or background zones.
· You can toggle each session on/off and customize its appearance.
· This helps traders quickly identify which financial market is currently active, as volatility and momentum often shift between sessions.
---
2. Trading Signals Generation
The indicator combines several technical factors to produce signals:
· Moving Average Crosses: Uses SMA (5) and SMA (9) for golden/death cross signals.
· RSI Momentum: Identifies overbought/oversold conditions and crossovers above/below the 50 level.
· Volume Confirmation: Checks if current volume is above its 20-period average to confirm strength.
· Price Deviation: Measures how far price has moved from its short-term average (SMA 5).
Signals are plotted as green upward triangles (buy) or red downward triangles (sell) below or above the bars.
---
3. Smart Session Filtering (Key Feature)
· A unique filter ensures signals are only generated during valid market hours (when only one major session is active).
· It avoids overlap periods (e.g., when London and New York are both open), which often bring erratic price action and false signals.
· This makes the strategy more robust by focusing on periods with clearer trends and higher predictability.
---
4. Anti-Repainting Options
· The script includes an option (show not strong signals) to reduce repainting:
· If enabled, it requires signal confirmation on the next candle for stronger, more reliable signals.
· If disabled, all signals are shown in real-time (but may be more prone to repainting).
---
5. Alerts and Timeframe Compatibility
· Built-in alert conditions allow you to get notified when new signals appear.
· It is designed specifically for 10-minute charts of BTC and ETH binary event contracts.
---
Summary:
This tool is best for traders who want to:
· Trade short-term binary options or event contracts based on 10-minute candles.
· Combine multi-session awareness with classic technical indicators.
· Filter out noisy market periods and focus on high-probability setups.
⚠️ Note: Since some signals may repaint, use the confirmation filter (show not strong signals) for more consistent results. Always test the strategy in a demo account before going live.
Let me know if you need help customizing or interpreting the signals.
MM8 Best Regression ChannelMM8 Best Regression Channel — Smart regression channel with auto-optimized length and density histogram
\ Summary\
This indicator automatically searches the optimal regression length (optimalLength) between 50 and 200 (step 5) and draws a channel whose effective width is minimized. It then overlays a color-gradient regression channel plus a compact, right-edge density histogram to show where price spends most of its time inside the channel. The goal is to blend mean-reversion context with breakout assessment in a clean, visual way.
\ How it works\
1. Length optimization: For each candidate length (50…200, step 5) the script computes variance of the source and its linear correlation with time (bar\_index). Residual volatility (MAD proxy) is estimated via sqrt(v − v\*r^2). The channel width is evaluated as 2×MAD with an internal optimizer multiplier (mult\_opt = 2.0). The length that yields the smallest effective width is selected as optimalLength.
2. Regression and channel: Using optimalLength, the slope (alpha) and intercept (beta) are derived from source vs. bar\_index. Upper/lower channel boundaries are set at ±MAD scaled by the user “Multiplier”.
3. Density histogram: The channel span is split into N bins. For each bin, the script counts how many of the last optimalLength bars fall inside that band and draws a short horizontal tick on the right edge. Longer ticks imply higher dwell time.
\ Inputs\
* Bins Number: number of histogram bands (default 7).
* Multiplier: scales the final channel width used for drawing (separate from mult\_opt used only in the optimizer).
* Source: input data (default Close).
* Style → Show Histogram: toggle the right-edge density ticks.
* Style → Channel Color (Lower/Upper): colors for the channel gradient (from lower to upper).
* Style → Histogram Bins Color: color for the right-edge ticks.
* Style → Line Style: channel line style (solid / dashed / dotted).
\ What you see\
* A regression channel rendered with a lower→upper color gradient.
* A right-edge horizontal histogram for each band; tick length encodes the count of bars residing in that band over the last optimalLength window.
* To reduce overhead, lines are deleted/rebuilt and the drawing routine executes on the last bar (barstate.islast).
\ Interpretation and use\
* Mean reversion: Touches or brief pierces of outer bands with low local density can suggest short-term fade setups.
* Breakout context: A sustained push with rising density near a boundary, backed by structure and volume, can support continuation.
* Multiplier tuning: Smaller → tighter/more sensitive channel; larger → smoother/less noisy.
* Bins tuning: More bins give finer distribution detail (at the cost of a busier plot).
\ Practical notes\
* On noisier symbols/timeframes, consider a larger Multiplier.
* If the right-edge histogram looks too crowded, reduce Bins or increase Multiplier.
* Combine with market structure (HH/HL/LH/LL), volume, and supply/demand zones for confirmation.
\ Limitations\
* The optimizer search range is fixed at 50…200 with step 5 for simplicity/performance. Adjust start\_length / end\_length / step\_length in code if you need a different space.
* Lines are rebuilt each update; many instances or very long histories can add overhead on weaker machines.
* This is a contextual tool, not a definitive buy/sell signal.
\ Recommended settings\
* Many crypto pairs work well on 15m to 4h for a good balance of noise vs. signal.
* In strong trends, increase Multiplier or demand structural confirmation before fading an outer band.
* In ranges, focus on outer-band reactions with low local density and seek quick re-entries.
\ Compatibility\
* Pine Script v5. Uses max\_lines\_count=500. When running multiple instances, monitor performance.
\ Disclaimer\
* This is for analytical/educational purposes only and does not constitute financial advice. Use at your own risk.
Keywords: Regression Channel, Linear Regression, MAD, Mean Reversion, Breakout, Volatility, Distribution, Histogram, Liquidity, Crypto, BTC, Technical Analysis
Amipro with RS21 & RS55This has all my favourite indicators - EMA 21, EMA55, Supertrend and Relative Strength of a Stock (compared to an index). This is a powerful tool to conquer this market
Berdins indicator (EMA + POC + RSI Signals + Alerts)This script is a KS-style lookalike indicator (for educational purposes only):
- Plots 3 EMAs:
• EMA 20 (red)
• EMA 50 (blue)
• EMA 238 (orange)
- Calculates a simplified Point of Control (POC) line based on volume over the last N bars
- Generates Buy/Sell signals when RSI momentum aligns with EMA trend direction
- Includes alerts for both Buy and Sell signals
Use case: Designed to help visualize market trend, key levels, and potential entry/exit points.
Multi-Timeframe Golden Cross_Raden (DCMS)How the Script Works
The f_checkGoldenCross function:
Calculates the fast MA (50-day SMA) and slow MA (200-day SMA) for a given timeframe.
Returns true if a Golden Cross (fast MA crossing over slow MA upwards) occurs, false otherwise.
Detection per Timeframe:
Golden Crosses are checked for 8 timeframes: 1m, 5m, 15m, 1h, 4h, D, W, M.
If a crossover occurs, a green label with the text "GC" + the timeframe appears above the candle.
Visualization:
The fast MA (blue) and slow MA (red) are plotted on the current timeframe chart.
The Golden Cross label appears for each timeframe that detects a crossover.
Alerts:
Automatic alerts for Golden Crosses on the current timeframe chart (via maFastCurrent and maSlowCurrent).
Additional alerts for each timeframe (1m, 5m, etc.) so you can set notifications separately in TradingView.
___---Important Notes---___
Historical Data: Ensure the chart has enough bars (at least 200 for the 200-day MA) on the higher timeframes (W, M). If there's not enough data, the Golden Cross on those timeframes won't be detected.
Performance: Since we're explicitly checking 8 timeframes, this script should be lighter than an array loop, but still performs well on charts with long data sets.
Customization: If you'd like to add filters (for example, volume or RSI to confirm the Golden Cross), let me know, and I'll add them!
Debugging: If the error persists, copy and paste the error message from PineScript Editor or a screenshot, and I'll help you troubleshoot.