Indicator

Indicator

FIL Grid Indicator [3Commas]FIL Grid Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a FIL / USDT price-grid workflow on a pre-defined ladder of levels between two fixed bounds. It tracks one virtual grid position at a time: when price crosses down through a level, the indicator opens one slot; when price subsequently crosses up through the level immediately above an owned slot, that slot is closed for a fixed round-trip profit. The grid is generated geometrically by default, so spacing adapts to the price scale. The indicator computes running average entry, deployed capital, open PnL, and lifetime realized PnL — all derived from honest fill-by-fill bookkeeping. Every fill and close emits a webhook-ready JSON alert payload tagged with the specific grid slot for direct DCA Bot consumption.
- Up to 36 simultaneous virtual long slots at default settings, each sized as a fixed fraction of the configured Total Investment.
- Geometric ladder with ~1.0% per step across the default 1.0151 / 0.7099 range (−30.07%).
- No trailing exit, no stop loss — each slot's exit is the level immediately above its entry.
- Per-slot reference exposure ~2.78% of equity at default settings.
- Honest virtual bookkeeping: avg entry, deployed capital, Open PnL, and cumulative realized net profit displayed live on the chart.
🔷 Who is it for:
- Swing traders harvesting volatility on FIL in range-bound regimes who want a chart-driven signal source.
- Bot operators looking for per-slot webhook JSON ready to drive a DCA Bot configured for grid execution.
- Range traders who prefer mechanical, level-based execution over discretionary entries.
- Traders who want strategy-tester-equivalent insight (live realized/unrealized PnL) without running a backtest engine.
🔷 How does it work:
Grid Construction: On script load, the indicator computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot Logic: Each grid level is an independent slot tracked by a boolean ownership flag. When bar close moves price down through an empty slot's level, the indicator marks a virtual long opened at that level for one slot's worth of capital (Investment / N) and dispatches its buy webhook. When bar close moves price up through the level immediately above an owned slot, that slot is closed, the round-trip profit between the two adjacent levels is realized, and the close webhook fires.
Honest Virtual Bookkeeping: Total cost and qty are updated incrementally on every event, so the avg entry, deployed capital, Open PnL, and realized net profit displayed in the status table reflect the actual broker-equivalent position state — no shortcut, no synthetic averaging.
Lifetime Realized PnL: Each closed slot accumulates its round-trip profit into a persistent counter. The status table displays both Open PnL (current unrealized state) and cumulative realized net profit (how much the grid has actually earned, in USDT and % of starting capital), so live performance is visible directly on the chart.
Capital Bounds: Total virtual deployed capital cannot exceed the configured Investment. When all 36 slots are filled, no new slots open until price rises and starts closing slots. This structural cap is the indicator's primary risk control.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every fill and close emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). One PulseWire alert with "Any alert() function call" drives a DCA Bot configured for grid emulation end-to-end, with each level tracked independently downstream.
- Pre-Allocated State: All up to 200 slot ledgers live in fixed-size arrays, so state lookups are constant-time and the chart can render every active slot with no performance overhead.
- Live PnL Tracking: Open PnL and cumulative realized net profit are displayed live on the chart — the indicator gives strategy-tester-equivalent insight without running a backtest.
- Calibrated for FIL 15m: Default bounds, level count, and step size are set against FIL's recent observed range. The 36-level geometric ladder gives roughly 1.0% per step — wide enough to clear taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Indicator:
Market Selection & Range Validity: Grid tools are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep loading as price falls and won't close until price reverses. The default High/Low (1.0151 / 0.7099) was set against FIL's recent observed range; update both whenever the regime changes.
Aggregate Drawdown: Per-slot reference risk is moderate (~2.78% of equity), but if price collapses below the Low bound, aggregate unrealized loss can grow further — the companion strategy's backtest reached a 15.13% maximum equity drawdown. Match the indicator's per-slot allocation and Investment to your bot's configuration to keep the avg-entry and PnL display honest.
No Stop Loss: There is no exit signal on adverse moves below the lowest grid level. Slots whose entry sits above current market simply wait until price comes back. Risk is structurally capped by the bounded per-slot allocation; if a hard exchange-side stop is required, configure it on the bot directly.
Cross Detection Granularity: Slot fills and closes are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual grid state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester — but the live realized-profit counter in the status table gives a running approximation. For full metrics over the reference ~13.8-month sample (1,294 closed trades, 57.96% win rate, 15.13% max drawdown, profit factor 1.434, +16.24% net return over May 1, 2025 – June 26, 2026), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 15m FIL / USDT chart.
🔸 Set the High and Low bounds to a range you expect FIL to respect, pick Geometric (default, recommended) or Arithmetic spacing, and set Grid Levels (7–200) and Total Investment to match your bot's configuration (the indicator's avg-entry and PnL display becomes meaningful when virtual sizing matches real sizing).
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_FIL).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit a dedicated JSON payload for every grid-level buy and grid-level close, tagged with the slot index — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 36, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Total virtual capital allocated across all slots. Per-slot size = Investment / Grid Levels.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, signal triangles, status table (shows range, levels, owned slots, investment, per-slot size, open PnL, and cumulative realized net profit).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicator

FIL Grid Strategy [3Commas]FIL Grid Strategy
🔷 What it does:
This is a long-only price-grid strategy that harvests volatility on FIL / USDT through repeated round-trips on a pre-defined ladder of price levels between two fixed bounds. Each level is an independent slot: when price crosses down through a level, the strategy opens one slot; when price subsequently crosses up through the level immediately above, that slot is closed for a fixed round-trip profit. The grid is generated geometrically by default, so spacing adapts to the price scale.
- Up to 36 simultaneous long slots at default settings, each sized as a fixed fraction of the configured Total Investment.
- No trailing exit, no stop loss — each slot's exit is the level above its entry.
- Per-slot exposure is approximately 2.78% of equity at default settings, comfortably inside the conventional 5–10% per-trade risk band.
- Every fill and close emits a webhook-ready JSON alert payload tagged with the specific grid slot.
🔷 Who is it for:
- Swing traders harvesting volatility on FIL in range-bound regimes.
- Bot operators looking for a chart-driven signal source with per-slot webhook JSON ready to drive a DCA Bot configured for grid execution.
- Traders running a portfolio of low-correlation strategies who want a high-trade-count contributor with bounded per-trade risk.
- Range traders who prefer mechanical execution over discretionary entries.
🔷 How does it work:
Grid Construction: On script load, the strategy computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot Logic: Each grid level is an independent slot tracked by a boolean ownership flag. When bar close moves price down through an empty slot's level, a long is opened at that level for one slot's worth of capital (Investment / N). When bar close moves price up through the level immediately above an owned slot, that slot is closed, locking the round-trip profit between the two adjacent levels.
No Trailing, No Stop Loss: By design, each slot has a fixed exit (the level above). The strategy never trails the exit and never stops a slot out for a loss — slots whose entry price is below current market simply wait until price comes back. This is the canonical grid-bot behavior.
Capital Bounds: Total deployed capital cannot exceed the configured Investment. When all 36 slots are filled, no new orders are opened until price rises and starts closing slots. This structural cap is the strategy's primary risk control.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every fill and close emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). The strategy can drive a DCA Bot configured for grid emulation without any glue layer.
- Pre-Allocated State: All up to 200 slot ledgers live in fixed-size arrays, so state lookups are constant-time and the chart can render every active slot with no performance overhead.
- Honest Backtest Surface: The avg entry line plotted on the chart and the open PnL displayed in the status table both reflect the actual broker-equivalent position state — derived from fill-by-fill bookkeeping, not synthetic averaging. The status table also reports the cumulative realized net profit (how much the grid has actually earned, in USDT and % of starting capital), so live performance is visible directly on the chart.
- Calibrated for FIL 15m: Default bounds, level count, and step size are set against FIL's recent observed range. The 36-level geometric ladder gives roughly 1.0% per step — wide enough to clear taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Strategy:
Market Selection & Range Validity: Grid strategies are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep loading as price falls and won't close until price reverses. The default High/Low (1.0151 / 0.7099) was set against FIL's recent observed range; update both whenever the regime changes.
Capital Deployment & Drawdown: The default Investment of 10,000 USDT equals 100% of starting capital — high-conviction setting that assumes the configured range holds. Per-slot risk is moderate (~2.78% of equity), but if price collapses below the Low bound, aggregate unrealized loss can grow further — the reference backtest reached a 15.13% maximum equity drawdown. Scale the Investment input down to match the worst-case drawdown you are willing to absorb.
No Stop Loss Justification: There is no exit on adverse moves below the lowest grid level. The strategy's per-trade risk is structurally capped by the per-slot allocation (Investment / N levels) — at defaults that is ~278 USDT per slot, inside the conventional 5–10% per-trade band. The aggregate unrealized exposure is controlled separately via the Investment input.
Trade Volume & Fees: Grid bots on 15m generate a high number of round-trips. The ~1.0% step is deliberately wider than a tight scalp grid so each round-trip comfortably clears the taker fee. The default commission (0.06% per trade) should be matched to your exchange's actual fees; with a profit factor of 1.434 the edge is modest, so a fee mismatch matters.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, especially on a strategy whose profitability is bounded by the chosen High/Low range remaining valid.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:FILUSDT.P (Perpetual) — strategy is portable to any FIL / USDT pair.
Timeframe: 15M
Test Period: May 1, 2025 — June 26, 2026 (~13.8 months).
Initial Capital: 10,000 USDT.
Total Investment: 10,000 USDT (100% of capital, high-conviction setting).
Order Size per Slot: Investment / 36 ≈ 278 USDT (~2.78% of equity).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Margin for Long Positions: 100%.
Indicator Settings: Default Configuration.
Grid Bounds: High 1.0151 / Low 0.7099 (range −30.07%).
Grid Levels: 36 (Geometric spacing, ~1.0% per step).
Stop Loss: None — per-slot allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +1,624.42 USDT (+16.24%)
Max Equity Drawdown: 1,838.06 USDT (15.13%)
Total Closed Trades: 1,294
Percent Profitable: 57.96% (750 / 1,294)
Profit Factor: 1.434
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and set the High and Low bounds to a range you expect FIL to respect. Pick Geometric for percent-spaced levels (default, recommended) or Arithmetic. Set Grid Levels (7–200) and Total Investment to match your risk profile.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note this configuration reached 15.13%. The 1,294 closed trades are far above the ~100-trade floor for statistical relevance, but the 1.434 profit factor leaves a modest margin once real fees are applied.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. Every grid-level buy and grid-level close will emit a dedicated JSON payload tagged with the slot index, so each level can be tracked independently downstream.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 36, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Total capital allocated across all slots. Per-slot size = Investment / Grid Levels.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, status table (shows range, levels, owned slots, investment, per-slot size, open PnL, and cumulative realized net profit).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Indicator

Indicator

Indicator

IPDA Data Ranges - 20 40 601. Daily Lookback Ranges
At the core of the IPDA theory, institutions look back over specific windows of time (usually 20, 40, and 60 days) to identify "Old Highs" and "Old Lows", which act as liquidity pools.
The script automatically calculates the highest high and lowest low of the last 20, 40, and 50 days (customizable in settings).
It uses a special function (request.security with the "D" resolution) to strictly pull this data from the Daily timeframe. This means even if you drop down to a 5-minute or 1-hour chart, the boxes will always accurately represent the daily ranges, rather than just 20 or 40 "intraday candles."
2. Box Visualization
Instead of cluttering your chart with lines, the script draws three overlapping transparent rectangle boxes representing these dealing ranges.
The X-axis (Time): The left side of each box starts at the exact opening time of the day the lookback period began, and the right side extends to the current live candle.
The Y-axis (Price): The top of the box rests exactly on the highest price within that window, and the bottom rests on the lowest price.
3. Dynamic Rendering & Performance
To keep PulseWire running smoothly and prevent memory bloat, the script uses a barstate.islast check.
Rather than drawing hundreds of historical boxes over past price action, the script only draws three dynamic boxes on your chart.
On every new live tick, it simply updates the borders and boundaries of these 3 existing boxes in real-time, anchoring them perfectly to the right side of the chart.
4. Customization Engine
You have full control over the script’s display through the settings:
Lookback Periods: You can change the 20/40/50 day windows to any number of days.
Labels: You can customize the text labels (e.g., typing "Short Term IPDA" instead of "20 Day IPDA").
Text Alignment: You can use dropdown menus to snap the labels to any corner or center of the box (Left, Center, Right, Top, Bottom) so they don't cover your candles.
Aesthetics: You can tweak the background fill color and the solid border color for each box to match your chart theme. Indicator

Anchor MTF Dashboard + MAsAnchor MTF Dashboard + MAs
A multi-timeframe trend dashboard built around the 20 SMA "anchor line." It reads the anchor's direction across ten timeframes at once — from the 2-minute up to the monthly — so you can spot trend confluence at a glance instead of flipping through charts. Pair the scalp block for intraday entries with the swing block for the bigger-picture bias.
What it shows
On the chart:
The anchor SMA, color-coded by direction — green when rising, red when falling, gray when flat.
Flat-zone shading that highlights when the anchor is going sideways — the conditions where trend trades tend to chop out.
Up to 8 fully customizable SMAs — each with its own on/off toggle, length, source, color, and line width.
The dashboard table:
Every timeframe's anchor direction: ▲ UP / ▼ DOWN / — flat, with a slope value (steeper = stronger trend).
A SCALP block (2 / 4 / 8 / 16 / 32 min) and a SWING block (1H / 4H / 1D / 1W / 1M), each with its own tally and an ALL UP / ALL DN flag when the whole block agrees.
An ALL row summarizing full-stack confluence across all ten timeframes.
Why it works the way it does
Trend direction is measured as the anchor's slope, normalized by ATR. That means "flat" carries the same meaning on a 2-minute chart as on the monthly — no per-timeframe tuning, and signals stay comparable across instruments and timeframes.
How to use it
Scalping: look for entries when the scalp block is aligned (mostly or fully one direction). "Mixed" or flat readings are the chop to avoid.
Swing trading: trade in the direction of an aligned swing block — those moves have the higher-timeframe tide behind them.
Best setups: when scalp and swing point the same way (the FULL ▲ / ▼ flag), trend trades have the most wind at their back. Counter-trend trades against an aligned swing block are the ones most likely to fail.
Settings
Anchor: length, source, slope lookback, flat threshold, ATR length, direction colors, width, flat-zone shading.
Moving Averages: 8 independent SMAs, each fully configurable.
Timeframes: all ten slots are editable — build any ladder you want.
Table: position and text size.
For educational purposes only. Not financial advice. Trend confluence improves context but does not guarantee outcomes — always manage your own risk. Indicator

Indicator

MACD Signal to Zero DistanceIndicator Overview
The MACD & Signal to Zero Distance indicator is a highly customized momentum space oscillator designed for PulseWire. Unlike the traditional MACD, which focuses on the net difference between the fast and slow lines (the standard histogram), this indicator isolates and visualizes the absolute spatial distance of both the MACD Line (Fast Line) and the Signal Line (Slow Line) relative to the Zero Line.
By converting these spatial relationships into color-coded column groups, it provides traders with an instantaneous visual gauge of absolute trend strength, acceleration, and mean-reversion levels.
Core Logic & Data Interpretation
The indicator operates on a linear mapping of spatial distance. When either line sits perfectly on the zero baseline, its distance is 0 (the corresponding column vanishes).
MACD Line to Zero Distance (Fast Component):
Positive Values (Green Columns): Indicate bullish momentum. Higher columns signify that short-term price action has stretched significantly above the long-term baseline.
Negative Values (Red Columns): Indicate bearish momentum. Deeper columns reflect stronger absolute downside expansion.
Signal Line to Zero Distance (Slow Component):
Positive (Blue Columns) / Negative (Orange Columns): Represent the absolute positioning of the medium-term trend. As a moving average of the MACD line, its height relative to the zero axis filters out short-term noise and outlines the structural "margin of safety."
Key Features & Technical Advantages
1. Multi-Source Adaptability
This indicator breaks the constraint of traditional MACD scripts that calculate based solely on the closing price. Traders can seamlessly toggle the Source input to Open, High, Low, or even VWAP (Volume Weighted Average Price). This flexibility makes it highly compatible with Volume Price Analysis (VPA) and intraday anchored trading systems.
2. Clutter-Free Dual Column Design
By rendering two separate, color-distinct bar groups on a shared axis, the script allows traders to identify key market conditions at a glance:
Convergence/Divergence: Whether the fast and slow columns are leveling out or expanding away from each other.
Phase Split: Scenarios where the MACD line has already crossed the zero axis into negative territory while the Signal line remains buffered above it.
3. Precision Mean-Reversion & Trend Monitoring
Since the columns map absolute mathematical distances, they serve as an excellent gauge for:
Baseline Tests: When columns compress near 0, the market is coiled tightly at a fair-value inflection point, offering high-probability breakout or retest entries.
Momentum Exhaustion (Overextension): When columns reach historical peak heights, it signals that the market is overextended relative to its zero baseline, indicating a high probability of a mean-reversion pause or pullback.
核心设计逻辑与数值含义
指标严格遵循“空间距离”的线性映射逻辑,当快慢线完美回归或踩在零轴上时,距离为 0(柱体消失)。
快线离零轴距离(MACD to Zero):
正值(绿色柱体):代表多头动能主导,柱体越高,说明短期价格偏离长期均线的绝对多头空间越大。
负值(红色柱体):代表空头动能主导,柱体越长,说明空头向下发散的绝对动能越强。
慢线离零轴距离(Signal to Zero):
正值(蓝色柱体) / 负值(橙色柱体):代表中线趋势的绝对位置。慢线作为快线的移动平均,其距离零轴的高度反映了趋势的稳定性和“安全边际”。
核心功能与技术优势
1. 多维度价格源支持 (Multi-Source Adaptability)
指标打破了传统 MACD 只能基于收盘价(Close)计算的限制。用户可以在设置中自由切换价格源(如开盘价 Open、最高价 High、最低价 Low)甚至是 VWAP(成交量加权平均价)。这使得指标能够完美融入基于量价分析(Volume Price Analysis)或日内锚定交易的系统。
2. 并排分组视觉设计 (Clarity at a Glance)
通过在零轴上下同时绘制两组独立颜色、相同坐标系的柱状图,交易者可以一眼看出:
快线与慢线是否正在收敛(柱体高度趋于一致)。
快慢线相对于零轴的绝对空间(如:快线已跌破零轴进入负数区,而慢线仍踩在零轴上方保持正数)。
3. 直观的回归交易逻辑 (Mean Reversion & Trend Following)
由于该指标的数值代表绝对距离,交易者可以非常精确地捕捉:
踩线动能:当柱体高度缩减至接近 0(-1 到 +1 之间),代表价格与趋势线完美贴合,是极佳的突破或共振确认点。
动能衰竭(乖离率过大):当绿柱或红柱达到历史极值高度,代表短线动能消耗过大,距离零轴过远,面临向零轴修正(动能衰竭或反弹)的技术需求。
以下は、このカスタムインジケーターの専門的かつ客観的な日本語解説です。
インジケーター概要 (Indicator Overview)
本インジケーターは、PulseWire用にカスタマイズされた「MACDモメンタム空間オシレーター」です。従来のMACDが「MACD線とシグナル線の差(ヒストグラム)」に焦点を当てるのに対し、本インジケーターはMACD線(短期線)とシグナル線(長期線)のそれぞれが、ゼロ軸(Zero Line)からどれだけ絶対的な空間距離を置いているかを列状のヒストグラムとしてダイレクトに視覚化します。
これにより、現在の価格モメンタムが位置する絶対的な強弱のゾーンや、ゼロ軸への回帰状態を瞬時に視覚的に把握することが可能になります。
コアロジックと数値の定義
本インジケーターは「空間距離」の線形マッピングロジックに厳格に従っています。各ラインがゼロ軸に完全に張り付いた時、距離は「0」となり、ヒストグラムの柱は消失します。
MACD線のゼロ軸乖離距離(MACD to Zero):
正の値(緑の柱): 強気(ブル)モメンタムが主導。柱が高くなるほど、短期的な価格が長期平均から上方へ大きく乖離していることを示します。
負の値(赤の柱): 弱気(ベア)モメンタムが主導。柱が長くなるほど、下方向への拡散エネルギーが強いことを示します。
シグナル線のゼロ軸乖離距離(Signal to Zero):
正の値(青の柱)/ 負の値(オレンジの柱): 中期トレンドの絶対的な位置。MACD線の移動平均であるシグナル線のゼロ軸からの高さは、トレンドの安定性と「セーフティ・マージン(安全余裕度)」を反映します。
主な機能と技術的メリット
1. マルチ・ソース(価格源)対応 (Multi-Source Adaptability)
従来のMACDが終値(Close)のみに基づいていた制限を排除しました。設定画面から、始値(Open)、高値(High)、安値(Low)、さらにはVWAP(出来高加権平均価格)へ自由に切り替えることができます。これにより、量価分析(ボリューム・プライス・アナリシス)や日中アンカー型取引システムとも完全に融合させることが可能です。
2. 並列グループ化された視覚デザイン (Clarity at a Glance)
ゼロ軸の上下に、色分けされた2つの独立したヒストグラムを同一座標系に描画することで、トレーダーは以下の状態をひと目で判別できます。
MACD線とシグナル線が収束(柱の高さが一致)しつつあるか。
ゼロ軸に対するそれぞれの絶対的フェーズ(例:MACD線はすでにゼロ軸を割り込んで負の領域にあるが、シグナル線は依然としてゼロ軸の上で耐えているなど)。
3. 直感的な平均回帰・トレンドフォロー戦略 (Mean Reversion & Trend Following)
数値が絶対的な「距離」を表すため、以下のような局面を極めて正確に捉えることができます。
ラインへの接地(もみ合いの確認): 柱の高さが0付近に収縮した時は、トレンドラインに価格が完全に収束したことを意味し、ブレイクアウトや共振(レジサポ転換)を狙う絶好のエントリーポイントとなります。
モメンタムの枯渇(過剰乖離): 緑または赤の柱が過去の極値(ピーク)に達した時は、短期的モメンタムが過剰に消費され、ゼロ軸から離れすぎていることを示し、ゼロ軸への回帰(反発や調整)のテクニカルな需要が高まっていると判断できます。 Indicator

Indicator

Indicator

ICT NASPre-BOS FVG — NAS100 (15m / 1H)
The same Pre-BOS FVG engine proven on gold, ported to NAS100. Built on ICT 2022 mentorship. — Fair Value Gap, Break of Structure, draw on liquidity
Setups:
- A (FVG): higher low → close breaks the last swing high → buy the gap left in the breakout leg on the pullback (mirror for shorts: lower high → break of swing low → sell).
- B (retest): if a clean break has no gap, enter the retest of the broken level instead.
Management: stop behind the swing, bank half at +1R, move to breakeven, then trail behind structure. Long above the EMA, short below it. Entries confirm on candle close (no repainting).
How it tested (backtest — not live — real NAS100, ~2yr, no-lookahead, 70/30 out-of-sample split, costs included).
Scored at a flat 2R per win so the numbers are honest and comparable:
- 15m: 70% / 69% win, profit factor 4.4, +331R / +153R — 144 out-of-sample trades, in-sample ≈ out-of-sample (robust).
- 1H: 69% / 61% win, profit factor ~3–4, +92R / +19R (smaller sample, 23 OOS trades).
Honest limits: the live version trails its winners further than a flat 2R, so on the chart it looks like ~89% win / huge profit factor — don't trust that PF, it's flattered by a few big trend rides; judge it by the 2R numbers above. NAS 1H sample is modest. Past backtest performance is not a promise of future results.
Forward-test before risking money. Educational tool, not financial advice. Credit: ICT
---
NAS 15m is the strongest, most trustworthy version (big sample, holds out-of-sample). Indicator

Indicator

Doppler Velocity Shift [JOAT]DOPPLER VELOCITY SHIFT
A trend-acceleration / exhaustion detector built on the Doppler shift principle : a stationary observer (the baseline frequency) compared to a moving source (the instant frequency) produces a measurable shift whose sign tells you whether the source is approaching (compression / acceleration) or receding (rarefaction / exhaustion). For markets the analogue is simple: when the residual wave's oscillation frequency is slower than its long-run baseline, momentum is accelerating into the trend; when it is faster than baseline, the trend is exhausting into chop.
The Doppler analogue, translated
The script's pipeline:
Detrend price by subtracting an EMA (configurable length). The result is a residual wave oscillating around zero.
Optionally normalise by ATR so the wave amplitude is regime-aware.
Count zero-crossings of the residual over a short window — this gives the instant frequency .
Count zero-crossings over a long window — this gives the baseline frequency .
Compute the Doppler shift = (instant − baseline) / baseline. Positive shift = faster than baseline → exhaustion. Negative shift = slower than baseline → acceleration.
EMA-smooth the shift to reduce flicker.
The output is a percentage that is intuitive to read: +0.30 means oscillations are 30% faster than baseline (approaching exhaustion); −0.30 means 30% slower (accelerating into trend).
Two-threshold event detection
Exhaustion — shift > +exhaustion threshold (default +0.30) for N consecutive bars (configurable, default 3). Fires the Exhaustion label.
Acceleration — shift < −acceleration threshold (default −0.30) for N consecutive bars. Fires the Acceleration label.
Frequency Anomaly — when |shift| crosses threshold × multiplier (default 2.0× → ±0.60). The anomaly alert fires and the chart background tints accordingly.
A configurable Event Cooldown (default 8 bars) prevents same-type events from stacking. A multi-bar confirmation gate prevents single-bar noise from triggering events.
Visual system
Detrend residual line (overlay) with configurable transparency and cosmetic display scale.
Vertical event lines at each Acceleration / Exhaustion event, with optional full-height extension for emphasis.
Event labels — Unicode glyphs by default (toggleable to plain text ACCEL / EXHAUST).
Frequency anomaly background tint when the |shift| crosses the anomaly trigger.
Pane companion (toggleable, on by default) — plots instant frequency, baseline frequency, and Doppler shift % in a separate pane below the chart.
A locked Cyber Aqua palette (electric blue acceleration / hot pink exhaustion / muted blue-gray stable on a near-black ground) gives the indicator a distinctive physics-inspired identity.
Dashboard
Monospaced table, positionable to any of nine corners, with row-fade gradient. Surfaces:
Instant frequency (zero-crossings in the short window).
Baseline frequency (zero-crossings in the long window).
Doppler shift % (signed).
Current status (ACCEL / EXHAUST / STABLE).
Last event direction with bars-ago.
Configuration: detrend length, frequency window, baseline window.
Anomaly flag when triggered.
Alerts
Three alert conditions, each independently controllable:
Trend Acceleration (shift < −threshold for N bars)
Approaching Exhaustion (shift > +threshold for N bars)
Frequency Anomaly (|shift| > threshold × multiplier)
How to read it
Two reads, in order of conviction:
Acceleration label after a quiet period — the script's intended trend-entry signal. Frequency has slowed, meaning the residual is making fewer mid-line crossings — the wave has lengthened and is now committed in one direction. Pair with a directional indicator for entry.
Exhaustion label inside an extended trend — the script's intended trend-exit signal. Frequency has risen above baseline — the residual is making more crossings, meaning the trend is fragmenting. Reduce / exit trend exposure; the next move is often a reversal.
The Frequency Anomaly alert is the script's headline event — when |shift| spikes far past threshold the market is in an extreme state, almost always associated with either an explosive breakout (acceleration anomaly) or an exhaustion blowoff (exhaustion anomaly).
Suggested settings
Defaults (detrend EMA 20, frequency window 40, baseline window 200, smoothing EMA 3, ±0.30 thresholds, 3-bar confirmation) are tuned for 15m–1H on liquid markets. For lower timeframes drop windows proportionally (10 / 20 / 100). For HTF (4H+) raise windows (30 / 80 / 400). The ATR-normalised residual is the recommended default — without it, the script's behaviour drifts on instruments with changing volatility levels.
Originality
The Doppler shift is a fundamental result of classical physics; the financial-market analogue and its implementation here are original. The pipeline — the EMA-detrended residual wave with optional ATR normalisation, the rolling zero-crossing frequency estimator at two scales, the (instant − baseline) / baseline shift formula, the EMA-smoothed shift, the multi-bar confirmed event classifier with cooldown, the anomaly multiplier layer, the vertical event line render, the pane-companion three-series overlay, and the dashboard — is JOAT-original. No third-party code reused. The use of oscillation-frequency shift as a trend acceleration / exhaustion metric is the original quantitative contribution.
Limitations
Zero-crossing frequency estimation is noisy on short windows; the smoothing input (default 3) exists to suppress that. The frequency-anomaly trigger is a heuristic — it tells you the market is in a rare state, not which direction it will resolve. Events confirm only after the multi-bar threshold; events are non-repainting but lag by the confirmation window.
-made with passion by jackofalltrades
Indicator

Indicator

Candle Pattern Forecast# Candle Pattern Forecast — Complete Guide
---
## What This Indicator Does
The Candle Pattern Forecast engine looks at the most recent candles on your chart and asks a simple question: **has the market made this same sequence of candles before, and if so, what happened next?**
Every candle tells a story beyond just where price closed. It reveals how decisive the move was (the body), whether buyers or sellers got rejected at the extremes (the wicks), and which side was in control (direction). This indicator reads those four characteristics on each of the last N candles, builds a structural fingerprint of that sequence, then scans back through history looking for every other time the market made a similar sequence.
Once it finds enough matching sequences, it looks at what price actually did in the bars that followed each match. It then plots the median of all those outcomes as a forecast midline, and draws confidence bands showing the range where the bulk of those historical outcomes actually landed.
In plain terms: **the last time the market made candles that looked like this, here is what typically happened next.**
---
## What It Is Not
This is not a crystal ball. It is not predicting the future with certainty. It is showing you a probability-weighted summary of historical behavior following similar candle patterns. The quality of that summary depends entirely on how many good matches exist in history and how consistently those matches behaved afterward. The info box tells you both of those things in real time.
---
## The Display
**Pattern Line** — a purple line tracing the closes of the Candle Lookback window. This shows you exactly which candles the engine read to build its fingerprint, ending at the anchor point where the forecast begins. When Historical Rewind is active, the pattern line shifts back with the rest of the indicator so you always see the sequence that generated the projection.
**Forecast Midline** — the median (or average, if you switch modes) of all the forward price paths observed after matched candle sequences. This is your central tendency line — where the market most commonly ended up after patterns like this.
**Confidence Bands** — the range between the 25th and 75th percentile of historical outcomes by default. The middle 50% of your matched sequences ended up inside these bands. Tight bands mean the matches behaved consistently. Wide bands mean outcomes were scattered and the pattern had no reliable follow-through.
The bands naturally widen as they extend further forward in time. This is correct behavior — the further out you project, the more historical paths diverge from each other.
---
## Inputs — Model Group
**Non-Repaint Mode** — when on, the indicator anchors itself to the last fully closed candle and never changes its projection mid-bar. This is the honest setting for real trading decisions. When off, it updates live on the current bar, which means the projection shifts as price moves.
**Candle Lookback** — how many candles back the engine reads to build its fingerprint. At 5, it reads the last 5 candles and uses their combined anatomy as the pattern it is trying to match in history. Shorter lookbacks find more matches because the fingerprint is simpler. Longer lookbacks find fewer but potentially more specific matches. For short-term intraday work, 3–7 is a practical range. Going much above 10–15 starts to starve the engine of good matches.
**Search Depth** — how far back in history the engine scans looking for matches, measured in bars. At 2000, it looks back 2000 bars. More depth gives more candidates to match against, which is generally better. The limit is how much data your chart actually has.
**Forecast Horizon** — how many bars forward the projection extends after the anchor point. At 10, you get a 10-bar forecast. Keep this in a sensible relationship to your Candle Lookback — projecting 50 bars forward on a 5-candle pattern will produce a technically valid but practically meaningless result as the historical outcomes diverge too much to average meaningfully.
**Pattern Matches** — the target number of historical matches the engine tries to collect. It starts with a very strict similarity requirement and automatically loosens it until it has found this many matches, stopping at the Similarity Floor. More matches produce a smoother, more stable midline but dilute the directional signal. Fewer matches are noisier but more specific. 15–30 is a practical range.
**Similarity Floor** — the absolute minimum similarity score the engine will accept for a match, expressed as a percentage. If it cannot find enough matches above this floor, it takes whatever it found and shows a warning in the info box. This prevents the engine from building a projection on essentially unrelated historical patterns. Raising this makes the engine more selective. Lowering it makes it more permissive.
---
## Inputs — Historical Rewind Group
**Enable Rewind** — when toggled on, the entire indicator shifts backward in time by the number of bars you specify. The fingerprint is read from that past point, the scan searches only history that existed at that time, and the projection extends forward from there — into what is now known history. This lets you visually compare what the indicator would have projected against what price actually did. The pattern line also shifts back to show the candle sequence that was read at that point in time. When off, the indicator runs live as normal.
**Bars Back** — how many bars back to anchor the rewind. At 50, the engine reads the candle sequence from 50 bars ago, finds matches from history prior to that point, and draws the projection forward from there. You can then see how closely the actual subsequent price action followed the forecast. Set to 0 when rewind is enabled but you want to temporarily pause without toggling it off.
The info box Rewind row shows **Live** when rewind is off and **⏪ N bars back** in orange when active, so it is always clear whether you are looking at a live projection or a historical replay.
---
## Inputs — Match Strictness Group
**Match Strictness** — a single dropdown from 1 (Weak) to 5 (Exact) that controls how the engine weighs the four candle anatomy dimensions against each other when measuring similarity.
- **1 — Weak** — all four dimensions (body, upper wick, lower wick, direction) matter equally. The engine is looking for a general structural resemblance. Finds the most matches.
- **2 — Relaxed** — slight emphasis on body conviction. Still broadly permissive.
- **3 — Balanced** — the default. Body size is the dominant signal but wicks and direction still contribute meaningfully.
- **4 — Strict** — strong body emphasis. The engine is primarily matching on how decisive each candle was. Fewer but structurally closer matches.
- **5 — Exact** — body conviction is the overwhelming signal. Only candle sequences with very similar body profiles will qualify. Hardest to match, fewest results.
Think of this as tuning what kind of candle similarity matters most to you. If you care primarily about whether candles were indecisive or committed, lean toward Strict or Exact. If you want a broader match that respects the full candle structure equally, use Weak or Relaxed.
---
## Inputs — Pattern Line Group
**Show Pattern Line** — toggles the pattern line on or off. Default is on.
**Color** — color of the pattern line. Default is purple.
**Width** — thickness of the pattern line. Default is 2.
---
## Inputs — Forecast Group
**Midline Mode** — controls how the central forecast line is calculated from the matched outcomes.
- **Median** (default) — takes the middle value when all outcomes are sorted. More robust to outliers. If one matched sequence had a massive move that was atypical, it gets pushed to the edge rather than pulling the midline toward it.
- **Average** — takes the arithmetic mean of all outcomes. More sensitive to outliers and extreme moves in either direction.
For most use cases Median is the more honest representation of what typically happened.
**Midline Color / Width / Style** — visual styling for the forecast midline.
**Show Confidence Bands** — toggles the upper and lower bands on or off.
**Confidence Band Mode** — controls how the bands are calculated.
- **Percentile** (default) — sorts all historical outcomes at each forecast step and draws the bands at the exact percentile you specify. No assumptions about the shape of the distribution. The bands directly show you where real historical outcomes clustered.
- **Std Deviation** — draws the bands at mean ± N standard deviations. Assumes outcomes are roughly bell-shaped. Can be distorted by outliers inflating the standard deviation even when most matches behaved similarly.
**Lower Percentile / Upper Percentile** — only active in Percentile mode. Default is 25 and 75, meaning the bands show where the middle 50% of historical outcomes landed. Moving to 10/90 widens the bands to capture 80% of outcomes. Moving to 5/95 captures 90%. The right setting depends on whether you want to see the typical range or the full plausible range.
**Band Std Deviation** — only active in Std Deviation mode. At 1.0, the bands cover approximately 68% of outcomes. At 2.0, approximately 95%.
**Upper / Lower Band Color, Width, Style** — visual styling for the confidence bands.
---
## Inputs — Info Box Group
The info box displays the engine's live diagnostic state so you always know what is actually running.
**Show Info Box** — toggles the info box on or off.
**Position** — where on the chart the info box appears.
**Text Size** — size of the info box text.
**Background / Border / Header colors** — visual styling.
---
## Reading the Info Box
**Candle Lookback** — confirms how many candles the fingerprint is built from.
**Forecast Horizon** — confirms how many bars forward the projection extends.
**Matches Used** — how many historical sequences qualified. If this is orange, no matches were found — the engine has nothing to project from. Try lowering the Similarity Floor, reducing the Candle Lookback, or increasing the Search Depth.
**Sim Floor / Fit** — two numbers. The left is the similarity threshold the engine actually settled on to reach your target match count. The right is the average similarity score of all the matches it found. Higher is better. A warning symbol next to the left number means the engine hit the Similarity Floor and could not find enough matches above it.
**Match Quality** — a composite score from Low to High that combines the average similarity of your matches, how close you got to your target match count, and whether the floor was hit. High means the engine found well-matched patterns. Low means the projection is built on weaker material and should be treated with more skepticism.
**Search Depth** — confirms the search depth setting currently active.
**Strictness** — confirms which Match Strictness level is active.
**Midline** — confirms whether you are running Median or Average.
**Bands** — confirms the active band mode and parameters. Shows either "Pctl 25/75" style or "StdDev ×1.0" style depending on your selection.
**Rewind** — shows Live when the indicator is running on the current bar, or ⏪ N bars back in orange when Historical Rewind is active.
---
## Practical Usage Tips
The forecast midline being relatively flat is not a failure — it often means the candle pattern genuinely did not predict a strong directional move historically. In that case the bands are the more useful signal, showing you the range of outcomes rather than pretending to know direction.
Tight bands with a flat midline means the pattern historically resolved with small moves in both directions — a low-conviction setup. Wide bands means the pattern was followed by large moves but in inconsistent directions. A midline with meaningful slope and tight bands is the highest-quality signal the engine can produce.
Treat Match Quality as your confidence filter. When it reads Low or Weak, reduce the weight you place on the projection. When it reads High, the engine found genuinely similar historical sequences and the projection has more structural basis behind it.
Use Historical Rewind to build intuition for the indicator before trusting it live. Step back 50 or 100 bars, observe how the projection compared to what actually happened, experiment with different Candle Lookback and Match Strictness settings, and develop a feel for when the indicator tends to be more or less reliable on your instrument and timeframe. The pattern line makes this especially useful — you can see exactly which candle sequence triggered the projection and compare it visually to where price went next. Indicator

Balanced Price Range + V-Shape IndicatorBalanced Price Range + V-Shape Indicator
Overview
This is an open-source intraday scalping model built on ICT-derived price-action concepts. It combines Balanced Price Ranges and V-shaped liquidity-driven reversals into a single contextual system. The scalping method is specific: it looks for a sharp reversal (a "V") off a zone of overlapping imbalance (a Balanced Price Range), but only when that zone is confirmed by higher-timeframe imbalance or a recent liquidity sweep — the kind of fast, location-specific entry used on 1–15 minute charts. Rather than printing every BPR or inverted gap (which is unusably noisy live), it cross-filters them so only confirmed locations are highlighted. The source is fully open; everything below describes exactly what the code does.
Building block 1 — Fair Value Gaps and inversions
A Fair Value Gap (FVG) is a three-candle imbalance: a gap between candle 1's extreme and candle 3's extreme left unfilled by candle 2. The script detects each FVG as it forms and stores the displacement (middle) candle's open and close for later momentum checks. When price later closes back through a gap, that gap is latched as inverted (an iFVG) — its expected support/resistance role flips.
Building block 2 — Balanced Price Range
A Balanced Price Range is the price overlap between a fresh FVG and an opposite-direction iFVG. When a new FVG forms and overlaps an opposite inverted gap within a configurable lookback window, the overlapping band is drawn as a BPR. A minimum-size filter (as a percentage of 14-period ATR) discards slivers too thin to matter. BPR zones extend rightward until price closes through them or a max-extension bar limit is reached.
Building block 3 — Liquidity mapping and sweeps
The script independently maps liquidity from four sources, each toggleable: swing-pivot highs/lows, equal highs/lows (two same-side swings within an ATR tolerance), previous-day high/low, and London / NY-AM session highs and lows. For each level it distinguishes a sweep (wick through, close back — liquidity grab) from a clean break (close beyond — level reclaimed), marking sweeps on the chart.
The V-Shape gate — how the pieces work together
A BPR is upgraded to a "V-BPR" and an entry arrow only fires when the location passes a context gate with two independent confirmation paths, either of which validates the setup:
HTF FVG tap (continuation path): Fair Value Gaps are read from a higher timeframe (chart TF × a user multiplier, snapped to the nearest standard resolution). The gate checks whether price recently tapped a still-valid HTF gap of matching direction, and whether the BPR sits inside or within an ATR buffer of it.
Liquidity sweep (reversal path): a correct-side sweep — a low taken for a long, a high taken for a short — within a recent bar window.
Two candle-level filters refine the trigger: a clean-V-tip rule (the inversion candle must be preceded by an opposite-direction candle, enforcing a real reversal at the tip) and a strong-close rule (the inverting candle must reclaim a set percentage of the displacement candle's body, confirming momentum). An optional clear-path filter rejects a setup when un-swept opposite-side liquidity rests within an ATR danger zone in the trade's direction, since that pool is often taken first.
Chart Examples:
Settings reference
Settings: max BPRs shown, iFVG lookback window, min BPR size (% ATR), max zone extension.
Higher-TF FVG: show/hide, timeframe multiplier, max stored, colour.
V-Shape Gate & Entry: master gate toggle, HTF-tap window, zone proximity buffer, sweep-path toggle and window, clean-V-tip, clear-path toggle and danger-zone size, hide-non-V-BPR, entry-marker toggle, strong-close percentage.
Liquidity & Sweeps: toggles for swing / PDH-PDL / session / equal-H-L sources, pivot strength, equal tolerance, session windows (NY time), max levels, sweep marking, colours.
Colors: bull/bear BPR, FVG/iFVG components, liquidity, sweep marks.
How to use it
Apply to 1–15 minute charts. Drawn BPRs show overlapping imbalance; thicker V-BPR zones and ▲/▼ markers show locations that passed the gate. Each entry marker's tooltip audits why it fired (which path confirmed it and the reclaim %). Begin with the gate on to see only confirmed scalps; loosen by disabling individual filters, or enable "Hide BPRs that fail the gate" to declutter. Alerts fire on confirmed long and short V-Shape entries.
Non-repainting
All higher-timeframe and previous-day data is requested with offset historical expressions, so no future data is used on historical bars; entries evaluate only on confirmed bar closes and do not repaint. Indicator

Indicator

Indicator

Indicator

Indicator
