ADX Compass [Quantum Algo]ADX Compass
═══════════════════════════════════════════════
🔶 OVERVIEW
ADX Compass turns the Average Directional Index into an instrument you can steer by. It answers the four questions the raw index never answers cleanly: how strong is this trend for THIS symbol, which side is driving it, how old is it compared with this market's typical trend, and is it about to fail — and then paints the answers onto the price chart as a strength aura and a directional ribbon, so the reading lives on the candles.
The central upgrade is adaptive strength. Fixed levels like 20 and 25 mean different things on every symbol and timeframe. This tool ranks the index against its own recent history, so "weak" and "strong" are defined by the market you are actually looking at. On top of that it measures trend age against the symbol's own average trend lifespan, filters directional crosses by strength, detects exhaustion as the index turns from a strong peak, and scores each signal family on your exact chart.
═══════════════════════════════════════════════
🔶 WHAT IS THE ADX?
The Average Directional Index, created by J. Welles Wilder Jr., measures the STRENGTH of a trend without regard to its direction. It is derived from Directional Movement: +DI measures upward pressure, −DI measures downward pressure, and the index smooths the spread between them. A rising index means a trend — up or down — is gaining force; a falling index means it is losing force. Direction comes from which directional line is on top.
═══════════════════════════════════════════════
🔶 WHY FIXED ADX LEVELS FAIL
The traditional rule — above 25 means trending — was calibrated on the markets of its era. A quiet index may spend years rarely reaching 25 while a volatile pair lives above it in what is effectively a range. ADX Compass replaces the constant with a percentile rank inside the symbol's recent history: weak below the 30th percentile, building in between, strong above the 70th. The classic fixed levels remain available as a toggle, and the dashboard always shows the live thresholds in use.
═══════════════════════════════════════════════
🔶 WHY IS THIS ORIGINAL?
1. Adaptive strength ranking. Weak, Building and Strong are defined by the symbol's own distribution, never by a hard-coded number, with the live thresholds displayed.
2. Trend Age. When strength enters the strong zone a trend clock starts. Its reading is compared against the average lifespan of this symbol's recent trends and labeled Early, Mature or Late — a maturity gauge that warns before the index visibly rolls over.
3. Strength-filtered directional signals. The T family fires on a directional cross only when strength is already present and rising, removing the whipsaw crosses that make raw Directional Movement unusable in ranges.
4. Ignition and Exhaustion as first-class events. B marks the index breaking into its strong zone with the dominant side; E marks the index turning down from a strong peak — the earliest measurable sign a trend is losing force.
5. The reading on the price chart. A strength aura tints the background in the dominant side's color, intensifying with strength; a directional ribbon through price whose opacity IS the index — bold in strong trends, ghosted in chop.
6. Per-family statistics. Each family's ten-bar outcomes are tracked on your chart, shrunk toward neutral at small samples with a Wilson lower bound, and quoted in every signal's tooltip and on the dashboard.
═══════════════════════════════════════════════
🔶 HOW IT WORKS
— Directional Movement and the index are computed with Wilder's smoothing at configurable lengths.
— The index is ranked inside its history window to derive adaptive thresholds and the current percentile.
— A trend clock runs while strength is strong; completed trend lengths feed the average lifespan used for the maturity label.
— Signals are evaluated on confirmed bars: T on filtered directional crosses, B on strength ignition, E on a confirmed peak-turn in the strong zone.
— Every family feeds its own first-in-first-out outcome samples; the E family is scored on whether the trend actually stalled.
Signals do not repaint. All drawings are capped for performance.
═══════════════════════════════════════════════
🔶 HOW TO USE IT
— Trade the ribbon's opacity: bold ribbon and a full aura mean trend strategies are in their habitat; a ghosted ribbon means range tactics.
— Respect Trend Age: Early trends favor entries on pullbacks, Late trends favor tightening risk and taking profit; the E signal is the confirmation that a Late trend is failing.
— Use B as the regime trigger: strength ignition with the dominant side tells you a range just ended and which way.
— Read the family records before trusting a letter — they tell you how this symbol has historically honored each event.
— Works on all markets and timeframes; the adaptive thresholds recalibrate wherever you load it.
═══════════════════════════════════════════════
🔶 SETTINGS
— Directional Index: directional length, index smoothing, adaptive toggle, fixed levels, history window.
— Signals: visibility, cooldown.
— Statistics: sample cap, minimum samples, shrinkage strength, Wilson z-score.
— Visuals and dashboard: aura and ribbon toggles, ribbon length, full color and position control.
═══════════════════════════════════════════════
🔶 ALERTS
— Directional Cross — the directional lines crossed with strength present and rising.
— Strength Ignition — the index broke into its strong zone.
— Trend Exhaustion — the index turned down from a strong peak.
— Strong Trend Began — adaptive strength entered the strong zone.
═══════════════════════════════════════════════
🔶 FAQ
Q: Does it repaint?
A: No. Signals are evaluated on confirmed bars and never change once printed. The adaptive thresholds move slowly as the history window rolls, but past signals are not re-evaluated.
Q: Does the ADX show direction?
A: The index itself does not — it measures strength only. Direction comes from the directional lines, which this tool reads for you as the Compass row, the aura color and the ribbon color.
Q: Why does the ribbon fade?
A: Its opacity is tied to strength. A faint ribbon is not a bug — it is the tool telling you the trend has no force behind it.
Q: What does "Late" mean in Trend Age?
A: The current trend has already lasted longer than this symbol's average trend. It is not a sell signal; it is a maturity reading that raises the value of the exhaustion signal when it comes.
Q: What do the family percentages mean?
A: The share of past signals in that family after which price had moved favorably ten bars later (for E, the share after which the trend stalled), on the current symbol and timeframe, shrunk toward fifty percent at small samples. They describe history — they are not predictions.
═══════════════════════════════════════════════
🔶 CREDITS
The Average Directional Index, the Directional Movement system and the Average True Range are by J. Welles Wilder Jr. (New Concepts in Technical Trading Systems, 1978). The Wilson score interval is by Edwin B. Wilson (1927). The adaptive strength ranking, trend-age model, signal families, per-symbol statistics, on-chart rendering and all code in this script are original work — no third-party or open-source script code was reused.
═══════════════════════════════════════════════
🔶 LIMITATIONS
— The index is a smoothed, lagging measure; adaptive ranking sharpens its reading but cannot remove the lag.
— Trend Age needs several completed trends on the chart before the average lifespan is meaningful.
— Statistics describe the current chart's history only; past frequencies never guarantee future outcomes.
═══════════════════════════════════════════════
🔶 DISCLAIMER
This indicator is a research and charting tool provided for educational purposes. It is not financial advice, and nothing it displays is a recommendation to buy or sell any asset. Trading involves substantial risk of loss. Always do your own analysis and manage risk responsibly. אינדיקטור

אינדיקטור

Bitcoin SuperFlip | Supertrend EMA Trend-Following StrategySuperFlip combines two of the most widely tested trend-following tools on TradingView — the ATR-based Supertrend and a long-period EMA trend filter — into a single directional strategy built and tuned for BTCUSD on the 1-hour chart. The goal isn't novelty; it's a clean, well-understood core (Supertrend flips) layered with a simple confirmation filter (EMA200) and an optional secondary filter (ADX) to reduce whipsaw entries during choppy, low-conviction conditions.
This is a trend-following, not mean-reversion system. It will have a lower win rate than a typical scalping strategy, and that is by design — trend systems make their money from a smaller number of large winning trades that outweigh a higher frequency of small losses.
How it works
Supertrend (ATR-based) tracks the prevailing trend direction and flips when price crosses its dynamic ATR band. This flip is the core trigger for both entries and exits.
EMA200 trend filter only allows longs when price is above the 200-period EMA, and shorts when price is below it — filtering out counter-trend signals that go against the higher-timeframe bias.
Optional ADX filter (off by default) adds a trend-strength gate, only allowing entries when ADX is above a user-set threshold (default 20). This is intended to reduce entries during flat, directionless conditions where Supertrend tends to whipsaw.
Flip-based exits: positions close automatically when Supertrend flips in the opposite direction — this is the primary exit mechanism.
Optional Stop Loss / Take Profit: percentage-based SL/TP can be layered on top of the flip exit as a secondary risk cap (off by default in the current preset — see warnings below).
Features
Toggleable ADX trend-strength filter with adjustable length, smoothing, and threshold
Optional percentage-based stop loss and take profit
Adjustable Supertrend ATR length/factor and EMA filter length
Visual glow-line Supertrend rendering with layered gradient fill toward price
Bullish/bearish flip markers, separate from actual trade-entry markers, so you can see when Supertrend flips vs. when a trade was actually filtered/taken
Multiple color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom)
Optional bar and background tinting for at-a-glance trend state
Commission (0.075%) and slippage (1 tick) modeled into backtest results by default
Recommendations
Built and tested for BTCUSD, 1H timeframe — this is the intended use case; other assets/timeframes will require re-tuning.
Position sizing defaults to 25% of equity per trade rather than 100% — this materially reduces drawdown and PnL volatility versus full-equity compounding, and is a more realistic starting point for evaluation.
If enabling the ADX filter, start around threshold 15-20 and sweep from there — lower values retain more trades at the cost of some whipsaw protection, higher values do the opposite.
Consider re-enabling a wider stop loss (8-10%+) rather than running with SL fully disabled, especially before using on a leveraged instrument.
Always forward-test or paper-trade before committing real capital — historical performance on a fixed backtest window is not a guarantee of future results.
Warnings
No stop loss is enabled by default in this configuration. Running without a stop loss on a leveraged or volatile asset like BTC carries real, uncapped downside risk per trade — enable and size a stop loss appropriate to your risk tolerance before live use.
With low trade counts (roughly 50-100 in typical backtests), a small number of outlier trades can heavily influence headline profit factor and total return figures — inspect the individual trade list, not just summary stats, before trusting the numbers.
High reported PnL% figures are sensitive to default_qty_value (percent-of-equity compounding) and can look far more impressive than the underlying edge actually is. Judge the strategy primarily by win rate, profit factor, and drawdown — not raw percentage return.
Past performance on historical data does not predict future results. This script is provided for educational and research purposes and is not financial advice.
אסטרטגייה

DNSE VN301!, SMA ADX/DI Trend Following Strategy"SMA ADX DI Trend Following" is a trend-following strategy designed to identify and capture directional price movements by combining SMA slope analysis with ADX trend-strength confirmation and DI directional signals. The strategy uses SMA(89) to determine the primary trend direction, while ADX(14) confirms that the market has sufficient trend strength and DI identifies whether bullish or bearish pressure is dominant.
By requiring agreement between trend direction, trend strength, and directional momentum, the strategy seeks to filter out weak or unclear market conditions while participating in stronger intraday trends. An optional SMA(200) trend filter provides additional broader-trend confirmation. The strategy also includes configurable stop loss, take profit, trading session filters, signal confirmation settings, and automatic end-of-session position closure for disciplined risk management.
Strategy settings and configuration:
Chart timeframe: recommended 15-minute chart
Position size: 3 contracts
Signal SMA length: 89
SMA slope lookback: 5
ADX length: 14
ADX threshold: 20
DI filter: On / Off
New signal only: On / Off
SMA trend filter: disabled by default
Trend filter SMA length: 200
Stop loss: 10 points
Take profit: 20 points
Take profit: On / Off
Time filter: On / Off
Trading session: 09:00 – 14:30
Trade direction: Long / Short / Both
Signal arrows: disabled by default
Default script settings:
The strategy uses a signal SMA with a length of 89 to identify the main market direction. Instead of comparing the current SMA with only the previous candle, the bot uses a slope lookback of 5.
This means the bot compares the current SMA with the SMA value from 5 candles ago. If the current SMA is higher than the SMA from 5 candles ago, the SMA is considered rising. If the current SMA is lower than the SMA from 5 candles ago, the SMA is considered falling.
This method helps reduce noise on the 1-minute timeframe. The bot does not enter a trade just because the SMA moves slightly within one candle.
ADX(14) is used to confirm trend strength. When ADX is above 20, the market is considered to have enough trend strength for trading signals to be considered.
DI is used to confirm trend direction. When +DI is above -DI, buying pressure is dominant. When -DI is above +DI, selling pressure is dominant.
When the DI filter is enabled, the bot only allows Long trades when +DI > -DI. It only allows Short trades when -DI > +DI.
The “New signal only” option helps reduce repeated entries in the same signal state. When this option is enabled, the bot only enters when a new Long or Short state appears.
The SMA(200) trend filter is disabled by default. Users can enable this filter if they want stricter alignment with the larger trend.
When the SMA(200) trend filter is enabled, the script only allows Long trades when SMA(200) is rising and only allows Short trades when SMA(200) is falling.
Entry and exit rules:
Long entry:
Signal SMA is rising based on the 5-candle lookback
AND ADX(14) > 20
AND +DI > -DI, if the DI filter is enabled
AND SMA(200) is rising, if the SMA trend filter is enabled
AND a new Long state has just appeared, if new signal only mode is enabled
AND the signal appears during the trading session
AND trade direction allows Long entries
Long exit:
Stop loss: 10 points from entry price
Take profit: 20 points from entry price, if enabled
Signal SMA turns downward
Reversal when a valid Short signal appears
Automatic position close at the end of the trading session
Short entry:
Signal SMA is falling based on the 5-candle lookback
AND ADX(14) > 20
AND -DI > +DI, if the DI filter is enabled
AND SMA(200) is falling, if the SMA trend filter is enabled
AND a new Short state has just appeared, if new signal only mode is enabled
AND the signal appears during the trading session
AND trade direction allows Short entries
Short exit:
Stop loss: 10 points from entry price
Take profit: 20 points from entry price, if enabled
Signal SMA turns upward
Reversal when a valid Long signal appears
Automatic position close at the end of the trading session
Strategy logic:
CNPS 05 is suitable for market phases with clear trend direction. The signal SMA identifies the main direction. ADX filters for markets with enough trend strength. DI confirms whether buying or selling pressure is dominant.
This structure helps reduce noise in sideways conditions. The bot does not rely only on SMA slope. It also requires enough trend strength and directional confirmation from DI.
Time filter:
The default trading session is 09:00 – 14:30, designed to avoid two abnormal volatility periods.
ATO 08:45 – 09:00 is the opening auction period. Price can gap strongly and technical signals may be noisy.
ATC and negotiated trading 14:30 – 15:00 is the closing auction period. Price can move sharply or reverse quickly.
Users can adjust the start time and end time in the bot settings.
Risk disclaimer:
Futures trading involves a high level of risk and prices can move sharply. This script is provided for reference, research, and backtesting purposes only. Users should fully understand derivatives trading, their own risk tolerance, and the strategy logic before applying it to live trading.
All investment decisions are the responsibility of the user. phaisinh.online is not responsible for any losses arising from the use of this strategy in real trading. Past performance does not guarantee future results.
______________________________________________________________
"SMA ADX DI Trend Following" là một chiến lược giao dịch theo xu hướng, được thiết kế nhằm xác định và nắm bắt các chuyển động giá theo xu hướng bằng cách kết hợp phân tích độ dốc SMA với xác nhận sức mạnh xu hướng từ ADX và tín hiệu định hướng từ DI. Chiến lược sử dụng SMA(89) để xác định hướng xu hướng chính, trong khi ADX(14) xác nhận thị trường đang có đủ sức mạnh xu hướng và DI xác định bên mua hay bên bán đang chiếm ưu thế.
Bằng cách yêu cầu sự đồng thuận giữa hướng xu hướng, sức mạnh xu hướng và động lượng định hướng, chiến lược hướng tới việc lọc các điều kiện thị trường yếu hoặc không rõ xu hướng, đồng thời tham gia vào các xu hướng intraday mạnh hơn. Bộ lọc xu hướng SMA(200) tùy chọn cung cấp thêm xác nhận về xu hướng tổng thể. Chiến lược cũng bao gồm các tùy chọn Stop Loss, Take Profit, bộ lọc khung thời gian giao dịch, cài đặt xác nhận tín hiệu và cơ chế tự động đóng vị thế khi kết thúc phiên, nhằm đảm bảo quản trị rủi ro một cách chặt chẽ và có kỷ luật.
Cài đặt & cấu hình chiến lược:
Biểu đồ: khuyến nghị khung 15 phút
Khối lượng giao dịch: 3 hợp đồng
Chu kỳ SMA tín hiệu: 89
SMA slope lookback: 5
Chu kỳ ADX: 14
Ngưỡng ADX: 20
Bộ lọc DI: Bật / Tắt
Chỉ vào khi tín hiệu mới: Bật / Tắt
Bộ lọc xu hướng SMA: Tắt mặc định
Chu kỳ SMA bộ lọc: 200
Cắt lỗ: 10 điểm
Chốt lời: 20 điểm
Dùng chốt lời: Bật / Tắt
Bộ lọc giờ: Bật / Tắt
Khung giờ giao dịch: 09:00 – 14:30
Chiều giao dịch: Mua / Bán / Cả hai
Hiện mũi tên tín hiệu: Tắt mặc định
Cài đặt mặc định của script:
Chiến lược sử dụng SMA tín hiệu chu kỳ 89 để xác định hướng chính của thị trường. Thay vì so sánh SMA hiện tại với đúng một nến trước, bot sử dụng SMA slope lookback 5.
Điều này có nghĩa là bot so sánh SMA hiện tại với SMA của 5 nến trước. Nếu SMA hiện tại cao hơn SMA của 5 nến trước, SMA được xem là đang dốc lên. Nếu SMA hiện tại thấp hơn SMA của 5 nến trước, SMA được xem là đang dốc xuống.
Cách tính này giúp giảm nhiễu trên khung 1 phút. Bot không vào lệnh chỉ vì SMA nhích nhẹ trong một nến ngắn.
ADX(14) được dùng để xác nhận sức mạnh xu hướng. Khi ADX lớn hơn 20, thị trường được xem là có đủ lực xu hướng để xét tín hiệu giao dịch.
DI được dùng để xác nhận hướng xu hướng. Khi +DI lớn hơn -DI, lực tăng đang chiếm ưu thế. Khi -DI lớn hơn +DI, lực giảm đang chiếm ưu thế.
Khi bật bộ lọc DI, bot chỉ cho phép lệnh Mua khi +DI > -DI. Bot chỉ cho phép lệnh Bán khi -DI > +DI.
Tùy chọn “Chỉ vào khi tín hiệu mới” giúp hạn chế vào lại liên tục trong cùng một trạng thái. Khi bật tùy chọn này, bot chỉ vào lệnh khi trạng thái Long hoặc Short vừa mới xuất hiện.
Bộ lọc SMA(200) được để tắt mặc định. Người dùng có thể bật bộ lọc này nếu muốn giao dịch chặt hơn theo xu hướng lớn.
Khi bật bộ lọc SMA(200), script chỉ cho phép lệnh Mua khi SMA(200) dốc lên và chỉ cho phép lệnh Bán khi SMA(200) dốc xuống.
Điều kiện vào và thoát lệnh:
Vào lệnh Mua:
SMA tín hiệu dốc lên theo lookback 5
VÀ ADX(14) > 20
VÀ +DI > -DI, nếu bật bộ lọc DI
VÀ SMA(200) dốc lên, nếu bật bộ lọc xu hướng SMA
VÀ trạng thái Mua vừa mới xuất hiện, nếu bật chế độ chỉ vào tín hiệu mới
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Mua
Thoát lệnh Mua:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 20 điểm từ giá vào lệnh, nếu bật
SMA tín hiệu đảo chiều xuống
Đảo chiều khi xuất hiện tín hiệu Bán hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Vào lệnh Bán:
SMA tín hiệu dốc xuống theo lookback 5
VÀ ADX(14) > 20
VÀ -DI > +DI, nếu bật bộ lọc DI
VÀ SMA(200) dốc xuống, nếu bật bộ lọc xu hướng SMA
VÀ trạng thái Bán vừa mới xuất hiện, nếu bật chế độ chỉ vào tín hiệu mới
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Bán
Thoát lệnh Bán:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 20 điểm từ giá vào lệnh, nếu bật
SMA tín hiệu đảo chiều lên
Đảo chiều khi xuất hiện tín hiệu Mua hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Logic chiến lược:
CNPS 05 phù hợp với các giai đoạn thị trường có xu hướng rõ ràng. SMA tín hiệu giúp xác định hướng di chuyển chính. ADX giúp lọc những giai đoạn thị trường có lực. DI giúp xác nhận lực đang nghiêng về bên Mua hay bên Bán.
Cấu trúc này giúp bot hạn chế tín hiệu nhiễu trong vùng sideway. Bot không chỉ nhìn độ dốc SMA, mà còn yêu cầu thị trường có đủ sức mạnh xu hướng và có xác nhận hướng từ DI.
Bộ lọc giờ:
Mặc định 09:00 – 14:30, nhằm tránh hai vùng biến động bất thường.
ATO 08:45 – 09:00 là giai đoạn khớp lệnh mở cửa. Giá thường có thể gap mạnh và tín hiệu kỹ thuật dễ bị nhiễu.
ATC và giao dịch thỏa thuận 14:30 – 15:00 là giai đoạn khớp lệnh đóng cửa. Giá có thể biến động mạnh hoặc đảo chiều nhanh.
Người dùng có thể điều chỉnh giờ bắt đầu và giờ kết thúc trong phần cài đặt bot.
Tuyên bố rủi ro:
Giao dịch hợp đồng tương lai có mức độ rủi ro cao và giá có thể biến động mạnh. Script này chỉ phục vụ mục đích tham khảo, nghiên cứu và kiểm thử. Người dùng cần hiểu rõ giao dịch phái sinh, khẩu vị rủi ro cá nhân và logic của chiến lược trước khi áp dụng vào giao dịch thực tế.
Mọi quyết định đầu tư thuộc trách nhiệm của người dùng. phaisinh.online không chịu trách nhiệm cho bất kỳ khoản lỗ nào phát sinh từ việc sử dụng chiến lược này trong giao dịch thực tế. Hiệu quả trong quá khứ không đảm bảo kết quả trong tương lai.
אסטרטגייה

TrendShift | Supertrend + ADX Regime-Adaptive StrategyOverview
Most Supertrend strategies use one fixed ATR multiplier for every market condition — which means it's either too tight (whipsawed in chop) or too wide (late to catch real trends). TrendShift fixes this by reading market regime in real time with ADX and automatically shifting the Supertrend multiplier to match: tight and responsive when the market is trending, wide and defensive (or disabled entirely) when it's choppy. The strategy essentially "changes gears" as conditions change, and shows you exactly which gear it's in.
Features
ADX-based regime detection — classifies the market as Trending, Choppy, or Neutral, with a built-in hysteresis zone so the regime doesn't flicker back and forth near the threshold.
Dynamic Supertrend multiplier — automatically tightens (fast entries) in trends and widens (fewer false signals) in chop, recalculated live every bar.
Signal gating — Supertrend flips during choppy conditions are suppressed by default; no trades fire on noise.
Risk-based position sizing — every trade risks a fixed % of equity, sized off the actual stop distance (the Supertrend line), so trade size adapts to current volatility automatically.
Trailing stop + optional R-multiple take profit — the Supertrend line itself trails the stop; an optional fixed reward-to-risk target can close the trade early.
Optional chop-flatten & max-bars-in-trade exits — extra safety nets for getting out of dead trades.
Clean, glowing trend line with gradient fill — colored green/red by direction, turns gray and flat in chop, with minimal arrow labels only on actual signal flips (no clutter).
Live dashboard — a small on-chart table showing current Regime, ADX value, Active Multiplier, and Position status, so you can literally watch the strategy shift gears.
How it works
ADX is calculated each bar and compared against two thresholds (default: 25 trending / 20 choppy).
Based on that regime, the strategy picks a tight multiplier (trending) or a wide one (choppy) for the Supertrend calculation — held steady in the neutral zone to avoid jitter.
Supertrend is recalculated using this adaptive multiplier, and a flip in trend direction becomes a trade signal only if the current regime allows new entries.
Position size is calculated from your risk % input and the distance from price to the Supertrend line, so every trade risks roughly the same account %, regardless of how wide the current band is.
The Supertrend line trails your stop; an optional R-multiple limit order banks profit early if enabled.
Tips
Start with the default ADX thresholds (20/25) and multipliers (1.75 tight / 4.5 wide) — they're tuned to be reasonable across timeframes, but always re-check on your specific instrument.
On lower timeframes or noisier symbols, consider raising the choppy threshold or widening the "wide" multiplier further — chop is more common intraday.
Leave "Disable new entries in choppy regime" ON for cleaner equity curves; turn it off if you want to see how the strategy performs without the filter (useful for comparison).
The dashboard's ADX/Multiplier readout is the fastest way to sanity-check whether the strategy is behaving as expected on a given chart — if it feels like it's not trading, check whether it's stuck in "CHOPPY."
Combine with your own higher-timeframe bias filter if you want extra confluence; the strategy doesn't currently check higher-timeframe trend.
This is a strategy script (has backtest results), not just a visual indicator — use the Strategy Tester tab to evaluate performance before live use.
אסטרטגייה

אסטרטגייה

Adaptive ATR Scalper - Instant & Lock VersionWelcome to Adaptive ATR Scalper, a robust, trend-following scalping strategy designed to capture quick momentum bursts while heavily filtering out noise during chop or post-target consolidation.
This strategy combines an ADX-Adaptive ATR trailing stop with a dual-timeframe dynamic (Main Trend + Fast Trigger) and introduces a unique Smart Lock Mechanism to prevent overtrading.
⚡ Key Features
ADX-Adaptive Multiplier
Most ATR-based indicators (like Supertrend) use a fixed multiplier, which fails when market regimes change. This strategy dynamically switches its ATR multiplier based on ADX.
When ADX is rising (strong trending environment), it uses a tighter multiplier (m1) to secure early entries.
When ADX is falling (weakening trend or chop), it automatically widens the multiplier (m2) to prevent getting chopped out.
Dual-Layer Trend Alignment
Main Trend (Thick Line): Acts as the major filter, keeping you on the right side of the macro direction.
Fast Trigger (Thin Line): Captures micro-swings.
An entry only occurs when both trends align in the same direction.
Smart Lock Mechanism (The Anti-Overtrading Shield)
A classic problem with scalping scripts is that after a successful TP (Take Profit) or SL (Stop Loss), the script immediately re-enters the same trend, often leading to losses.
How it works: As soon as a position closes, the strategy enters a Lock State (visualized by a grey background).
How it unlocks: It will not take another trade until either the Main Trend or the Fast Trigger changes direction. This ensures you only trade fresh momentum.
🛠️ Execution & Exit Rules
Entries: Triggered when Main Trend == Fast Trigger and the script is not locked.
Exits: The strategy utilizes a triple-exit matrix for maximum safety:
Dynamic Trend Exit: If the Fast Trigger reverses against the position, it exits immediately to preserve capital.
Fixed Stop Loss (SL): Percentage-based emergency stop.
Fixed Take Profit (TP): Percentage-based target to lock in gains.
📊 Recommended Settings & Assets
Assets: High-liquidity instruments (Crypto majors like BTC/ETH, Forex majors, or Index Futures like Nasdaq/SPY).
Timeframes: Designed primarily for 1m, 3m, 5m, and 15m charts.
Tip: Adjust the SL/TP percentages based on the volatility of your selected asset and timeframe.
Disclaimer: Backtest thoroughly before deploying live. Past performance does not guarantee future results. אסטרטגייה

אסטרטגייה

Market Condition Oscillator [HexaTrades]Market Condition Oscillator classifies price action into three simple states: Bullish Trend, Bearish Trend, and Consolidation, and paints them as a color-coded histogram below your chart. It is built to answer one question at a glance: should I be trend-trading right now, or is the market just chopping sideways?
What it shows
🟢 Green histogram above zero → confirmed bullish trend. Taller bars = stronger trend.
🔴 Red histogram below zero → confirmed bearish trend. Deeper bars = stronger trend.
⚪ Gray histogram near zero → consolidation/range (no clear trend).
How it works
The indicator combines four classic, well-understood concepts so that no single signal can produce a false trend on its own:
1. ADX (trend strength): measures how strongly the market is trending. Below the threshold, the market is treated as consolidation regardless of direction.
2. DI+ / DI− (direction) : the Directional Movement pair decides whether strength is to the upside or downside.
3. EMA position + slope (confirmation) : price must be on the correct side of the EMA and the EMA must be sloping the right way. This filters out counter-trend spikes.
4. ATR & EMA-distance (range detection) : consolidation is flagged when volatility compresses or price hugs the EMA, even if ADX hasn't fully dropped yet.
A phase only changes after the condition holds for a configurable number of candles (Confirmation Bars). This is the key to removing the constant flip-flopping that plagues most trend indicators.
Trend rules
✏️ Bullish = ADX above threshold and DI+ > DI− and price above EMA and EMA rising — held for N bars.
✏️Bearish = ADX above threshold and DI− > DI+ and price below EMA and EMA falling — held for N bars.
✏️Consolidation = weak ADX, or compressed ATR, or price hugging the EMA — anything that is not a confirmed trend.
Features
- Bullish, bearish, and consolidation market phase detection.
- Separate oscillator panel for clean chart reading.
- Color-coded histogram.
- Optional histogram smoothing.
- Confirmation bars to reduce false flips.
- Phase label on the latest candle.
- Legend table for easy interpretation.
- Alert conditions for bullish, bearish, consolidation, and trend-flip events.
- Uses confirmed candle data only and does not use future references.
How to use it
- Trend traders: only take longs while the histogram is green, shorts while it is red. Stand aside on gray.
- Mean-reversion traders: the gray phase highlights range conditions where fade/scalp setups work best.
- Filter: combine with your existing entry system and ignore signals that fight the MCO color.
- Works on any market and any timeframe. For higher timeframes, consider raising the ADX threshold and Confirmation Bars.
Alerts
Five ready-to-use alert conditions:
Bullish Trend Started
Bearish Trend Started
Consolidation Started
Bullish → Bearish Shift
Bearish → Bullish Shift
This indicator is designed to help identify market conditions. It should be combined with price action, support and resistance, volume, and proper risk management. No indicator can guarantee profitable trades.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
This indicator is for educational and analytical purposes only. It should not be considered financial advice. Always use proper risk management and make trading decisions based on your own analysis
אינדיקטור

ADX Intraday
A trend tool for NQ on the 5-minute, aimed at the first couple hours after the open. ADX is the gatekeeper. If it's under the threshold the market's chopping and you do nothing. When ADX says we're trending, +DI versus -DI gives direction, VWAP and the 20 EMA set the bias, and a candle handles the timing. Long wants a trending read, +DI over -DI, price on the right side of VWAP and the EMA, and a confirming bar. Short is the flip. The ADX filter is the whole point, it keeps you out of the grind. Single timeframe, no outside data pulls, so nothing repaints. אינדיקטור

אינדיקטור

ZENFlow Regime Lite | Market Context GuideZENFlow Regime Lite | Market Context Guide
ZENFlow Regime Lite is an open-source market regime and context-reading indicator designed to help traders understand the current market environment before looking for trade setups.
The main idea behind this script is simple:
Read the market first.
Then decide whether the market is trending, ranging, compressing, or unclear.
This Lite version is designed as a beginner-friendly market context guide. It does not provide direct entry, stop-loss, or take-profit levels. Instead, it helps users identify the broader condition of the market so they can make more informed decisions using their own trading method.
Core Concept
Many traders start by asking:
Should I buy?
Should I sell?
Where is the entry?
ZENFlow Regime Lite starts from a different question:
What kind of market are we in right now?
The indicator uses a multi-timeframe context approach. It reads the current chart timeframe together with a higher timeframe context to help classify the market into broad conditions such as trend, range, compression, chop, or breakout-watch environments.
What This Indicator Shows
HTF Context
The higher timeframe context helps users understand the broader market environment.
Examples:
• Trend Up
• Trend Down
• Range
• Compression
• Chop
HTF Bias
The bias row summarizes whether the higher timeframe favors long, short, range mode, breakout watch, or neutral conditions.
Examples:
• Long Bias
• Short Bias
• Range Mode
• Wait Breakout
• Neutral
Trading Timeframe Regime
The script also reads the current chart timeframe to show whether the trading timeframe is trending, ranging, compressing, or choppy.
Market State
The state classification helps users understand the phase of the move.
Examples:
• Early
• Healthy
• Mature
• Exhaustion
Momentum
Momentum is based on directional pressure and DI gap behavior.
Examples:
• Rising
• Strong
• Fading
• Collapsing
Energy
Energy is based on ATR behavior compared with its baseline.
Examples:
• Quiet
• Normal
• Expanding
• Extreme
Guide
The Guide row provides a broad market-reading suggestion.
Examples:
• Follow Long Bias
• Follow Short Bias
• Avoid Chase
• Range Market
• Wait Breakout
• Wait
The Guide is not an entry signal. It is a market-context summary.
Calculation Logic
ZENFlow Regime Lite combines several market components:
• ADX and DI
Used to detect trend strength and directional pressure.
• Bollinger Band Width
Used to identify range and compression conditions.
• ATR and ATR Baseline
Used to measure volatility and market energy.
• Stochastic
Used as part of state and exhaustion interpretation.
• Multi-Timeframe Context
Used to compare the current chart timeframe with a higher timeframe environment.
The purpose of combining these components is to avoid reading price action from a single signal only. The script is designed to provide a broader context before trade planning.
How to Use
Start with HTF Context
Check whether the higher timeframe is trending, ranging, compressing, or choppy.
Read HTF Bias
Use this to understand whether the broader environment favors long, short, range, breakout watch, or neutral behavior.
Check the Trading Timeframe
Compare the current chart timeframe with the higher timeframe. Alignment between both timeframes usually provides a cleaner reading.
Read State, Momentum, and Energy
These rows help determine whether the current move is still developing, healthy, late, or losing strength.
Use the Guide row carefully
The Guide row is only a broad context suggestion. It should not be treated as an automatic buy or sell instruction.
Suggested Interpretation
A stronger long-side context may appear when:
• HTF Bias favors Long
• Trading timeframe is also Trend Up
• State is Early or Healthy
• Momentum is Rising or Strong
• Energy is Normal or Expanding
A stronger short-side context may appear when:
• HTF Bias favors Short
• Trading timeframe is also Trend Down
• State is Early or Healthy
• Momentum is Rising or Strong
• Energy is Normal or Expanding
A caution condition may appear when:
• State is Mature or Exhaustion
• Momentum is Fading or Collapsing
• Energy is Extreme
• The market is in Range, Compression, or Chop
• Price has already moved too far and the Guide shows Avoid Chase
What This Lite Version Does Not Include
This Lite version is intentionally limited to broad market-regime reading.
It does not include:
• Final Plan
• Action row
• ZSS setup events
• CHoCH / BOS engine
• Liquidity target engine
• Entry / Stop-loss / Take-profit planner
• Tactical reversal layer
• Trade execution system
This keeps the script simple, educational, and suitable for users who want to learn how to read market context first.
Alerts
The script includes broad context alerts such as:
• Follow Long Bias
• Follow Short Bias
• Avoid Chase
• Range Market
• Wait Breakout
• Wait
These alerts are designed to notify users when the market context changes. They are not standalone trade signals.
Recommended Use
ZENFlow Regime Lite can be used as:
• A market-regime dashboard
• A trend/range/compression context reader
• A top-down market filter
• A learning tool for reading market condition
• A companion to a trader’s own entry method
Limitations
This indicator does not predict future price movement.
It does not guarantee profitable trades.
It does not replace risk management.
It should not be used as a standalone trading system.
Market behavior can change quickly, especially during news events, low-liquidity periods, or highly volatile conditions.
All trading decisions remain the responsibility of the user.
Educational Use Only
This script is intended for educational and analytical use only.
It is not financial advice.
──────────────────── אינדיקטור

ZENFlow ADX | Trend Strength & Directional PressureZENFlow ADX
ZENFlow ADX is an open-source ADX / DI trend-strength indicator designed to help traders read directional pressure, trend development, and possible trend-ending conditions.
This script is based on the classic ADX and Directional Movement concept, using +DI, -DI, ADX smoothing, and threshold levels to classify market conditions.
The goal of this indicator is not to predict price direction, but to make trend strength and directional pressure easier to read.
Core Logic
The indicator calculates:
• +DI
Directional strength from upward price movement.
• -DI
Directional strength from downward price movement.
• ADX
A smoothed measure of trend strength based on the difference between +DI and -DI.
• Range / Trend Thresholds
User-defined levels are used to separate lower-strength range conditions from stronger trend conditions.
How It Works
The ADX line changes color based on directional pressure and whether trend strength is increasing or decreasing.
• White ADX
The market is below the range threshold. Trend strength is not clear.
• Dark Green ADX
Bullish directional pressure is dominant and ADX is rising.
• Light Green ADX
Bullish directional pressure remains dominant, but ADX is not rising.
• Dark Red ADX
Bearish directional pressure is dominant and ADX is rising.
• Light Red ADX
Bearish directional pressure remains dominant, but ADX is not rising.
The area between +DI and -DI is also filled to make the dominant side easier to see visually.
Signal Markers
The script includes visual markers for:
• Bullish Trend
A bullish directional condition begins.
• Bearish Trend
A bearish directional condition begins.
• Strong Bullish Trend
Bullish directional pressure is dominant and above the trend threshold.
• Strong Bearish Trend
Bearish directional pressure is dominant and above the trend threshold.
• End Trend
A possible trend-ending condition appears when DI lines cross or ADX falls back into the range zone.
How to Use
Use the ADX line to check whether the market has enough trend strength.
Use +DI and -DI to identify which side has stronger directional pressure.
Use the color of the ADX line to see whether trend strength is increasing or fading.
Use signal markers as context alerts, not as automatic entry or exit instructions.
Combine this indicator with price structure, support/resistance, volatility, and risk management.
Suggested Interpretation
A stronger bullish trend condition appears when:
• ADX is above the trend threshold
• +DI is above -DI
• +DI is also above the trend level
• ADX is rising
A stronger bearish trend condition appears when:
• ADX is above the trend threshold
• -DI is above +DI
• -DI is also above the trend level
• ADX is rising
A lower-quality or range condition may appear when:
• ADX is below the range threshold
• +DI and -DI cross frequently
• ADX is flat or falling
• Directional pressure is unclear
Inputs
• ADX Smoothing
Controls the smoothing length of the ADX line.
• DI Length
Controls the calculation length for +DI and -DI.
• Level Range
Defines the ADX level used to identify lower-strength range conditions.
• Level Trend
Defines the DI level used to classify stronger directional pressure.
Alerts
The script includes alert conditions for:
• Any Alert
• Buy Weak Alert
• Sell Weak Alert
• Buy Strong Alert
• Sell Strong Alert
• Buy Close Alert
• Sell Close Alert
These alerts are intended to notify users when a condition appears. They should not be treated as standalone trading signals.
Limitations
This indicator does not predict future price movement.
It does not guarantee profitable trades.
It does not replace risk management.
It can produce false signals in choppy, low-volume, or highly volatile markets.
ADX and DI are lagging indicators and should be interpreted with market context.
This script is intended for educational and analytical use only.
It is not financial advice. אינדיקטור

אינדיקטור

ADX Directional Index DI FREE , Trend Strength MTF //BPSTrend-strength indicator with classic ADX, Directional Index (DI+ /
DI-), color-coded strength zones, crossover signals and a
10-timeframe dashboard.
📊 WHAT IT SHOWS
• ADX line (0–100) — measures trend strength regardless of direction
• DI+ and DI- lines — show directional pressure (bull vs bear)
• Bullish / bearish crossover signals when DI lines cross
• Multi-timeframe dashboard: D, 4H, 2H, 1H, 30m, 15m, 10m, 5m, 3m, 1m
• Color-coded background highlighting strong trends
🎯 HOW TO USE
• ADX > 20 = trending market → use trend-following strategies
• ADX < 20 = ranging market → mean-reversion / range setups
• DI+ crosses above DI- = bullish bias · DI- above DI+ = bearish
• Use the 10-TF dashboard for instant multi-timeframe context
• Pair with Smart Money for order-block + trend confluence
🔑 KEYWORDS
ADX, Directional Index, DI+, DI-, Trend Strength, Multi-Timeframe,
MTF Dashboard, Wilder, Average Directional Index, Trend Following,
Crossover Signals אינדיקטור

Katana Signal AUDCAD Entry IndicatorThis indicator visualises the entry logic behind Katana EA v1.4
— an MT4 Expert Advisor I developed privately in 2022 and have
been running on a live account ever since.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE SIGNAL WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Entry is triggered only when TWO conditions align on the prior
closed bar (shift=1, no repainting):
BUY signal:
• RSI reaches oversold extreme
• Parabolic SAR is below the prior bar's low
SELL signal:
• RSI reaches overbought extreme
• Parabolic SAR is above the prior bar's high
Both conditions must be true simultaneously.
Single-indicator entries are filtered out.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY AUDCAD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AUD and CAD are both commodity-linked currencies that move
together the majority of the time. When they temporarily
diverge — due to oil price moves, RBA/BOC policy divergence,
or risk sentiment shifts — mean-reversion setups have strong
structural reasons to work.
This makes AUDCAD one of the cleanest pairs for this type
of strategy. The correlation rarely breaks permanently,
which limits the risk of runaway adverse moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISPLAY SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• BUY signal → green triangle below bar
• SELL signal → red triangle above bar
• Parabolic SAR → grey dots (standard display)
• Background highlight on signal bars (can be disabled)
• Info table top-right: SAR direction, current signal status
Strategy parameters are optimised internally and not exposed
— this prevents unintended parameter changes that could
degrade performance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MT4 AUTOMATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator shows the entry signals visually.
The automated version (Katana EA v1.4) executes these
entries on MT4 with:
• Dynamic lot sizing — auto-scales with account balance
• Martingale position scaling (max 8 positions)
• Hard stop-loss + 8-hour cooldown after each SL event
• Active hours filter (London + New York session only)
51-month backtest results (Mar 2022 – May 2026):
✓ Net profit: +6,717% on ¥150,000 starting capital
✓ Win rate: 96.5% per trade cycle
✓ Profit factor: 1.54
✓ Stop-losses: 33 in 51 months
✓ Modelling quality: 90% (Every Tick, 60M+ real tick data)
Includes: 2022 Ukraine war oil spike, Trump tariffs,
Middle East conflict periods.
Free 14-day trial + full licence: payhip.com/b/j4d6F
Licence delivery & support: Telegram @KaTa4649
⚠ Requires broker with 500:1 leverage (XM Global recommended)
⚠ Not compatible with US / Canada / UK retail accounts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED SETUP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For visual analysis: use on AUDCAD 1H or 4H
For the automated EA: runs on AUDCAD M5
Broker: XM Global Standard Account (JPY or USD)
Min capital: ¥150,000 or $1,000 USD אינדיקטור

Katana Signal AUDCAD Mean-Reversion Entry IndicatorThis indicator visualises the entry logic behind Katana EA v1.4
— an MT4 Expert Advisor I developed privately in 2022 and have
been running on a live account ever since.
━━━━━━━━━━━━
HOW THE SIGNAL WORKS
━━━━━━━━━━━━
Entry is triggered only when TWO conditions align on the prior
closed bar (shift=1, no repainting):
BUY signal:
• RSI reaches oversold extreme
• Parabolic SAR is below the prior bar's low
SELL signal:
• RSI reaches overbought extreme
• Parabolic SAR is above the prior bar's high
Both conditions must be true simultaneously.
Single-indicator entries are filtered out.
━━━━━━━━
WHY AUDCAD
━━━━━━━━━
AUD and CAD are both commodity-linked currencies that move
together the majority of the time. When they temporarily
diverge — due to oil price moves, RBA/BOC policy divergence,
or risk sentiment shifts — mean-reversion setups have strong
structural reasons to work.
This makes AUDCAD one of the cleanest pairs for this type
of strategy. The correlation rarely breaks permanently,
which limits the risk of runaway adverse moves.
━━━━━━━━
DISPLAY SETTINGS
━━━━━━━━━
• BUY signal → green triangle below bar
• SELL signal → red triangle above bar
• Parabolic SAR → grey dots (standard display)
• Background highlight on signal bars (can be disabled)
• Info table top-right: SAR direction, current signal status
Strategy parameters are optimised internally and not exposed
— this prevents unintended parameter changes that could
degrade performance.
━━━━━━━━━
MT4 AUTOMATION
━━━━━━━━━━
This indicator shows the entry signals visually.
The automated version (Katana EA v1.4) executes these
entries on MT4 with:
• Dynamic lot sizing — auto-scales with account balance
• Martingale position scaling (max 8 positions)
• Hard stop-loss + 8-hour cooldown after each SL event
• Active hours filter (London + New York session only)
51-month backtest results (Mar 2022 – May 2026):
✓ Net profit: +6,717% on ¥150,000 starting capital
✓ Win rate: 96.5% per trade cycle
✓ Profit factor: 1.54
✓ Stop-losses: 33 in 51 months
✓ Modelling quality: 90% (Every Tick, 60M+ real tick data)
Includes: 2022 Ukraine war oil spike, Trump tariffs,
Middle East conflict periods.
Free 14-day trial + full licence: payhip.com/b/j4d6F
Licence delivery & support: Telegram @KaTa4649
⚠ Requires broker with 500:1 leverage (XM Global recommended)
⚠ Not compatible with US / Canada / UK retail accounts
━━━━━━━━━
RECOMMENDED SETUP
━━━━━━━━━━━━
For visual analysis: use on AUDCAD 1H or 4H
For the automated EA: runs on AUDCAD M5
Broker: XM Global Standard Account (JPY or USD)
Min capital: ¥150,000 or $1,000 USD אינדיקטור

אינדיקטור

EMA 40 Pullback Pyramid StrategyEMA 40 Pullback Pyramid Strategy
EMA 40 Pullback Pyramid Strategy is an educational trend-following strategy designed to study long-side entries around a rising 40-period Exponential Moving Average, with optional pullback re-entry logic, ADX trend-strength filtering, and EMA cross-based entry/exit conditions.
This is a strategy script, not a prediction tool and not financial advice. It is intended for research, backtesting, and forward-testing only. Historical results are hypothetical and can differ significantly from live trading due to slippage, commissions, liquidity, order execution, symbol behavior, timeframe selection, and market regime changes.
What the strategy does
The strategy uses the 40-period EMA as its main directional reference.
The EMA color changes according to its slope:
- Green EMA: the EMA is rising.
- Red EMA: the EMA is falling.
- Gray EMA: the EMA is flat or unchanged.
The strategy can enter long positions when selected bullish conditions occur and can close positions when selected bearish or exit conditions occur.
Core logic
1. EMA 40 trend direction
The strategy calculates a fast EMA using the selected EMA length. The default value is 40.
A bullish trend condition exists when the EMA is rising. A bearish condition exists when the EMA is falling.
The original base entry occurs when the EMA changes from not rising to rising, and ADX is above the selected minimum threshold.
2. ADX trend-strength filter
The strategy uses DMI / ADX to filter weak trend conditions.
A trade can qualify only when ADX is above the selected ADX threshold. The default threshold is 20.
This filter is intended to reduce entries during weak or sideways market conditions, but it does not eliminate false signals.
3. Pullback re-entry logic
When enabled, the pullback module looks for price to retrace toward the EMA by a selected ATR-based distance and then recover above the EMA.
The pullback condition uses:
- ATR length.
- Pullback distance multiplied by ATR.
- Recovery candle logic, where the candle closes above the EMA and closes above its open.
This feature is designed to study additional entries during an existing upward EMA trend. Because pyramiding is enabled, these pullback signals can add to an existing long position depending on the strategy settings.
4. EMA 40 cross signals
The strategy includes optional EMA cross buy/sell logic.
The cross detection mode can be:
- Close mode: uses close crossing above or below the EMA.
- Wick mode: uses wick interaction with the EMA followed by a close on the opposite side.
When “Use EMA cross signals in strategy orders” is enabled, these signals can participate in actual strategy entries and exits. When disabled, they can be used only as visual reference signals.
5. Minimum bars between entries
The strategy includes a minimum-bars-between-entries setting. This helps reduce immediate repeated entries and gives users control over signal spacing.
6. Pyramiding
The strategy uses pyramiding to allow multiple long entries when qualifying conditions appear. This is mainly intended to study whether adding into a trend after pullbacks improves or worsens the tested behavior.
Users should review this setting carefully. Pyramiding increases exposure and can materially increase both potential returns and potential drawdowns.
Default strategy properties
The script uses the following default strategy properties:
- Initial capital: 1,000
- Position sizing: percent of equity
- Default order size: 33% of equity
- Pyramiding: 3
- Commission: 0.1%
- Slippage: defined in the strategy settings
- Bar magnifier: disabled
- Calculate on every tick: disabled
- Process orders on close: disabled
These settings are included for testing purposes only. They may not be suitable for every market, timeframe, or trader. Users should adjust position sizing, commission, slippage, pyramiding, and test date range to reflect realistic conditions for the instrument being tested.
Important backtesting note
TradingView strategy results are simulations based on historical bar data. They are not live trading results.
Backtest results can change significantly depending on:
- Symbol
- Timeframe
- Date range
- Commission
- Slippage
- Liquidity
- Spread
- EMA length
- ADX threshold
- ATR length
- Pullback multiplier
- Minimum bars between entries
- EMA cross mode
- Whether EMA cross signals are used for orders
- Pyramiding setting
- Market regime
Users should test the strategy on a sufficiently large sample of trades and across different market conditions before drawing conclusions. A small number of trades is not enough to evaluate a strategy reliably.
How to use it
A practical workflow is:
1. Select the symbol and timeframe to test.
2. Use a realistic date range that includes different market conditions.
3. Review whether the strategy produces a sufficient number of trades.
4. Adjust commission and slippage to match the market being tested.
5. Review the impact of position size and pyramiding on drawdown.
6. Compare results with and without pullback re-entry.
7. Compare results with and without EMA cross signals being used for strategy orders.
8. Forward-test before considering any real-world use.
Inputs
Date Range
- Start Date: first date included in the test.
- End Date: last date included in the test.
Moving Average
- Fast EMA Length: controls the EMA used for trend direction, pullbacks, and cross signals.
DMI / ADX
- DI Length: DMI calculation period.
- ADX Smoothing: smoothing period for ADX.
- ADX minimum to trade: minimum ADX value required for qualifying trend entries.
Pullback Re-entry
- Enable pullback re-entry: enables or disables ATR-based pullback entries.
- Pullback distance × ATR: controls how close price must pull back toward the EMA.
- ATR Length: ATR period used for pullback distance.
Signal Control
- Minimum bars between entries: controls spacing between entries.
EMA 40 Cross Signals
- Use EMA 40 cross buy/sell signals: enables visual EMA cross signals.
- EMA cross detection mode: chooses Close mode or Wick mode.
- Use EMA cross signals in strategy orders: determines whether EMA cross signals affect actual strategy orders.
Visual elements
The script plots:
- The EMA line, colored by slope.
- Base entry markers.
- Pullback add-entry markers.
- Optional EMA cross buy/sell markers.
- Hidden ADX and ADX threshold plots available for reference.
Limitations
This strategy is long-side focused and does not create independent short positions.
The strategy can underperform during sideways or choppy market conditions, even with the ADX filter.
EMA-based systems are inherently lagging because moving averages react to prior price data.
ADX can confirm trend strength but does not determine trade direction by itself.
Pullback and pyramiding logic can increase exposure and may increase drawdown.
No strategy setting can guarantee profitability or future performance.
Recommended use
This strategy is best used as an educational framework for testing EMA trend continuation, ATR-based pullback re-entry, ADX trend-strength filtering, and pyramiding behavior.
It should be used with realistic backtesting assumptions, conservative risk controls, and additional independent analysis before any trading decision. אסטרטגייה

אינדיקטור

SVEA - Smart Valuation & Analysis [Gabremoku]SVEA - Smart Valuation & Analysis is a multi-layer technical analysis framework designed to combine adaptive RSI overbought/oversold logic, multi-timeframe confluence, ADX volatility zones, and smart signal visualization into one single chart overlay.
At its core, SVEA uses RSI as the primary valuation engine for detecting overbought and oversold conditions, then expands that logic with adaptive thresholds, asset-specific presets, multi-timeframe confirmation, and ADX-based dynamic price zones. RSI is widely used to spot momentum extremes, but it is often more effective when combined with broader context such as trend strength, volatility, and higher-timeframe confirmation.
The result is a flexible decision-support tool built for traders who want more than a plain oscillator — a full environment for reading exhaustion, confluence, volatility expansion, and reversal potential directly on the chart.
What it shows
📊 Adaptive OB/OS Engine — SVEA uses RSI as the core oscillator and can switch between:
Adaptive thresholds
Auto-detected presets
Equity / Crypto / Forex / 15m presets
Custom levels
Because RSI thresholds often behave differently across instruments and timeframes, adaptive or asset-specific levels can provide more context than rigid 70/30 defaults.
🎯 OB/OS Price Zones — instead of showing only RSI values, the script projects overbought and oversold conditions into visual price bands and event boxes on the chart.
🧠 Multi-Timeframe Confluence — RSI values from the current timeframe plus two higher timeframes are compared in a confluence table, making it easier to identify when conditions align across chart scales. Multi-timeframe RSI is commonly used to improve timing and filter noise.
⚡ ADX Volatility Zones — SVEA combines ADX with Bollinger Band expansion logic to create dynamic top and bottom zones, then generates ADX-based zone-entry signals. ADX is a trend-strength tool, while Bollinger Bands help frame volatility expansion and statistical stretch.
🔺 Adaptive Buy/Sell Signals — buy/sell markers are triggered when RSI exits oversold or overbought conditions, optionally filtered by ADX strength and multi-timeframe confirmation.
🎨 Theme System — choose between a classic look or the Gabremoku visual identity.
Core logic
SVEA is built around four layers:
📉 RSI exhaustion logic — overbought and oversold detection
🧠 adaptive thresholds — levels that adjust with RSI behavior over time
🕒 multi-timeframe confluence — confirmation from higher timeframes
📈 ADX + BB zones — volatility-adjusted structural areas for signal visualization
This is important because RSI alone can remain overbought or oversold for a long time during strong trends, so combining it with ADX and higher-timeframe context helps reduce low-quality reversal signals. RSI is often strongest in ranging environments, while ADX helps identify whether trend conditions are too strong for mean-reversion logic to work cleanly.
Features
✅ RSI-based overbought/oversold framework
✅ Adaptive OB/OS thresholds based on RSI mean and standard deviation
✅ Auto preset detection by asset class and timeframe
✅ Presets for Equity, Crypto, Forex, and 15m charts
✅ Custom OB/OS levels
✅ Continuous or event-based OB/OS price zones
✅ Multi-timeframe RSI confluence table
✅ ADX + Bollinger Band dynamic top/bottom zones
✅ ADX-Buy and ADX-Sell zone-entry signals
✅ Adaptive Buy/Sell signals from RSI exit conditions
✅ Optional ADX confirmation filter
✅ Optional multi-timeframe confirmation filter
✅ Divergence framework inputs and styling foundation
✅ Theme switch between Classic and Gabremoku
✅ Integrated alerts for OB/OS, MTF confluence, and ADX zone signals
How to use
A practical workflow with SVEA is:
🔎 Start with the OB/OS state — determine whether RSI is entering an extreme zone.
🕒 Check the MTF confluence table — if current and higher timeframes align, the setup has stronger context. Multi-timeframe alignment is commonly used to reduce false single-timeframe signals.
📈 Look at ADX conditions — if ADX is high, the market may still be trending strongly, meaning raw RSI reversals can be less reliable. ADX above 25 is often used as a sign of strong trend conditions.
🎯 Use the adaptive buy/sell markers as transition signals when price exits an extreme area rather than blindly reacting to the first OB/OS touch.
Operational suggestion
💡 Suggested trading logic
🔵 Bullish mean-reversion setup: stronger when RSI is oversold, higher timeframes are also oversold or supportive, and price enters the bottom ADX zone. This creates a layered reversal context rather than a single-indicator trigger.
🟨 Bearish mean-reversion setup: stronger when RSI is overbought, higher timeframes confirm the stretch, and price enters the top ADX zone.
⚠️ Strong-trend caution: when ADX is elevated, do not assume every RSI extreme will reverse immediately. A strong ADX often means the current directional move still has strength behind it.
🧠 Best use case: use SVEA as a confluence engine, not as a stand-alone auto-entry tool.
A practical rule:
RSI gives you exhaustion
MTF gives you context
ADX gives you trend strength
Zones give you location
That combination is exactly what makes this script more robust than a standard RSI overlay.
Notes
This script is best described as a technical confluence framework rather than a single-indicator oscillator. It is especially useful for traders who want to visualize when price is statistically stretched, whether that stretch is confirmed across timeframes, and whether trend strength supports or weakens the case for reversal. Confluence-based tools are commonly used to improve selectivity by requiring several conditions to align before acting.
Author: Gabremoku אינדיקטור

אינדיקטור

אינדיקטור
