Trinity Multi-Timeframe MA TrendOriginal script can be found here: {Multi-Timeframe Trend Analysis } www.tradingview.com
1. all credit the original author www.tradingview.com
2. why change this script:
- added full transparency function to each EMA
- changed to up and down arrows
- change the dashboard to be able to resize and reposition
How to Use This Indicator
This indicator, "Trinity Multi-Timeframe MA Trend," is designed for TradingView and helps visualize Exponential Moving Average (EMA) trends across multiple timeframes. It plots EMAs on your chart, fills areas between them with directional colors (up or down), shows crossover/crossunder labels, and displays a dashboard table summarizing EMA directions (bullish ↑ or bearish ↓) for selected timeframes. It's useful for multi-timeframe analysis in trading strategies, like confirming trends before entries.
Configure Settings (via the Gear Icon on the Indicator Title):
Timeframes Group: Set up to 5 custom timeframes (e.g., "5" for 5 minutes, "60" for 1 hour). These determine the multi-timeframe analysis in the dashboard. Defaults: 5m, 15m, 1h, 4h, 5h.
EMA Group: Adjust the lengths of the 5 EMAs (defaults: 5, 10, 20, 50, 200). These are the moving averages plotted on the chart.
Colors (Inline "c"): Choose uptrend color (default: lime/green) and downtrend color (default: purple). These apply to plots, fills, labels, and dashboard cells.
Transparencies Group: Set transparency levels (0-100) for each EMA's plot and fill (0 = opaque, 100 = fully transparent). Defaults decrease from EMA1 (80) to EMA5 (0) for a gradient effect.
Dashboard Settings Group (newly added):
Dashboard Position: Select where the table appears (Top Right, Top Left, Bottom Right, Bottom Left).
Dashboard Size: Choose text size (Tiny, Small, Normal, Large, Huge) to scale the table for better visibility on crowded charts.
Understanding the Visuals:
EMA Plots: Five colored lines on the chart (EMA1 shortest, EMA5 longest). Color changes based on direction: uptrend (your selected up color) if rising, downtrend (down color) if falling.
Fills Between EMAs: Shaded areas between consecutive EMAs, colored and transparent based on the faster EMA's direction and your transparency settings.
Crossover Labels: Arrow labels (↑ for crossover/uptrend start, ↓ for crossunder/downtrend start) appear on the chart at EMA direction changes, with tooltips like "EMA1".
Dashboard Table (top-right by default):
Rows: EMA1 to EMA5 (with lengths shown).
Columns: Selected timeframes (converted to readable format, e.g., "5m", "1h").
Cells: ↑ (bullish/up) or ↓ (bearish/down) arrows, colored green/lime or purple based on trend, with fading transparency for visual hierarchy.
Use this to quickly check alignment across timeframes (e.g., all ↑ in multiple TFs might signal a strong uptrend).
Trading Tips:
Trend Confirmation: Look for alignment where most EMAs in higher timeframes are ↑ (bullish) or ↓ (bearish).
Entries/Exits: Use crossovers on the chart EMAs as signals, confirmed by the dashboard (e.g., enter long if lower TF EMA crosses up and higher TFs are aligned).
Customization: On lower timeframe charts, set dashboard timeframes to higher ones for top-down analysis. Adjust transparencies to avoid chart clutter.
Limitations: This is a trend-following tool; combine with volume, support/resistance, or other indicators. Backtest on historical data before live use.
Performance: Works best on trending markets; may whipsaw in sideways conditions.
Wskaźniki i strategie
poc by Jonathanhello community. welcome to my chat pattern detector. this is not a magic tool but a tool that you can use to analyse the market and also make sure you combine it with other indicators
MSFusion- MultiScoreFusionThis Pine Script strategy, MSFusion - MultiScoreFusion, combines Ichimoku components and Hull Moving Average (HMA) signals to generate a composite score for each bar.
It evaluates several conditions—such as price crossing above HMA55, Tenkan and Kijun lines, and price position relative to the Ichimoku cloud—and assigns scores to each.
The script displays a label with the total score and a tooltip listing the contributing conditions when a strong bullish signal is detected. This approach helps traders quickly assess market momentum and trend strength using multiple technical criteria.
Stochastic Divergence MarkerThis script marks all the times the price movement moves contradictory to the Stochastic. This usually shows a change in momentum and thus a possible reversal.
Cumulative Buy/Sell — Fixed VersionCumulative volume can be used to identify buyer and seller activity by showing the net buying or selling pressure over time.
Trend Magic EMA RMI Trend Sniper📌 Indicator Name:
Trend Magic + EMA + MA Smoothing + RMI Trend Sniper
📝 Description:
This is a multi-functional trend and momentum indicator that combines four powerful tools into a single overlay:
Trend Magic – Plots a dynamic support/resistance line based on CCI and ATR.
Helps identify trend direction (green = bullish, red = bearish).
Acts as a trailing stop or dynamic level for trade entries/exits.
Exponential Moving Average (EMA) – Smooths price data to highlight the underlying trend.
Customizable length, source, and offset.
Serves as a trend filter or moving support/resistance.
MA Smoothing + Bollinger Bands (Optional) – Adds a secondary smoothing filter based on your choice of SMA, EMA, WMA, VWMA, or SMMA.
Optional Bollinger Bands visualize volatility expansion/contraction.
Great for spotting consolidations and breakout opportunities.
RMI Trend Sniper – A momentum-based system combining RSI and MFI.
Highlights bullish (green) or bearish (red) conditions.
Plots a Range-Weighted Moving Average (RWMA) channel to gauge price positioning.
Provides visual BUY/SELL labels and optional bar coloring for fast decision-making.
📊 Uses & Trading Applications:
✅ Trend Identification: Spot the dominant market direction quickly with Trend Magic & EMA.
✅ Momentum Confirmation: RMI Sniper helps confirm whether the market has strong bullish or bearish pressure.
✅ Dynamic Support/Resistance: Trend Magic & EMA act as adaptive levels for stop-loss or trailing positions.
✅ Volatility Analysis: Optional Bollinger Bands show squeezes and potential breakout setups.
✅ Entry/Exit Signals: BUY/SELL alerts and color-coded candles make spotting trade opportunities simple.
💡 Best Use Cases:
Swing Trading: Follow Trend Magic + EMA alignment for higher probability trades.
Scalping/Intraday: Use RMI signals with bar coloring for quick momentum entries.
Trend Following Strategies: Ride trends until Trend Magic flips direction.
Breakout Trading: Watch for price closing outside the Bollinger Bands with RMI confirmation.
Tomorrow's Pivot Points [SMH]這個TradingView指標不同於內置的Pivot Point指標,因為它能夠提前顯示明天的Pivot Point。透過預測下一交易日的支撐與阻力位置,交易員可以更早部署策略,為隔日的市場波動做好準備。
This TradingView indicator is different from the built-in Pivot Point tool because it can display tomorrow’s Pivot Points in advance. By forecasting support and resistance levels for the next trading day, traders can position their strategies earlier and be well-prepared for upcoming market movements.
Hybrid RSI Strategy [Heifereum ]This is a hybrid script that combines visual RSI indicator signals with an optional backtestable trading strategy.
BUY Entry: When RSI crosses above the oversold level (default 30)
SELL Exit: When RSI crosses below the overbought level (default 70)
Timeframe: Works best on trending assets (crypto, forex, indices) in 5min to 1H
Backtest Toggle: Turn ON/OFF live testing using the Enable Backtest Mode? setting
Visual Cues: Buy/Sell labels, background coloring, and alerts ready for webhook automation
Use this strategy to visually explore RSI dynamics, run performance backtests, or hook up to external bots via alerts.
Previous Day OHLCDescription :
This script automatically draws the previous day’s Open, High, Low, and Close levels on each trading day. Traders widely use these reference levels to identify key support and resistance zones, potential breakout areas, and intraday bias.
The levels update daily and remain visible throughout the trading session to quickly identify price interactions with yesterday’s important zones.
Features :
Plots the previous day’s Open, High, Low, and Close.
Levels extend across the full trading day for easy reference.
Useful for intraday and swing traders tracking price reactions at historical levels.
AlgoPilotX - Market Stages (VWMA + Reversals)This indicator identifies key market stages and potential trend reversals using stacked VWMAs. Bullish and bearish reversals are marked with green/up and red/down arrows, with a handy top-right info box showing the color coding for each stage.
It classifies the market into four stages:
Acceleration (Green) : All VWMAs stacked bullish, price above VWMA – strong upward momentum.
Accumulation (Silver) : VWMAs not stacked bullish, price above VWMA – early bullish build-up.
Deceleration (Red) : All VWMAs stacked bearish, price below VWMA – strong downward momentum.
Distribution (Orange) : VWMAs not stacked bearish, price below VWMA – early bearish buildup.
It also highlights Bullish and Bearish Reversals with green/up and red/down arrows (“R”) directly on the chart, making it easy to spot potential trend changes.
A fixed info box in the top-right corner summarizes the color coding for quick reference.
Alerts are available for all stages and reversals, so you can automate notifications for key market events.
ORB + Session VWAP Pro (London & NY) — fixedORB + Session VWAP Pro (London & NY) — Listing copy (EN)
What it is
A clean, non-repainting intraday tool that fuses the classic Opening Range Breakout (ORB) with a session-anchored VWAP filter for London and New York. It highlights only the higher-quality breakouts (above/below session VWAP), adds an optional retest confirmation, and scores each signal with an intuitive Confidence metric (0–100).
Why it works
• ORB provides the day’s first actionable structure (range high/low).
• Session VWAP filters “cheap” breaks and favors flows aligned with session value.
• Optional retest reduces first-tick whipsaws.
• Confidence blends breakout depth (vs ATR), VWAP slope and band distance.
Key visuals
• LDN/NY OR High/Low (line break style) + optional OR boxes.
• Active Session VWAP (resets per signal window; falls back to daily VWAP outside).
• Optional VWAP bands (stdev or %).
• Session shading (London/NY windows).
• Signal markers (LDN BUY/SELL, NY BUY/SELL) fired with cooldown.
Signals
• London Long / Short: Break of LDN OR High/Low ± ATR buffer, aligned with VWAP side.
• NY Long / Short: Same logic during NY window.
• Retest (optional): Requires a tag back to the OR level ± tolerance before confirmation.
• Confidence: 0–100; gate via Min Confidence (default 55).
Inputs that matter
• Open Range Length (min): Default 15.
• London/NY times & timezones.
• ATR buffer & retest tolerance.
• Bands mode: Stdev (with lookback) or % (e.g., 1%).
• Signal cooldown: Avoids clutter on fast moves.
Non-repaint policy
• OR lines build within fixed time windows using the current bar’s timestamp.
• VWAP is cumulative within the session window; no lookahead.
• All ta.crossover/ta.crossunder are precomputed every bar (no conditional execution).
• Signals are based on live bar values, not future bars.
⸻
Quick start (examples)
1) EURUSD, London momentum
• Chart: 5m or 15m.
• OR: 15 min starting 08:00 Europe/London.
• Signals: Use defaults; keep ATR buffer = 0.2 and Retest = ON, Min Confidence ≥ 55.
• Play:
• BUY when price breaks LDN OR High + buffer and stays above VWAP; retest confirms.
• Trail behind VWAP or band #1; partials into band #2.
2) NAS100, New York breakout & run
• Chart: 5m.
• NY window: 09:30 America/New_York, OR = 15 min.
• Retest OFF on high momentum days; Min Confidence ≥ 60.
• Use band mode Stdev, bandLen=50, show ±1/±2.
• Momentum continuation: add on pullbacks that hold above VWAP after the breakout.
3) XAUUSD, London fake & VWAP fade
• Chart: 5m.
• Keep Retest ON; accept only shorts that break OR Low but retest fails back under VWAP.
• Confidence gate ≥ 50 to allow more mean-reversion setups.
⸻
Pro tips
• Adjust ATR buffer to the instrument: FX 0.15–0.25, indices 0.20–0.35, metals 0.20–0.30.
• Retest ON for choppy conditions; OFF for news momentum.
• Use VWAP bands: take partials at ±1; stretch targets at ±2/±3.
• Session timezones are explicit (London/New York). Ensure they match your instrument’s behavior.
• Pair with a higher-TF bias (e.g., 1H/4H trend) for directional filtering.
⸻
Alerts (ready to use)
• ORB+SVWAP — LDN Long, LDN Short, NY Long, NY Short
(Respect your cooldown; alerts fire only after confirmation and confidence gate.)
⸻
Known limits & notes
• Designed for intraday. On 1D+ charts, session windows compress.
• If your broker session differs from London/NY clocks on a holiday, adjust input times.
• Session-anchored VWAP uses the script’s signal window, not exchange sessions, by design.
Monday's Range Superpowerkyu🔔 Settings
You can customize the colors and toggle ON/OFF in the indicator settings.
Works on daily, hourly, and minute charts.
Easily visualize Monday’s high, low, and mid-line range.
📌 1. Support & Resistance with Monday’s Range
Monday High: Acts as the first resistance of the week.
◽ Example: If price breaks above Monday’s high after Tuesday, it signals potential bullish continuation → long setup.
Monday Low: Acts as the first support of the week.
◽ Example: If price breaks below Monday’s low, it signals bearish continuation → short setup.
📌 2. Mid-Line Trend Confirmation
Monday Mid-Line = average price of Monday.
Price above mid-line → bullish bias.
Price below mid-line → bearish bias.
Use mid-line breaks as entry confirmation for long/short positions.
📌 3. Breakout Strategy
Break of Monday’s High = bullish breakout → long entry.
Break of Monday’s Low = bearish breakout → short entry.
Place stop-loss inside Monday’s range for a conservative approach.
📌 4. False Breakout Strategy
If price breaks Monday’s high/low but then falls back inside Monday’s range, it is a False Breakout.
Strategy: Trade in the opposite direction.
◽ False Breakout at High → short.
◽ False Breakout at Low → long.
Stop-loss at the wick (extreme point) of the failed breakout.
📌 5. Range-Based Scalping
Use Monday’s high and low as a trading range.
Sell near Monday’s High, buy near Monday’s Low, repeat until breakout occurs.
📌 6. Weekly Volatility Forecast
Narrow Monday range → higher chance of strong trend later in the week.
Wide Monday range → lower volatility expected during the week.
📌 7. Pattern & Trend Analysis within Monday Range
Look for candlestick patterns around Monday’s High/Low/Mid-Line.
◽ Example: Double Top near Monday’s High = short setup.
◽ Repeated bounce at Mid-Line = strong long opportunity.
✅ Summary
The Monday’s Range (Superpowerkyu) Indicator helps traders:
Identify weekly support & resistance
Confirm trend direction with Mid-Line
Trade breakouts & false breakouts
Apply range scalping strategies
Forecast weekly volatility
⚡ Especially, the False Breakout strategy is powerful as it captures failed moves and sudden sentiment reversals.
ARO Pro — Adaptive Regime OscillatorARO Pro — Adaptive Regime Oscillator (v6)
ARO Pro turns your chart into a context-aware decision system. It classifies every bar as Trending (up or down) or Ranging in real time, then switches its math to match the regime: trend strength is measured with an ATR-normalized EMA spread, while range behavior is tracked with a center-based RSI oscillator. The result is cleaner entries, fewer false signals, and faster reads on regime shifts—without repainting.
⸻
How it works (under the hood)
1. Regime Detection (Kaufman ER):
ARO computes Kaufman’s Efficiency Ratio (ER) over a user-defined length.
- ER > threshold → Trending (direction from EMA fast vs. EMA slow)
- ER ≤ threshold → Ranging
2. Adaptive Oscillator Core:
- Trend mode: (EMA(fast) − EMA(slow)) / ATR * 100 → momentum normalized by volatility.
- Range mode: RSI(length) − 50 → mean-reversion pressure around zero.
3. Volatility Filter (optional):
Blocks signals if ATR as % of price is below a floor you set. This reduces noise in thin or quiet markets.
4. MTF Trend Filter (optional & non-repainting):
Confirms signals only if a higher timeframe EMA(fast) > EMA(slow) for longs (or < for shorts). Implemented with lookahead_off and gaps_on.
5. Confirmation & Alerts:
Signals are locked only on bar close (barstate.isconfirmed) and offered via three alert types: ARO Long, ARO Short, ARO Regime Shift.
⸻
What you see on the chart
• Background heat:
• Green = Trending Up, Red = Trending Down, Gray = Range.
• ARO line (panel): Adaptive oscillator (trend/value colors).
• Signal markers: ▲ Long / ▼ Short on confirmed bars.
• Guide lines: Upper/Lower thresholds (±K) and zero line.
• Info Panel (table): Regime, ER, ATR %, ARO, HTF status (OK/BLOCK/OFF), and a Confidence light.
• Debug Overlay (optional): Quick view of thresholds and raw conditions for tuning.
⸻
Inputs (quick reference)
• Signals: Fast/Slow EMA, RSI length, ER length & threshold, oscillator smoothing, signal threshold.
• Filters: ATR length, minimum ATR% (volatility floor), toggle for volatility filter.
• Visuals: Background on/off, Info Panel on/off, Debug overlay on/off.
• MTF (safe): Toggle + HTF timeframe (e.g., 240, D, W).
⸻
Interpreting signals
• Long: Trend regime AND fast EMA > slow EMA AND ARO ≥ +threshold (confirmed bar, filters passing).
• Short: Trend regime AND fast EMA < slow EMA AND ARO ≤ −threshold (confirmed bar, filters passing).
• Regime Shift: Alert when ER moves the market from Range → Trend or flips trend direction.
⸻
Practical use cases & examples
1) Intraday momentum alignment (scalps to day trades)
• Timeframes: 5–15m with HTF filter = 4H.
• Flow:
1. Wait for Trend Up background + HTF OK.
2. Enter on ▲ Long when ARO crosses above +threshold.
3. Stops: 1–1.5× ATR(14) below trigger bar or below last micro swing.
4. Exits: Partial at 1× ATR, trail remainder with an ATR stop or when ARO reverts to zero/Regime Shift.
• Why it works: You’re trading with the dominant higher-timeframe structure while avoiding low-volatility fakeouts.
2) Swing trend following (cleaner trend legs)
• Timeframes: 1H–4H with HTF filter = 1D.
• Flow:
1. Only act in Trend background aligned with HTF.
2. Add on subsequent ▲ signals as ARO maintains positive (or negative) territory.
3. Reduce or exit on Regime Shift (Trend → Range or direction flip) or when ARO crosses back through zero.
• Stops/targets: Initial 1.5–2× ATR; move to breakeven once the trade gains 1× ATR; trail with a multiple-ATR or structure lows/highs.
3) Range tactics (fade the extremes)
• Timeframes: 15m–1H or 1D on mean-reverting names.
• Flow:
1. Act only when background = Range.
2. Fade moves when ARO swings from ±extremes back toward zero near well-defined S/R.
3. Exit at the opposite band or zero line; abort if a Regime Shift to Trend occurs.
• Tip: Increase ER threshold (e.g., 0.35–0.40) to label more bars as Range on choppy instruments.
4) Event days & macro filters
• Approach: Raise the volatility floor (Min ATR%) on macro days (FOMC, CPI).
• Effect: You’ll ignore “fake” micro swings in the minutes leading up to releases and catch only post-event confirmed momentum.
⸻
Parameter tuning guide
• ER Threshold:
• Lower (0.20–0.30) = more Trend bars, more signals, higher noise.
• Higher (0.35–0.45) = stricter trend confirmation, fewer but cleaner signals.
• Signal Threshold (±K):
• Raise to reduce whipsaws; lower for earlier but noisier triggers.
• Volatility Floor (ATR%):
• Thin/quiet assets benefit from a higher floor (e.g., 0.3–0.6).
• Highly liquid futures/forex can work with lower floors.
• HTF Filter:
• Keep it ON when you want higher win consistency; turn OFF for tactical counter-trend plays.
⸻
Alerts (recommended setup)
• “ARO Long” / “ARO Short”: Entry-style alerts on confirmed signals.
• “ARO Regime Shift”: Context alert to scale in/out or switch playbooks (trend vs. range).
All alerts are non-repainting and fire only when the bar closes.
⸻
Best practices & combinations
• Price action & S/R: Use ARO to define when to engage, and price structure to define where (breakout levels, pullback zones).
• VWAP/Session tools: In intraday trends, ▲ signals above VWAP tend to carry; avoid shorts below session VWAP in strong downtrends.
• Risk first: Size by ATR; never let a single ARO event override your max risk per trade.
• Portfolio filter: On indices/ETFs, enable HTF filter and a stricter ER threshold to ride regime legs.
⸻
Non-repaint and implementation notes
• The script does not repaint:
• Signals are computed and locked on bar close (barstate.isconfirmed).
• All higher-timeframe data uses request.security(..., lookahead_off, gaps_on).
• No future indexing or negative offsets are used.
• The Info Panel and Debug overlay are purely visual aids and do not change signal logic.
⸻
Limitations & tips
• Chop sensitivity: In hyper-choppy symbols, consider raising ER threshold and the signal threshold, and enable HTF filter.
• Instrument personality: EMAs/RSI lengths and volatility floor often need a quick 2–3 minute tune per asset class (FX vs. crypto vs. equities).
• No guarantees: ARO improves context and timing, but it is not a promise of profitability—always combine with risk management.
⸻
Quick start (TL;DR)
1. Timeframes: 5–15m intraday (HTF = 4H); 1H–4H swing (HTF = 1D).
2. Use defaults, then tune ER threshold (0.25–0.40) and Signal threshold (±20).
3. Enable Volatility Floor (e.g., 0.2–0.5 ATR%) on quiet assets.
4. Trade ▲ / ▼ only in matching Trend background; fade extremes only in Range background.
5. Set alerts for Long, Short, and Regime Shift; manage risk with ATR stops.
⸻
Author’s note: ARO Pro is designed to be clear, adaptive, and operational out of the box. If you publish variants (e.g., different ER logic, alternative trend cores), please credit the original and document any changes so users can compare behavior reliably.
Squeeze Momentum Indicator [Carlos Mauricio Vizcarra]El squezee Momentum para la comunidad de Rafael Cepeda trader
Double Median SD Bands | MisinkoMasterThe Double Median SD Bands (DMSDB) is a trend-following tool designed to capture market direction in a way that balances responsiveness and smoothness, filtering out excessive noise without introducing heavy lag.
Think of it like a house:
A jail (too restrictive) makes you miss opportunities.
No house at all (too unsafe) leaves you exposed to false signals.
DMSDB acts like a comfortable house with windows—protecting you from the noise while still letting you see what’s happening in the market.
🔎 Methodology
The script works in the following steps:
Standard Deviation (SD) Calculation
Computes the standard deviation of the selected price source (ohlc4 by default).
The user can choose whether to use biased (sample) or unbiased (population) standard deviation.
Raw Bands Construction
Upper Band = source + (SD × multiplier)
Lower Band = source - (SD × multiplier)
The multiplier can be adjusted for tighter or looser bands.
First Median Smoothing
Applies a median filter over half of the length (len/2) to both bands.
This reduces noise without creating excessive lag.
Second Median Smoothing
Applies another median filter over √len to the already smoothed bands.
This produces a balance:
Cutting the length → maintains responsiveness.
Median smoothing → reduces whipsaws.
The combination creates a fast yet clean band system ideal for trend detection.
📈 Trend Logic
The trend is detected based on price crossing the smoothed bands:
Long / Bullish (Purple) → when price crosses above the upper band.
Short / Bearish (Gold) → when price crosses below the lower band.
Neutral → when price remains between the bands.
🎨 Visualization
Upper and lower bands are plotted as colored lines.
The area between the bands is filled with a transparent zone that reflects the current bias:
Purple shading = Bullish zone.
Golden shading = Bearish zone.
This creates a visual tunnel for trend confirmation, helping traders quickly identify whether price action is trending or consolidating.
⚡ Features
Adjustable Length parameter (len) for dynamic control.
Adjustable Band Multiplier for volatility adaptation.
Choice between biased vs. unbiased standard deviation.
Double median smoothing for clarity + responsiveness.
Works well on cryptocurrencies (e.g., BTCUSD) but is flexible enough for stocks, forex, and indices.
✅ Use Cases
Trend Following → Ride trends by staying on the correct side of the bands.
Entry Timing → Use crossovers above/below bands for entry triggers.
Filter for Other Strategies → Can serve as a directional filter to avoid trading against the trend.
⚠️ Limitations & Notes
This is a trend-following tool, so it will perform best in trending conditions.
In sideways or choppy markets, whipsaws may still occur (although smoothing reduces them significantly).
The indicator is not a standalone buy/sell system. For best results, combine with volume, momentum, or higher-timeframe confluence.
All of this makes for a really unique & original tool, as it removes noise but keeps good responsitivity, using methods from many different principles which make for a smooth a very useful tool
ICT Daily Bias based on weekly by RKGiven that Weekly bias is determined ,This indicator helps you to identify the Daily Bias.
So best of this indicator to determine Daily bias is to first Implement it on weekly and then Daily
If weekly and Daily both are bullish then look for LONG in lower timeframe.
If weekly and Daily both are bearish then look for SHORTS in lower timeframe.
BioSwarm Imprinter™BioSwarm Imprinter™ — Agent-Based Consensus for Traders
What it is
BioSwarm Imprinter™ is a non-repainting, agent-based sentiment oscillator. It fuses many short-to-medium lookback “opinions” into one 0–100 consensus line that is easy to read at a glance (50 = neutral, >55 bullish bias, <45 bearish bias). The engine borrows from swarm intelligence: many simple voters (agents) adapt their influence over time based on how well they’ve been predicting price, so the crowd gets smarter as conditions change.
Use it to:
• Detect emerging trends sooner without overreacting to noise.
• Filter mean-reversion vs continuation opportunities.
• Gate entries with a confidence score that reflects both strength and persistence of the move.
• Combine with your execution tools (VWAP/ORB/levels) as a state filter rather than a trade signal by itself.
⸻
Why it’s different
• Swarm learning: Each agent improves or decays its “fitness” depending on whether its vote matched the next bar’s direction. High-fitness agents matter more; weak agents fade.
• Multi-horizon by design: The crowd is composed of fixed, simple lookbacks spread from lenMin to lenMax. You get a blended, robust view instead of a single fragile parameter.
• Two complementary lenses: Each agent evaluates RSI-style balance (via Wilder’s RMA) and momentum (EMA deviation). You decide the weight of each.
• No repaint, no MTF pitfalls: Everything runs on the chart’s timeframe with bar-close confirmation; no request.security() or forward references.
• Actionable UI: A clean consensus line, optional regime background, confidence heat, and triangle markers when thresholds are crossed.
⸻
What you see on the chart
• Consensus line (0–100): Smoothed to your preference; color/area makes bull/bear zones obvious.
• Regime coloring (optional): Light green in bull zone, light red in bear zone; neutral otherwise.
• Confidence heat: A small gauge/number (0–100) that combines distance from neutral and recent persistence.
• Markers (optional): Triangles when consensus crosses up through your bull threshold (e.g., 55) or down through your bear threshold (e.g., 45).
• Info panel (optional): Consensus value, regime, confidence, number of agents, and basic diagnostics.
⸻
How it works (under the hood)
1. Horizon bins: The range is divided into numBins. Each bin has a fixed, simple integer length (crucial for Pine’s safety rules).
2. Per-bin features (computed every bar):
• RSI-style balance using Wilder’s RMA (not ta.rsi()), then mapped to −1…+1.
• Momentum as (close − EMA(L)) / EMA(L) (dimensionless drift).
3. Agent vote: For its assigned bin, an agent forms a weighted score: score = wRSI*RSI_like + wMOM*Momentum. A small dead-band near zero suppresses chop; votes are +1/−1/0.
4. Fitness update (bar close): If the agent’s previous vote agreed with the next bar’s direction, multiply its fitness by learnGain; otherwise by learnPain. Fitness is clamped so it never explodes or dies.
5. Consensus: Weighted average of all votes using fitness as weights → map to 0–100 and smooth with EMA.
Why it doesn’t repaint:
• No future references, no MTF resampling, fitness updates only on confirmed bars.
• All TA primitives (RMA/EMA/deltas) are computed every bar unconditionally.
⸻
Signals & confidence
• Bullish bias: consensus ≥ bullThr (e.g., 55).
• Bearish bias: consensus ≤ bearThr (e.g., 45).
• Confidence (0–100):
• Distance score: how far consensus is from 50.
• Momentum score: how strong the recent change is versus its recent average.
• Combined into a single gate; start filtering entries at ≥60 for higher quality.
Tip: For range sessions, raise thresholds (60/40) and increase smoothing; for momentum sessions, lower smoothing and keep thresholds at 55/45.
⸻
Inputs you’ll actually tune
• Agents & horizons:
• N_agents (e.g., 64–128)
• lenMin / lenMax (e.g., 6–30 intraday, 10–60 swing)
• numBins (e.g., 12–24)
• Weights & smoothing:
• wRSI vs wMOM (e.g., 0.7/0.3 for FX & indices; 0.6/0.4 for crypto)
• deadBand (0.03–0.08)
• consSmooth (3–8)
• Thresholds & hygiene:
• bullThr/bearThr (55/45 default)
• cooldownBars to avoid signal spam
⸻
Playbooks (ready-to-use)
1) Breakout / Trend continuation
• Timeframe: 15m–1h for day/swing.
• Filter: Take longs only when consensus > 55 and confidence ≥ 60.
• Execution: Use your ORB/VWAP/pullback trigger for entry. Trail with swing lows or 1.5×ATR. Exit on a close back under 50 or when a bearish signal prints.
2) Mean reversion (fade)
• When: Sideways days or low-volatility clusters.
• Setup: Increase deadBand and consSmooth.
• Signal: Bearish fades when consensus rolls over below ≈55 but stays above 50; bullish fades when it rolls up above ≈45 but stays below 50.
• Targets: The neutral zone (~50) as the first take-profit.
3) Multi-TF alignment
• Keep BioSwarm on 1H for bias, execute on 5–15m:
• Only take entries in the direction of the 1H consensus.
• Skip counter-bias scalps unless confidence is very low (explicit mean-reversion plan).
⸻
Integrations that work
• DynamoSent Pro+ (macro bias): Only act when macro bias and swarm consensus agree.
• ORB + Session VWAP Pro: Trade London/NY ORB breakouts that retest while consensus >55 (long) or <45 (short).
• Levels/Orderflow: BioSwarm is your “go / no-go”; execution stays with your usual triggers.
⸻
Quick start
1. Drop the indicator on a 1H chart.
2. Start with: N_agents=64, lenMin=6, lenMax=30, numBins=16, deadBand=0.06, consSmooth=5, thresholds 55/45.
3. Trade only when confidence ≥ 60.
4. Add your favorite execution tool (VWAP/levels/OR) for entries & exits.
⸻
Non-repainting & safety notes
• No request.security(); no hidden lookahead.
• Bar-close confirmation for fitness and signals.
• All TA calls are unconditional (no “sometimes called” warnings).
• No series-length inputs to RSI/EMA — we use RMA/EMA formulas that accept fixed simple ints per bin.
⸻
Known limits & tips
• Too many signals? Raise deadBand, increase consSmooth, widen thresholds to 60/40.
• Too few signals? Lower deadBand, reduce consSmooth, narrow thresholds to 53/47.
• Over-fitting risk: Keep learnGain/learnPain modest (e.g., ×1.04 / ×0.96).
• Compute load: Large N_agents × numBins is heavier; scale to your device.
⸻
Example recipes
EURUSD 1H (swing):
lenMin=8, lenMax=34, numBins=16, wRSI=0.7, wMOM=0.3, deadBand=0.06, consSmooth=6, thr=55/45
Buy breakouts when consensus >55 and confidence ≥60; confirm with 5–15m pullback to VWAP or level.
SPY 15m (US session):
lenMin=6, lenMax=24, numBins=12, consSmooth=4, deadBand=0.05
On trend days, stay with longs as long as consensus >55; add on shallow pullbacks.
BTC 1H (24/7):
Increase momentum weight: wRSI=0.6, wMOM=0.4, extend lenMax to ~50. Use dynamic stops (ATR) and partials on strong verticals.
⸻
Final word
BioSwarm is a state engine: it tells you when the market is primed to continue or mean-revert. Pair it with your entries and risk framework to turn that state into trades. If you’d like, I can supply a companion strategy template that consumes the consensus and back-tests the three playbooks (Breakout/Fade/Flip) with standard risk management.
15 Minute Period Boxes (to be used on 1 min chart)Automatic period detection, this scripts draws out a box for every 15min period, so you easily can get an overview of how the 15 minute chart looks like.
Fiery River### Description of the "Fiery River" (FR) Indicator
**Overview of the Indicator**
"Fiery River" (abbreviated as FR) is a technical indicator for TradingView, written in Pine Script version 6. It's designed for traders who incorporate Fibonacci levels with moving averages to analyze support and resistance zones. The indicator dynamically plots levels based on a selected moving average (MA) and Fibonacci multipliers, displaying them on the current timeframe and an additional secondary timeframe. This helps visualize potential reversal or continuation points, making analysis more comprehensive. The name "Fiery River" evokes a "fiery" flow of levels that "stream" across the chart, adapting to price movements. 🔥
**Key Features**
- **Level Construction**: The indicator calculates a moving average (EMA, SMA, WMA, RMA, or HMA) from the closing price and multiplies it by specified Fibonacci coefficients (0.618, 0.5, 0.382, 0.27, 0.18 for "long" levels and 1.618, 1.5, 1.382 for "short" levels). This creates 10 lines: 5 for the current timeframe (fully visible) and 5 for the secondary timeframe (with semi-transparency for distinction).
- **Color Scheme**: Levels are colored in gray, red, orange, and green, with additional "short" variants for extensions.
- **Fills**: Green fills are added between level pairs to highlight areas of interest, making the chart more visually intuitive.
- **Alerts**: Automatic notifications when the price touches levels (e.g., "Price touches Red line"), helping you stay on top of key moments.
- **Multi-Timeframe Support**: Incorporates a secondary timeframe (e.g., daily if the main is hourly) for comparing levels across different scales.
**How to Use**
1. Add the indicator to your chart in TradingView.
2. Customize settings in the panel: Select MA type, period (default 89), secondary timeframe, and Fibonacci coefficients.
3. Analyze levels as potential entry/exit points: Gray and red for stronger zones, green for weaker ones. Use fills to identify ranges.
4. Enable alerts for real-time signals.
It's ideal for strategies based on Fibonacci and trends, but always combine with other tools for confirmation. 📈
**Advantages and Limitations**
- **Pros**: Highly customizable, visually clear, supports multiple MA types and timeframes. Great for scalping and swing trading.
- **Cons**: Can create a lot of lines on the chart, potentially overwhelming if not managed. May require testing for optimal settings on volatile assets.
If you need any adjustments, more details, or help with the code, just let me know! 😊
主力资金进出监控器Main Capital Flow Monitor-MEWINSIGHTMain Capital Flow Monitor Indicator
Indicator Description
This indicator utilizes a multi-cycle composite weighting algorithm to accurately capture the movement of main capital in and out of key price zones. The core logic is built upon three dimensions:
Multi-Cycle Pressure/Support System
Using triple timeframes (500-day/250-day/90-day) to calculate:
Long-term resistance lines (VAR1-3): Monitoring historical high resistance zones
Long-term support lines (VAR4-6): Identifying historical low support zones
EMA21 smoothing is applied to eliminate short-term fluctuations
Dynamic Capital Activity Engine
Proprietary VARD volatility algorithm:
VARD = EMA
Automatically amplifies volatility sensitivity by 10x when price approaches the safety margin (VARA×1.35), precisely capturing abnormal main capital movements
Capital Inflow Trigger Mechanism
Capital entry signals require simultaneous fulfillment of:
Price touching 30-day low zone (VARE)
Capital activity breaking recent peaks (VARF)
Weighted capital flow verified through triple EMA:
Capital Entry = EMA / 618
Visualization:
Green histogram: Continuous main capital inflow
Red histogram: Abnormal daily capital movement intensity
Column height intuitively displays capital strength
Application Scenarios:
Consecutive green columns → Main capital accumulation at bottom
Sudden expansion of red columns → Abnormal main capital rush
Continuous fluctuations near zero axis → Main capital washing phase
Core Value:
Provides 1-3 trading days early warning of main capital movements, suitable for:
Medium/long-term investors identifying main capital accumulation zones
Short-term traders capturing abnormal main capital breakouts
Risk control avoiding main capital distribution phases
Parameter Notes: Default parameters are optimized through historical A-share market backtesting. Users can adjust cycle parameters according to different market characteristics (suggest extending cycles by 20% for European/American markets).
Formula Features:
Multi-timeframe weighted synthesis technology
Dynamic sensitivity adjustment mechanism
Main capital activity intensity quantification
Early warning function for capital movements
Suitable Markets:
Stocks, futures, cryptocurrencies and other financial markets with obvious main capital characteristics.
指标名称:主力资金进出监控器
指标描述:
本指标通过多周期复合加权算法,精准捕捉主力资金在关键价格区域的进出动向。核心逻辑基于三大维度构建:
多周期压力/支撑体系
通过500日/250日/90日三重时间框架,分别计算:
长期压力线(VAR1-3):监控历史高位阻力区
长期支撑线(VAR4-6):识别历史低位承接区
采用EMA21平滑处理,消除短期波动干扰
动态资金活跃度引擎
独创VARD波动率算法:
当价格接近安全边际(VARA×1.35)时自动放大波动敏感度10倍,精准捕捉主力异动
资金进场触发机制
资金入场信号需同时满足:
价格触及30日最低区域(VARE)
资金活跃度突破近期峰值(VARF)
通过三重EMA验证的加权资金流:
资金入场 = EMA / 618
可视化呈现:
绿色柱状图:主力资金持续流入
红色柱状图:当日资金异动量级
柱体高度直观显示资金强度
使用场景:
绿色柱体连续出现 → 主力底部吸筹
红色柱体突然放大 → 主力异动抢筹
零轴附近持续波动 → 主力洗盘阶段
核心价值:
提前1-3个交易日预警主力资金动向,适用于:
中长线投资者识别主力建仓区间
短线交易者捕捉主力异动突破
风险控制规避主力出货阶段
参数说明:默认参数经A股历史数据回测优化,用户可根据不同市场特性调整周期参数(建议欧美市场延长周期20%)
Candle Colored by Volume Z-score with S/R [Morty]All Credits to :
I have just added Support and Resistance line
This indicator colors the candles according to the z-score of the trading volume. You can easily see the imbalance on the chart. You can use it at any timeframe.
In statistics, the standard score (Z-score) is the number of standard deviations by which the value of a raw score (i.e., an observed value or data point) is above or below the mean value of what is being observed or measured. Raw scores above the mean have positive standard scores, while those below the mean have negative standard scores.
This script uses trading volume as source of z-score by default.
Due to the lack of volume data for some index tickers, you can also choose candle body size as source of z-score.
features:
- custom source of z-score
- volume
- candle body size
- any of above two
- all of above two
- custom threshold of z-score
- custom color chemes
- custom chart type
- alerts
default color schemes:
- green -> excheme bullish imbalance
- blue -> large bullish imbalance
- red -> excheme bearish imbalance
- purple -> large bearish imbalance
- yellow -> low volume bars, indicates "balance", after which volatility usually increases and tends to continue the previous trend
Examples:
* Personally, I use dark theme and changed the candle colors to black/white for down/up.
Volume as Z-score source