AstraAlgo IndicatorOVERVIEW
The AstraAlgo Indicator delivers precise, actionable trade signals on TradingView. With configurable signal modes, dynamic support and resistance, and a fully adjustable alerts system, it helps traders make informed decisions and manage risk effectively.
SIGNAL MODES
Signal Modes are the core of the AstraAlgo Indicator, providing users with proprietary trade signals tailored to their preferred complexity and style.
BAR COLORING
Bar Coloring provides a clear visual distinction between bullish and bearish candlesticks, allowing traders to interpret price action at a glance. This feature helps identify momentum and trend direction without analyzing raw price data.
ASTRA CLOUD
Astra Cloud is a dynamic support and resistance overlay that visually highlights key price zones on your TradingView charts. These zones adjust in real time to reflect market movements, helping traders identify areas of potential price reaction.
ALERTS
Alerts in the AstraAlgo Indicator are designed to keep traders informed of key market movements in real time. They notify you whenever a significant trading signal appears on your chart, ensuring you can act promptly even when you’re away from TradingView.
Indicators and strategies
Top 6 Stocks Oscillator with VWAPai made this oscillator. only used on 1 min. not sure how it works so use at your own risk
Smart Session Levels - Step 1 (NY Prep Lines)this indicator shows 3 vertical lines at 18:00, 00:00, 06:00 . For easier way to see Asian high Asian low London high and London low levels for preparation before trading at New York session.
AstraAlgo BacktesterOVERVIEW
The AstraAlgo Backtester allows traders to simulate and evaluate trading strategies directly on TradingView. By simulating trades across different timeframes and markets, it provides valuable insights into win rates, drawdowns, and overall strategy effectiveness.
SIGNAL MODES
Signal Modes generate proprietary trade signals based on live price data. Users can choose between Off, Basic, Advanced, or Custom modes to evaluate strategies under different conditions and refine their trading approach.
ADJUSTABLE BACKTESTING
Parameters for historical simulations can be customized to test different market conditions and trading scenarios. This allows traders to measure strategy performance, including win rate, profit/loss, and risk/reward ratios, helping refine and optimize strategies before live execution.
BAR COLORING
Bar Coloring highlights bullish and bearish bars on historical charts, allowing traders to visually assess trend direction and trade outcomes during backtesting. This makes it easier to analyze momentum and strategy effectiveness at a glance.
ASTRA CLOUD
Astra Cloud overlays dynamic support and resistance levels on live price data. These zones adapt automatically to past market movements, helping traders identify areas where trades would have reacted, aiding strategy evaluation and optimization.
ORB + Prev Close — [GlutenFreeCrypto]Draws a red line at the high of the first 5 min candle, draws a green line at the bottom of the first 5 min candle, draws a grey line at midpoint. Lines extend until market close (4pm) or after-hours 98pm) or extend the next day pre-market (until 9:30am). Closing blue dotted line is drawn at closing price, and extends in after-hours and pre-market.
EMA Crossover Strategy (15m)50 and 200 ema crossing when leaving anchor. when 50 and 200 crosses will give you direction of where market is going. wait for a pull back and take trade. sl on highest or lowest point of apex tp open . when you see multiple equal ( low or High) get put of trade.
Pivot Rider Strategy📈 The trading strategy "Pivot Rider" is based on the breakout of key pivot points. Positions are opened when the previous extremum of the last N candles is broken.
In this trading algorithm, three levels of confirmation for trade entry are used:
The script waits for the formation of a certain number of candles after the potential pivot to confirm its significance.
It checks the compliance of the trade direction with the current local trend, determined based on rising or falling highs or lows, in order to reduce the probability of opening positions against the market.
It requires increased volume, since true pivots are often accompanied by high volumes.
In the strategy, two modes of exit from a position are implemented.
Main Components of the Trading Algorithm ⚙️
1. Pivot Points
Pivot points show places on the chart where the price either reverses or slows down.
Two types of pivots are used:
Pivot High (PH) — local maximum
Pivot Low (PL) — local minimum
Pivots are divided into left and right shoulders.
Left Shoulders (Left Length)
Determine how many bars before the potential pivot must confirm its formation.
For Pivot High: all bars in the left shoulder must have lower highs.
For Pivot Low: all bars in the left shoulder must have higher lows.
Default: leftLenH = 3, leftLenL = 3
Right Shoulders (Right Length)
Determine how many bars after the pivot confirm its formation.
For Pivot High: all bars in the right shoulder must have lower highs.
For Pivot Low: all bars in the right shoulder must have higher lows.
Default: rightLenH = 3, rightLenL = 6
Why Different Numbers of Bars for Highs and Lows? 🤔
Market psychology: downward moves are usually sharper → more confirmations for lows.
Significance confirmation: more right bars for lows increase probability of a real "bottom".
Stricter trade conditions reduce both the number of trades and the probability of false signals.
How Trading Signals Are Formed
Long Entry:
The script finds a peak high (the highest candle among 3 left candles).
Waits for confirmation — 3 right candles pass, all below the high.
HH level is set — this becomes the reference price.
Potential long entry: price closes ABOVE this HH level.
Short Entry:
The script finds a peak low (the lowest candle among 3 left candles).
Waits for confirmation — 6 right candles pass, all above the low.
LL level is set — this becomes the reference price.
Potential short entry: price closes BELOW this LL level.
Chart Display 🎨
Confirmed HH: green lines
Confirmed LL: red lines
HL: brown
LH: blue
📌 At trade entry, labels appear:
“Long Pivot Ride” for long trades
“Short Pivot Ride” for short trades
Practical Application
Active markets: reduce shoulders (e.g., 2-2) → more signals
Calm markets: increase shoulders (4-5) → only important levels
Trending instruments: use asymmetric settings (default in strategy)
Default sources: Pivot High = High, Pivot Low = Low
The correct combination of left and right pivots filters noise and shows potential entry/exit points.
2. Trend Filter 📊
Signal filtering based on market structure.
Rising highs/lows → uptrend; falling highs/lows → downtrend.
Without trend filter, the script would open trades at every breakout, causing false signals in flat markets.
Background: green = uptrend, red = downtrend
3. Volume Filter 🔊
Filters weak signals caused by minor price fluctuations.
Calculates average volume (last 10 candles by default).
Checks volume at breakout against threshold (default 1.5×).
Ensures breakout has "energy," indicating real market movement.
4. Exit from Position 🚪
Main mode: stay in position until opposite conditions arise → then close and open new.
Exit on opposite pivot (ignore volume/trend): close immediately when opposite pivot forms.
Choice of exit mode depends on market conditions.
Pivot Rider Strategy Settings ⚙️
Pivot Settings:
Pivot High Source: high
Pivot Low Source: low
Left Pivot High: 3
Right Pivot High: 3
Left Pivot Low: 3
Right Pivot Low: 6
Trend Filter:
Use Trend Filter: true
Bars for Trend Analysis: 7
Volume Filter:
Use Volume Filter: true
Volume Lookback Period: 10
Volume Multiplier Threshold: 1.5
Exit Settings:
Exit on Opposite Pivot: false
Trading Parameters:
Initial Capital: $10,000
Default Quantity: $100
Commission: 0.1%
Slippage: 2 ticks
Note: Funding is not accounted for. On different exchanges, it may vary and affect results.
Backtest Results 📑
Optimized for 4H timeframe, GALAUSDT. Can be used on other assets/timeframes, must be optimized.
Disclaimer ⚠️
Backtest results may not repeat.
Market unpredictable; use at your own risk.
Author not responsible for losses, exchange malfunctions, or platform issues.
Recommended: do not trade <1H timeframe, low-liquidity assets, or risk >1% capital.
Do not perceive this strategy as the Holy Grail. This script is merely a trader’s tool for backtesting a specific trading algorithm on any assets and timeframes to make more informed trading decisions, as well as automating trading using the TradingView platform.
Auto Fractal [theUltimator5 feat. MrRo8ot] — DTW EditionAuto Fractal — DTW Edition
What it does
This tool searches the past for a price pattern that best matches your most recent price action, then maps that pattern onto today’s scale and draws:
an orange line for the matched historical segment, and
a fuchsia dotted line projecting how that pattern continued right after the match.
Under the hood it can use either DTW (Dynamic Time Warping) or Pearson correlation to score matches. DTW is more flexible for wobbly markets; Pearson is faster and stricter.
Be aware, this is not a buy/sell signal generator but a visual context/road-map tool to explore “what the market did last time this shape appeared.”
How to use (quick start)
Add to chart and keep defaults.
Watch the orange line: that’s the historical pattern remapped to today’s scale.
The fuchsia dots show the immediate continuation from that old pattern (a projection, not a promise).
Optional: switch 📊 Analysis Mode to explore different behaviors (see below).
If you want to “freeze time” and check what would’ve been seen at a past moment, enable 📍 Legacy: Manual Point Selection, pick a date/time, and the tool will search from that point back in history.
Reading the on-chart table
Best Match — DTW sim: Similarity score (0–1). Higher ≈ better shape match.
Best Match — Corr: If using Pearson, shows correlation % (closer to 100% ≈ better).
(Live) / (Frozen-X): Live runs on the last bar; Frozen indicates a manual selection and how many bars back the endpoint is.
Configuration options
📊 Analysis Mode
Auto Fractal (default): Finds the best-matching past window and maps it onto today’s recent window.
MOASS / BBBYQ: Same search engine, but the projection is exaggerated deliberately:
MOASS: amplifies bearish impulse in the projection (downside excursion).
BBBYQ: amplifies bullish impulse (upside excursion). Use the multipliers below to tune how “loud” the projection is.
📍 Legacy: Manual Point Selection
Enable Manual Point Selection: When ON, choose date/time to “freeze” the endpoint. The tool then asks: Given price up to that time, what past pattern best matched it?
Great for lightweight backtesting and validating behavior.
🔧 Core parameters
Correlation/DTW Window Length (l): How many recent bars define the shape to match. (Typical 20–60.)
Lookback Range (lb): How far back to search for candidates. Larger = more options, slower.
Future Projection Length (future): How many bars of continuation to draw from the matched pattern.
🎨 Visuals
Show Match Table / Draw Lines/Box: Turn UI and drawing on/off (disabling drawings speeds things up).
Render every k-th point: Skip points for speed (1 = draw every point).
Best Fit / Projection colors: Style the orange (match) and fuchsia (projection) lines.
📐 Autoscale behavior
Autoscale pattern fit (autoscaleDraw): When ON, the matched pattern is linearly mapped to your recent window.
Autoscale style:
Min-Max fit: Stretch the pattern so its min/max aligns with your recent min/max. Preserves shape extremes.
Anchor base: Keep the pattern’s first point anchored to the current endpoint; scale by ranges.
Endpoint fit: Fit the first/last points to the recent first/last.
Least-squares fit (default): Regression fit across the whole window; smooth and robust.
🧱 Clamp (range-cap) controls
These prevent “flat-topping” or clipping by letting you choose where clamping applies.
Clamp mapped lines to recent range (clipToWindow): Master ON/OFF.
Clamp future only: If ON, the orange match is free; only the fuchsia projection is range-limited.
Clamp mode:
None: No clamping.
Hi/Lo recent: Clamp to the recent window’s high/low ± padding.
Hi/Lo wide: Clamp to a wider high/low (X × window length) ± padding.
ATR × N: Clamp around the endpoint price using ATR bands (ATR length & multiplier below).
Clamp padding (fraction): Extra headroom above/below the clamp range (e.g., 0.12 = 12%).
Hi/Lo wide lookback: Multiplier for the wide window.
ATR length / ATR multiplier: For ATR × N clamping.
Tip: If you see the pattern “flat on top,” try Clamp mode = None or Clamp future only = ON, or increase Clamp padding.
📈 Matching engine (DTW / Pearson)
Use DTW: ON = Dynamic Time Warping (flexible shape matching). OFF = Pearson correlation (fast/strict).
DTW Warping Band: 0–0.5; higher allows more time-stretch/bend (0.10–0.20 is common).
Normalization:
zscore (default): Standardize level/volatility; focuses on shape.
returns: Use percent changes; shape from returns.
none: Raw prices (scale sensitive).
DTW Early-Abandon Pruning: Speed optimization; stop bad rows early.
Prune multiplier: How aggressive the pruning is (1.0 = strict; raise if you miss matches).
(Pearson) Minimum Correlation Threshold: If using Pearson, stop early once correlation ≥ threshold.
⚙️ Compute throttles
Compute only on bar close: Save CPU by updating only when bars close.
Recompute every N bars: Further throttle; e.g., 5 updates every 5 bars.
Lookback Candidate Step: Skip candidate starts (e.g., 3 = check every 3rd start) to speed up big lookbacks.
Practical tips
Choose window sizes thoughtfully:
Shorter l captures “micro” swings; longer l captures larger structures.
DTW vs Pearson:
If you want speed and clean, rigid matches → Pearson (Use DTW = OFF).
If you want tolerant shape matching in choppy markets → DTW.
Performance: If it feels heavy, try: lower lb, increase candidateStride, set computeOnBarClose = ON, raise computeEveryN, or disable drawings while testing.
Manual rewind: Enable Manual Point Selection, pick a past time, and the tool shows exactly what would’ve been projected then.
MOASS/BBBYQ multipliers: Tune MOASS projection multiplier / BBBYQ projection multiplier to adjust how strong the dotted projection swings.
What the green box means
A green, semi-transparent box highlights the historical segment that was chosen (in its original location). It’s just a visual cue showing where the orange line came from.
Disclaimer
Past patterns don’t guarantee future outcomes. Use this as a research/visualization aid, not as a standalone trading system. Always combine with risk management and your own analysis.
NeBlok Support & Resistances
What this indicator does
Plots four live horizontal levels based on recent extremes:
30-bar High (30H) and 30-bar Low (30L)
60-bar High (60H) and 60-bar Low (60L)
Lines auto-update every bar as new highs/lows form.
Right-edge price labels show the exact value of each line so you don’t need to read the scale.
You can choose whether the lines extend to the right only (cleanest) or both directions (span the whole chart).
Why 30 & 60 bars?
They’re simple, robust “recent structure” windows:
30 bars ≈ short-term range
60 bars ≈ medium-term range
Using both lets you see near vs. broader context at a glance (e.g., a 30-bar breakout that is still inside the 60-bar range).
Inputs & what they do
Lookback A (bars): default 30. Sets the window for the short-term high/low.
Lookback B (bars): default 60. Sets the window for the medium-term high/low.
Line width: cosmetic thickness of the lines.
Extend direction:
Right → draws rays to the right (minimal clutter, great for current trading).
Both → spans full chart (nice for back-reading context).
Line & label color: single color for lines and label background.
Show right-side labels: toggle labels on/off.
Label bars to the right: how far past the last candle the labels sit.
Label pad (ticks): nudge labels slightly above highs / below lows so text isn’t covered by the line.
How to read & trade the levels
Use them as dynamic support/resistance:
1) Breakout play
Long: Price closes above 30H → momentum breakout.
Optional filter: Only take if price is also above 60H (stronger context).
Risk: Stop just under 30H (or last swing low).
Target: Partial at measured move or next HTF level; trail under 30H.
Short: Price closes below 30L → downside breakout (mirror rules).
2) Range/Mean-reversion
Inside the 60-bar range, treat 30H/30L as inner range edges:
Fade probes into 30H with stops a few ticks beyond; target mid-range or 30L.
If price tags 60H/60L, expect stronger reactions; use tighter stops and smaller size or wait for confirmation (e.g., rejection wick / close back inside).
3) Multi-frame confluence
Keep the 60-bar levels as your context rails; then act when the 30-bar levels align (e.g., 30H breaks while price is already above 60H).
4) Trailing/risk management
For longs, a simple rule: if price re-enters below 30H after a breakout, lighten or exit.
For shorts, mirror with 30L.
Setup & tips
Add to chart → Paste the script into Pine Editor → Save → Add to chart.
Set your lookbacks to match your timeframe and product:
Intraday scalping (1–5m): 30/60 is a good default.
Higher TF (15–60m): consider 50/100 or 100/200.
Clean view: Use Extend: Right and keep labels on; it reduces clutter.
Combine with a trigger: The lines define the area; your trigger can be:
Close beyond a line
Volume expansion
Candle confirmation (e.g., engulfing after a tag)
Your existing EMA/MACD logic
Backtest visually: Switch to Extend: Both to see historical interactions quickly.
Smart Money Techniques (SMT) Divergence by RiseSmart Money Divergence - Early Reversal Indicator
This sophisticated indicator identifies and analyzes Smart Money Divergence patterns by systematically examining pivot point relationships between a primary asset and a secondary correlated instrument.
The indicator establishes divergence signals through precise algorithmic detection when pivot pairs exhibit opposing directional patterns between the primary and secondary assets. This sophisticated analysis reveals institutional positioning discrepancies that often precede significant market reversals.
Following divergence confirmation, the indicator provides comprehensive visualization tools and optional alert systems to capitalize on these high-probability trading opportunities. Advanced filtering capabilities allow traders to customize sensitivity levels, timeframe parameters, and styling to align with their specific trading methodology.
This powerful solution delivers unmatched functionality for traders seeking to identify and exploit Smart Money positioning through multi-asset divergence analysis. With its robust detection algorithms and granular customization options, it provides capabilities that surpass conventional divergence indicators by incorporating institutional flow analysis principles highly regarded in professional trading circles.
What is Smart Money Divergence?
Smart Money Divergence is another name for Smart Money Techniques (SMT). These patterns appear when comparing swing points, of adjustable strength, between correlated assets...
When an asset makes a higher high while the other makes a lower high.
When an asset makes a lower low while the other makes a higher low.
Potential Divergence
This indicator allows users to see potential SMT before the second swing point of the pair forms. It is showcased with different styling until it's confirmation, when enough bars pass based on the user-defined strength parameter.
Multi-Timeframe
Our tool allows traders to have higher/lower-timeframe divergences displayed on the chart of their choice, further automating their trading strategies.
Input Settings:
This tool offers a lot of customizable options, which could be overwhelming to some users. Below you will find an in-depth definition of every input's purpose to complement the tooltips that can be found directly in the indicator's settings.
Symbol 📊
This parameter let's users define the asset used in search of SMT divergence. We recommend using correlated assets, like NASDAQ100 with S&P500 or EURUSD with GBPUSD...
Timeframe 🔧
This is where users choose, if they wish, to set a different timeframe which will be utilized when looking for divergences.
Mode ⚙️
Default -> Displays all SMTs.
Bullish -> Displays only bullish SMTs using low pivots.
Bearish -> Displays only bearish SMTs using high pivots.
Historical 📜
This indicator allows users to display only a specific amount of SMTs... The historical input will display the specified amount of divergences up to 25, which will then showcase all available SMTs.
Parameters
This section defines the main parameters uses in establishing and managing SMT divergences.
Pivot Strength -> Number of bars to the left and right for pivot considerations.
Pivot Lookback -> Amount of past pivots to maintain in memory.
Allow Time Difference? -> Allow up to one bar difference when comparing pivots.
Time Filters -> The indicator allows for up to two time filters...
Checkbox -> Activate this time filter.
Time Range-> Define the time range which will only validate SMTs during.
Remove After Invalidation? -> Remove drawings from invalidated SMTs.
Style
Colors for bullish and bearish SMTs respectively.
Line styling and width
Potential Divergence -> checkbox and line styling.
Text
Label Contents :
Long -> "Smart Money Divergence"
Short -> "SMT"
None -> No text.
Include Symbol? -> Include the comparing asset's symbol within label text.
Size .
Font (Default or Monospace) and Format (None, Italic or Bold).
Align -> vertical and horizontal positioning.
This indicator is for educational and informational purposes only. Past performance and historical patterns do not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own analysis and consider your financial situation before making any trading decisions. The identification of patterns does not constitute trading advice.
Breakout Levels Checklist# Description (EN)
## Breakout Levels Checklist — ATR (Classic shown, Active = 5-Day Median or Manual), D1-Fixed, Risk Position Sizing
This script is an on-chart checklist for breakout trades with a daily-fixed ATR core and a simple risk calculator. ATR values are latched on **D1**, so SL/TP remain stable when you switch timeframes. The UI (inputs and panel) is in Russian.
### What it does
- **Checklist**: three groups (Prerequisites, Negatives, Waiting). You tick items; the panel shows a clean list with counters.
- **Breakout calculations**: Entry, Stop-Loss, Take-Profit from your level price, **k × ATR** stop, and an RR preset. A built-in entry offset ≈ **12.5%** of the stop distance is applied.
- **ATR engine (D1)**:
- **Classic ATR** (period selectable; HL or True Range) — **always computed and displayed** for reference and daily progress.
- **Active ATR** = either **5-day median ATR** with optional *paranormal bar* filter (filters both too-big and too-small D1 ranges by percentage thresholds vs a blended reference), **or Manual ATR** if enabled.
- **Risk calculator**: given **Deposit** and **Risk %**, the script outputs the **entry notional (USD)** so an SL hit is approximately equal to your dollar risk; the panel also shows potential PnL to take-profit.
- **Stable visuals**: level / entry / SL / TP lines with automatic cleanup on a new day; panel can be placed in any corner (RU labels).
### How to use
1. Set **Direction** (Long/Short) and the **Level Price**.
2. Tick checklist items as the setup forms.
3. In **ATR**, leave Classic as reference (period + HL/TR), and choose the **Active ATR mode**: *5-day median* (with optional paranormal filter) **or** *Manual* (manual value overrides).
4. Pick **k** for **Stop = k × ATR**; TP is placed by the **RR** preset relative to stop size.
5. In **Calculator**, set **Deposit** and **Risk %** — the panel returns the **entry notional** aligned with your risk.
6. Show/hide panel sections (calculations / ATR / calculator) as needed.
### Quick notes
- Classic ATR is not selectable; it is always calculated and shown for context and D1 progress.
- Active ATR drives stop sizing: *5-day median (with filter)* or *Manual*.
- All ATR computations use **closed D1 bars**; values are cached per day.
---
# Описание (RU)
## Чек-лист уровней (Пробой) — ATR (классический показывается, Активный = медианный 5-дневный или Ручной), фиксация D1, расчёт позиции от риска
Скрипт для работы с пробойными сетапами: чек-лист на графике, фиксированный дневной ATR, расчёт ТВХ/SL/TP и простой калькулятор позиции от риска. Значения ATR фиксируются на **D1**, поэтому SL/TP не «плавают» при смене таймфреймов. Интерфейс (входы и панель) — на русском.
### Что делает
- **Чек-лист**: три группы (Предпосылки, Минусы, Ожидаю). Отмечаете галочки — панель выводит список и счётчики.
- **Расчёты пробоя**: ТВХ, Стоп-лосс, Тейк-профит от цены уровня; стоп как **k × ATR**; тейк задаётся пресетом **RR**; встроен люфт входа ≈ **12.5%** от дистанции стопа.
- **ATR (D1)**:
- **Классический ATR** (период, HL или True Range) — **всегда считается и показывается** как справочное значение и для прогресса дня.
- **Активный ATR** = **медианный за 5 дней** с опциональным фильтром *паранормальных* баров (одной галочкой отсекаются одновременно слишком большие и слишком маленькие дневные диапазоны по процентным порогам к смешанному референсу) **или** **Ручной ATR** (ручное значение имеет приоритет).
- **Калькулятор риска**: по **Депозиту** и **Риску %** отдаёт **сумму входа (USD)** так, чтобы убыток по стопу был близок к заданному риску; дополнительно показывает потенциальный PnL по тейку.
- **Стабильная отрисовка**: линии Уровень / ТВХ / SL / TP, авто-очистка на новый день; позиция панели выбирается (русские подписи углов).
### Как работать
1. Задайте **Направление** (Long/Short) и **Цену уровня**.
2. Отметьте пункты чек-листа под текущий контекст.
3. В **ATR** используйте **Классический** как справочный (период + HL/TR), а **Активный ATR** выберите как *медианный 5-дневный* (с фильтром при необходимости) **или** *Ручной* (ручное значение замещает активный).
4. Укажите **k** для **Стоп = k × ATR**; тейк выставляется пресетом **RR** относительно размера стопа.
5. В **Калькуляторе** задайте **Депозит** и **Риск %** — получите **сумму входа**, согласованную с риском.
6. В панели можно скрывать/показывать секции (расчёты / ATR / калькулятор).
### Важные примечания
- Классический ATR не выбирается пользователем — он всегда считается и отображается для контекста и прогресса по дню.
- Активный ATR используется для расчёта стопа: медианный 5D (с фильтром) или ручной.
- Все расчёты ATR делаются по **закрытым барам D1**; значения кэшируются на день.
Trend TraderThe Trend Trader indicator is a trend-following tool based on a triple EMA (Exponential Moving Average) setup designed to help traders identify market direction and potential reversal zones. It plots three customizable EMAs on the chart to highlight bullish and bearish momentum, then generates trade signals when price shows a strong likelihood of continuing in the direction of the prevailing trend.
EMA Alignment: The indicator checks for bullish stacking (fast EMA above medium, medium above slow) and bearish stacking (fast EMA below medium, medium below slow). This alignment defines the prevailing market trend.
Trend Validation: A user-defined lookback period ensures signals are only taken if the market recently displayed a stacked trend, thus filtering false entries during consolidations.
Signal Generation: Buy signals appear when price dips into the zone between the fast and medium EMAs during a bullish trend. Sell signals appear when price rallies into the zone between the fast and medium EMAs during a bearish trend.
Alerts: Built-in alerts notify traders of new trade opportunities without having to constantly watch the chart.
This indicator is suitable for swing trading and intraday strategies across multiple markets, including forex, stocks, indices, and crypto.
Suggested Strategy for Profitability
This tool is best used as part of a structured trend-trading plan. Below is a suggested framework:
Entry Rules
Long (Buy Trade):
Confirm that EMA alignment is bullish (EMA1 > EMA2 > EMA3).
Wait for a Buy Signal (triangle up below price).
Ensure the higher timeframe (e.g., 4H if trading 1H) trend is also bullish to filter trades.
Short (Sell Trade):
Confirm EMA alignment is bearish (EMA1 < EMA2 < EMA3).
Wait for a Sell Signal (triangle down above price).
Higher timeframe should also be bearish to increase probability.
Stop Loss
For long positions, place the stop loss just below EMA3 or the most recent swing low.
For short positions, place the stop loss just above EMA3 or the most recent swing high.
Take Profit
Conservative: Set TP at 1.5x to 2x the stop loss distance.
Aggressive: Trail stop loss below EMA2 (for longs) or above EMA2 (for shorts) to capture larger trends.
Risk Management
Use no more than 1–2% of account risk per trade.
Trade only when the signal aligns with overall market context (higher timeframe, support/resistance, or volume confirmation).
This indicator is very similar to the indicator "Trend Scalper" by the same developer, the difference is this indicator is used to just find the trade and hold the trade or to find the reversal of a trend instead of triggering alerts every time price enters between EMA1 and EMA2.
Small Caps - Range + Breakout (dernier seulement)//@version=5
indicator("Small Caps - Range + Breakout (dernier seulement)", overlay=true)
// -------------------
// Paramètres
// -------------------
lookback = input.int(50, "Période max du range (jours)")
minConsol = input.int(20, "Consolidation minimale (jours)")
volLen = input.int(20, "Période moyenne volume")
volMult = input.float(1.5, "Volume minimum (x moyenne)")
useRSI = input.bool(true, "Filtrer avec RSI > 55 ?")
rsiLength = input.int(14, "RSI période")
// -------------------
// Détection du Range
// -------------------
rangeHigh = ta.highest(high , lookback)
rangeLow = ta.lowest(low , lookback)
// Vérifier consolidation minimale
consolHigh = ta.highest(high , minConsol)
consolLow = ta.lowest(low , minConsol)
consolOk = (consolHigh <= rangeHigh) and (consolLow >= rangeLow)
// -------------------
// Conditions breakout
// -------------------
volMa = ta.sma(volume, volLen)
volOk = volume > volMult * volMa
rsi = ta.rsi(close, rsiLength)
rsiOk = useRSI ? rsi > 55 : true
breakoutUp = close > rangeHigh and volOk and rsiOk and consolOk
breakoutDown = close < rangeLow and volOk and rsiOk and consolOk
// -------------------
// Rectangle unique
// -------------------
var box rangeBox = na
if barstate.islast
if not na(rangeBox)
box.delete(rangeBox)
// Couleur par défaut (range gris)
rectColor = color.new(color.gray, 85)
borderCol = color.new(color.gray, 0)
// Modifier couleur si cassure
if breakoutUp
rectColor := color.new(color.green, 85)
borderCol := color.new(color.green, 0)
if breakoutDown
rectColor := color.new(color.red, 85)
borderCol := color.new(color.red, 0)
// Créer rectangle du range courant sur une seule ligne
rangeBox := box.new(left=bar_index - lookback, top=rangeHigh, right=bar_index, bottom=rangeLow, border_color=borderCol, border_width=1, bgcolor=rectColor)
// -------------------
// Flèches breakout
// -------------------
plotshape(breakoutUp, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.tiny)
plotshape(breakoutDown, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.tiny)
🎯 Advanced ST Pro-X-J-Algo🎯 Advanced ICT Concepts Suite
A comprehensive visualization tool for Inner Circle Trader (ICT) market structure concepts with anti-repainting technology.
Overview
This indicator combines multiple ICT-based market structure concepts into a single, configurable tool. It provides visual identification of liquidity zones, order blocks, fair value gaps, and trading session boundaries. The indicator includes advanced anti-repainting controls to ensure historical accuracy.
Key Features
📦 Order Blocks
Identifies institutional order zones based on swing structure
Tracks mitigation levels with customizable violation methods
Adjustable overlap filtering and display limits
💧 Liquidity Analysis
Standard timeframe liquidity sweeps (buyside/sellside)
Higher timeframe liquidity levels with multi-timeframe analysis
Session-based liquidity zone classification
🔲 Fair Value Gaps (FVG)
Detects price inefficiencies based on 3-candle patterns
Inverse Fair Value Gap (iFVG) identification
Customizable gap size filtering and fill thresholds
🕐 Trading Sessions
Asian, London, and New York session visualization
Session overlap detection and highlighting
High/low level tracking with customizable time zones
⚙️ Anti-Repainting Controls
Toggle between live signals and confirmed signals
Adjustable confirmation periods (1-5 bars)
Reliable backtesting with historical accuracy
Configuration Options
Master Controls: Enable/disable individual components
Repainting Settings: Choose between speed vs reliability
Visual Customization: Colors, line styles, label sizes
Performance Optimization: Display limits and memory management
Important Notes
Educational Purpose: This indicator is designed for educational exploration of ICT concepts and market structure analysis.
Not Financial Advice: The signals and patterns displayed are interpretive tools, not trading recommendations.
Backtesting Disclaimer: Past performance of any signals does not predict future results. Always use proper risk management.
Confirmation Required: All signals should be confirmed with additional analysis and proper risk assessment before making trading decisions.
Best Practices
Use confirmed signal mode for backtesting accuracy
Combine with traditional technical analysis
Practice on demo accounts before live trading
Understand each component before using in combination
Maintain realistic expectations about signal effectiveness
Risk Warning: Trading involves substantial risk of loss. This indicator is an educational tool and should not be the sole basis for trading decisions.
Technical Requirements: Pine Script v6, TradingView Pro+ recommended for multi-timeframe features
This indicator is provided for educational purposes. The concepts displayed are interpretive frameworks popular in trading education but lack independent empirical validation. Always conduct your own analysis and risk assessment.
Scalper's Dream by Chino,CHINO’S ICT MES/MNQ Strategy — FVG/BOS/OTE/PD + VWAP + SMA + BB Squeeze/Failure
Summary
Intraday ICT-inspired toolkit tuned for MES/MNQ (also effective on equities/ETFs and crypto). It blends Fair Value Gaps (FVG) — including multi-timeframe FVG (MTF FVG) with first-touch and min-gap filters — Break of Structure (BOS), Optimal Trade Entry (OTE), and Prior-Day levels with VWAP, SMA gates, 9:30 Open, Session Equilibrium (EQ), custom ORB, and Key Rejection Levels (KRL). It also includes Accumulation/Distribution phase reads and Manipulation cues (e.g., liquidity sweeps/stop-runs) to contextualize trend transitions. On top, it adds Bollinger Band squeeze breakouts & failure reversals, V/A shape reversal detectors, Volume-boosted buy/sell signals with Reversal Candle Assist, Asia/London/New York sessions, an Options Assist HUD, and a Market Internals HUD.
Disclaimer: This tool is for education and research purposes only and is not financial advice. Test thoroughly in replay/paper before live trading.
Swing High/Low MarkerThis indicator allows you to find the swing highs and lows of the chart and offsets it by the ATR and a custom factor to give you concrete breakout and stop loss prices.
Effort vs Result TRFxThe Effort vs Result (EVR) indicator is designed to identify high-probability reversal signals based on volume and price action dynamics. It highlights points where the market “effort” (high volume) does not correspond to an immediate “result” (price continuation), providing actionable trade setups for both bullish and bearish scenarios.
Features:
Detects bullish EVR signals when a previous high-volume sell candle is followed by a strong bullish candle that sweeps the previous low.
Detects bearish EVR signals when a previous high-volume buy candle is followed by a strong bearish candle that sweeps the previous high.
Sticky arrows plot automatically above or below the candle, ensuring the signal moves with the price bar.
Considers inside bars, wick size, and relative volume to filter low-quality setups.
Fully compatible with multiple timeframes.
Inputs:
Volume Multiplier: Sets how much higher the current candle’s volume should be compared to the previous candle to count as high volume.
Min Wick % of Candle: Minimum wick size relative to the candle body to filter insignificant bars.
Max Inside Bars to Ignore: Number of inside bars between the previous candle and the EVR candle to ignore minor consolidations.
Usage:
(Green Arrow): Enter long when a green arrow appears below the candle. Place stop-loss slightly below the previous swing low.
(Red Arrow): Enter short when a red arrow appears above the candle. Place stop-loss slightly above the previous swing high.
Can be combined with support/resistance levels, trendlines, or other technical indicators for higher accuracy.
Benefits:
Simple and clean visual signals with tiny arrows that move with candles.
Helps traders identify high-probability reversal points based on volume and price action.
Ideal for intraday and swing trading strategies.
Daily SMA Gate (Bullish) + IHS(15m & 1H RS) + Daily Lower BBDaily SMA Bull Gate + IHS (15m/1H) – Early Signal + Daily Lower BB
Purpose: a “buy the dip / buy the pullback” scanner/indicator that looks for early right-shoulder completion of an Inverse Head & Shoulders (IHS) on intraday charts (15m & 1H), but only when the daily context is bullish. Optional Daily Lower Bollinger proximity helps focus on pullbacks toward support.
How it works
1) Daily Bull Gate (trend filter)
Evaluated on the Daily timeframe.
Gate is true when:
Price is above the Daily SMA(50), and
Price is within X% of the Daily SMA(20) (configurable).
You can choose to use only the prior completed daily bar to avoid intraday bleed-through.
2) IHS right-shoulder detector (early) on intraday
Runs on 15m and 1H via request.security.
Detects an Inverse Head & Shoulders using swing pivots:
Ordered pivot lows L1 (left shoulder), L2 lower low (head), L3 (right shoulder).
Right shoulder must be a higher low than the head and near L1 (ATR- or %-based tolerance).
Requires a neckline: the highest swing-high strictly between L1 and L3.
Minimum bar separation between shoulders/head is configurable.
Signals fire as the right-shoulder pivot confirms (on the bar that completes R bars to the right of the pivot).
3) Daily Lower Bollinger filter (optional)
Daily basis = SMA(20); lower band = SMA(20) − k·σ (k default 1.0).
Prints 1 when Daily Close is within Y% of the lower band.
Good for isolating constructive pullbacks inside an uptrend.
Plots / Screener columns
Combined Signal (15m OR 1H RS) – blue (1 when Bull Gate is true and either TF confirms IHS RS).
RS(15m Early) – green.
RS(1H Early) – purple.
Daily SMA Gate Only – orange (1 when above SMA50 and near SMA20).
Daily Lower Bollinger (within %) – teal (1 when within your % threshold of the lower band).
(Each line outputs 1/0 so it works seamlessly in the Pine Screener.)
Inputs
Daily
Daily SMA(50), Daily SMA(20)
Within % of Daily SMA(20)
Use prior completed Daily bar only
Bollinger
Daily BB stdev (below SMA20) (k)
Within % of Daily Lower BB
Pattern (IHS)
IHS Pivot L, IHS Pivot R (pivot window left/right)
Min sep bars L1–L2 & L2–L3
Tolerance: ATR × mult or % of L1
How to use
Screen your watchlist with:
Daily SMA Gate Only = 1, and optionally
Daily Lower Bollinger (within %) = 1, and/or
Combined Signal (15m OR 1H RS) = 1 for setups.
Open the chart to validate structure:
Uptrend context (above Daily 50-SMA).
Clear IHS: head lower than L1, RS near L1 and higher than head, neckline between L1–L3.
Plan execution:
Many traders use the neckline / RS low for risk and look for confirmation on neckline reclaim/break with volume.
Notes & limitations
Pivot-based signals confirm only after R bars (by design); potential pivots can disappear before confirmation.
Multi-timeframe logic: Daily filters + intraday patterns (15m & 1H). Tune L/R, separations, and tolerances per instrument/volatility.
This is a tool, not advice—combine with your risk management and other confluence (levels, volume, catalysts).
Daily SMA Gate (Bear) + HS(15m & 1H RS) + Daily Upper BBDaily SMA Bear Gate + HS (15m/1H) – Early Signal + Daily Upper BB
Purpose: a “sell the rip” scanner/indicator that looks for early right-shoulder completion of a standard Head & Shoulders (HS) on intraday charts (15m & 1H), but only when the daily context is bearish. Optional daily Upper Bollinger proximity lets you focus on rallies into resistance.
How it works
1) Daily Bear Gate (trend filter)
Uses the Daily timeframe.
Gate is true when:
Price is below the Daily SMA(50), and
Price is within X% of the Daily SMA(20) (configurable).
Option to use the prior completed daily bar only (no intraday bleed).
2) HS right-shoulder detector (early) on intraday
Runs on 15m and 1H via request.security.
Detects a standard HS using swing pivots:
Ordered pivots H1 (left shoulder), H2 higher high (head), H3 (right shoulder).
Right shoulder must be lower than the head and near H1 (ATR- or %-based tolerance).
Neckline is required: lowest swing-low strictly between H1 and H3.
Minimum bar separation between shoulders/head is configurable.
Signals fire as the right-shoulder pivot confirms (on the bar that completes R bars to the right of the pivot).
3) Daily Upper Bollinger filter (optional)
Daily basis = SMA(20); band = SMA(20) + k·σ (k default 1.0).
Prints 1 when Daily Close is within Y% of the upper band.
Useful to isolate “overbought rally into resistance” conditions.
Plots / Screener columns
Combined HS Signal (15m OR 1H RS) – red (1 when Bear Gate is true and either TF confirms HS RS).
HS(15m Early) – maroon.
HS(1H Early) – fuchsia.
Daily SMA Bear Gate Only – orange (1 when below SMA50 and near SMA20).
Daily Upper Bollinger (within %) – teal (1 when within your % threshold of the upper band).
(Each line is 1 when true, 0 otherwise, so it works well in the Pine Screener.)
Inputs
Daily
SMA(50), SMA(20) lengths
“Within % of Daily SMA(20)”
“Use prior completed Daily bar only”
Bollinger
“Daily BB stdev (above SMA20)” (k)
“Within % of Daily Upper BB”
Pattern (HS)
Pivot L / R (pivot windows)
Min separation bars (H1–H2 and H2–H3)
Tolerance mode: ATR×mult or % of H1
How to use
Scan the watchlist with:
Daily SMA Bear Gate Only = 1, and
Daily Upper Bollinger (within %) = 1 (optional), and/or
Combined HS Signal (15m OR 1H) = 1 for entries.
Open the chart and inspect structure:
Confirm broader downtrend (below Daily 50-SMA).
Check that the right shoulder formed near the left shoulder and that a neckline exists between H1–H3.
Plan execution around your rules:
Many traders use the neckline or RS high for risk, and the neckline break/close for confirmation.
Notes & limitations
Pivot functions confirm only after R bars; before that, a potential pivot can disappear. Signals appear on confirmation (this is by design for “early RS” but avoids premature alerts).
Signals are timeframe-mixed: Daily for filters, 15m/1H for HS. Different markets/timeframes can produce different densities—tune L/R and tolerances to your instrument.
This is a discretionary tool, not financial advice. Always validate with your risk management and broader context (volume, higher-TF levels, news, etc.).
Volume Orderbook (Expo) — safe-indexed基于 @Zeiierman 的Volume Orderbook(Expo) 修复了以下bug
In 'array.get()' function. Index 3 is out of bounds, array size is 3.
at #main():75
修复思路:
提供一个索引钳制函数 clampIndex(idx, last),把任何索引限制在 区间内。
所有 array.get() 前都用该函数钳制索引(包括对 levels / volumes 的两端访问,以及 +1 时的上界保护)。
网格线、方框上下边界使用的 levels.get(...) 也统一钳制,避免负值或越界。