Kyokutan-Ashi◈ Description
The Kyokutan-Ashi is a unique indicator designed to visualize the exact price deviation (noise) that standard Heikin-Ashi (HA) calculations normally smooth out and hide. By completely stripping away the trend component, it isolates pure market volatility and overextension.
◈ The Math Behind It (Why this calculation & Expected Output)
The core logic subtracts the Heikin-Ashi values from standard Japanese candlestick values. The purpose of this calculation is to extract the pure "difference" (noise) between the actual price and the smoothed trend, and then reconstruct it based on a chosen anchor point.
【 Calculation Example 】
Current actual candle: open = 100, high = 105, low = 95, close = 102
Previous HA candle: haOpen = 98, haClose = 100
Settings: Anchor Point = "Open", Multiplier = 1.0
haClose = (100 + 105 + 95 + 102) / 4.0 = 100.5
haOpen = (98 + 100) / 2.0 = 99
Subtract HA from standard values to isolate the noise.
rawOpen = 100 - 99 = 1
rawClose = 102 - 100.5 = 1.5
Add the isolated noise to the baseline (Anchor = Open: 100).
antiOpen = 100 + 1 = 101
antiClose = 100 + 1.5 = 101.5
【 Actual Output 】
A small bullish candle from 101 to 101.5 is plotted on the chart. Although the actual price moved from 100 to 102, removing the trend component reveals that the "pure overextension" (deviation) is only 0.5.
◈ Key Features
Pure Deviation Visualization: Shows only how far the actual price is stretching away from the Heikin-Ashi smoothed price.
Anchor & Base Settings: Choose where to project the deviation (Open, Close, or HL2).
Deviation Multiplier: Scale the noise up or down to easily spot extreme market extensions.
Chart-Type Independent: Built with robust data handling. Even if you change your main chart view to Heikin-Ashi, Renko, or Kagi, Kyokutan-Ashi always forcefully retrieves standard raw price data in the background to guarantee accurate deviation calculations.
◈ Why Use It
Use it in combination with other charts or indicators to extract your own unique noise and trading edges. When Kyokutan-Ashi prints unusually large candles, it signals that the actual price is violently snapping away from the smoothed trend — often indicating exhaustion, potential mean-reversion, or hidden volatility.
◈ Author's Note
While Kyokutan-Ashi was developed independently to address the loss of actual price data in Heikin-Ashi, I later discovered "BERLIN Candles" by lejmer. He had already recognized this critical issue and beautifully engineered a hybrid solution long before I did. I want to express my deepest respect for his foresight and pioneering work in tackling this specific problem.
Indicator

Indicator

Strategy

Indicator

[3Commas] BCH Heikin Ashi RSI Fade - Short Indicator BCH Heikin Ashi RSI Fade — Short Indicator
🔷 What it does:
This is the signal-only companion to the BCH Heikin Ashi RSI Fade Short strategy. It tracks a virtual short position and fires webhook-ready alerts on three events — entry, Take Profit, and Stop Loss — without running a backtest engine. A virtual short is opened when the 15-minute Heikin Ashi prints a defined number of consecutive bullish candles AND the long-window RSI is above a soft-bias threshold on the same timeframe. The trade is then closed on a fixed Take Profit OR a fixed Stop Loss; no trailing, no averaging, no discretionary management.
- Tracks one virtual short at a time, sized at a configurable base order (default 280 USDT, used only for the on-chart PnL display).
- Dual confirmation entry: RSI(100) on 15m > 46 AND 7 consecutive Heikin Ashi bullish candles on 15m.
- Hard exit pair: TP at −2.1% from entry, SL at +2.5%.
- Every entry and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Bot operators who want to drive a DCA Bot configured for one-shot short deals directly from PulseWire alerts, without a strategy backtest object on the chart.
- Traders who want a clean, mechanical short signal with no averaging and no discretionary management once in trade.
- Swing traders looking for systematic short exposure on BCH when local upward thrusts overrun.
- Operators who prefer a lightweight signal overlay with a live status table over a full strategy tester.
🔷 How does it work:
RSI Bias Filter: A long-window RSI(100) is sampled from the 15-minute timeframe via request.security with lookahead disabled (no repaint). The threshold (default 46) sits just below the midline, so the filter is satisfied during prolonged bullish drift — exactly the regime where fading strength has the highest expectancy. When RSI falls below 46, the bias is considered to have flipped bearish and the indicator stops arming new shorts.
Heikin Ashi Streak Trigger: A 15-minute Heikin Ashi stream is sampled in parallel, and the indicator counts the number of consecutive same-direction HA candles using ta.barssince. When the bullish streak reaches the configured length (default 7), the trigger is armed. The default Bullish direction defines the fade-the-strength mode; switching to Bearish converts the logic into a trend-follow short.
Entry: When BOTH conditions are true at bar close and no virtual position is open, the indicator records the entry price, computes the TP and SL levels, fires the entry alert, and marks a SHORT label and triangle on the chart.
Exit: On each bar close while in position, the indicator checks close against the TP and SL levels. The first level reached closes the virtual short, fires the close alert, marks a TP or SL label, and accumulates realized PnL. This close-based detection matches what a polling bot sees at bar close.
🔷 Why it's unique:
- Dual-Signal Confirmation: A smoothed RSI(100) filters the regime bias while Heikin Ashi times the entry. RSI on a 100-bar window changes slowly and Heikin Ashi reacts to the immediate streak, so the two conditions cannot be satisfied by the same short-lived noise — every entry requires alignment of both.
- Fade-or-Follow Switch: A single input flips the HA direction filter between Bullish (fade strength, default) and Bearish (follow trend). The same engine handles two opposing signal archetypes.
- Live Status Table: An on-chart table shows position status, entry price, TP/SL levels, live RSI and HA streak values, and an entry-armed flag — so the current state of the virtual position is always visible at a glance.
- DCA Bot Integration: Each event emits a fully-formed JSON alert payload tagged with the action type, so the indicator can drive a DCA Bot configured for one-shot deals directly through PulseWire alerts.
🔷 Considerations Before Using the Indicator:
Signal-Only Design: This is an indicator, not a strategy. It does not place orders or run a backtest engine — it tracks a virtual position purely to time alerts and display state. The base order size input is virtual and feeds only the on-chart PnL display; real position sizing happens on the bot.
Market & Timeframe: Calibrated for BCHUSDT on the 15-minute timeframe. The RSI-and-Heikin-Ashi combination is portable to other liquid crypto pairs that respect mean-reversion behavior, but the filter thresholds (RSI level, HA streak length) should be reviewed before redeployment. Live shorting requires a margin or perpetual venue.
Reference Performance: Because behavior mirrors the companion strategy 1:1, the strategy's backtest is a useful reference. Over a 177-trade backtest on BCHUSDT 15m (November 19, 2025 — June 3, 2026), the matching strategy logic returned +0.88% with a 0.52% maximum equity drawdown, 61.02% of trades profitable (108 / 177), and a profit factor of 1.169. The 177-trade sample is above the ~100-trade floor for statistical relevance. The value proposition is structural risk capping over a meaningful sample, not aggressive alpha.
Trending Markets: In strong sustained uptrends, the indicator will continue to arm short entries and will register stop-outs as price grinds higher. This is by design — the logic is positioned for ranges and rotations, not breakouts. The RSI(100) > 46 filter limits exposure to confirmed bullish regimes only, which is where fading has an edge; a regime change to a stronger trend will require manual oversight or a wider Stop Loss.
Past Performance: Past results do not guarantee future performance. Always demo-test before deploying live capital, and size as one part of a diversified portfolio.
🔷 How to Use It:
🔸 Adjust Settings: Open the indicator inputs and review the Base Order Size (virtual), the RSI filter (timeframe / length / condition / level), and the Heikin Ashi filter (timeframe / streak length / direction). Defaults are calibrated for BCHUSDT 15m — recalibrate per asset before deploying.
🔸 Fill the Webhook Fields: Enter your DCA Bot's Bot ID, Email Token, and Pair (QUOTE_BASE) into the DCA Bot Webhook inputs. These values are injected into every alert payload.
🔸 Create the alert: Add one alert on the indicator using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for short entry and close — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual size used only for the status-table / PnL display. Real sizing happens on the bot.
RSI Timeframe / Length / Condition / Level: RSI bias filter applied to the host symbol.
HA Timeframe / Streak / Direction: Heikin Ashi consecutive-candle trigger. Direction defines fade (Bullish) vs follow (Bearish) mode.
Take Profit (%) / Stop Loss (%): Fixed distance exits from entry.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle Avg Entry / TP / SL plot lines, fill labels, signal triangles, and the status table (status, entry price, TP/SL levels, live RSI and HA streak, entry-armed flag).
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

[3Commas] BCH Heikin Ashi RSI Fade - Short StrategyBCH Heikin Ashi RSI Fade — Short Strategy
🔷 What it does:
This is a short-only strategy that fades an extended Heikin Ashi bullish streak, confirmed by a long-window RSI bias filter on the same timeframe. A short entry is opened when the 15-minute Heikin Ashi prints a defined number of consecutive bullish candles AND the smoothed RSI is above a soft-bias threshold — the combination targets exhausted bullish thrusts on BCH that have run far enough to invite a pullback. The exit is a fixed Take Profit OR a fixed Stop Loss; no trailing, no averaging, no second-guessing.
- Single base order, sized at 2.8% of equity by default.
- Dual confirmation entry: RSI(100) on 15m > 46 AND 7 consecutive Heikin Ashi bullish candles on 15m.
- Hard exit pair: TP at −2.1% from average entry, SL at +2.5%.
- Every entry and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Swing traders looking for systematic short exposure on BCH when local upward thrusts overrun.
- Traders who want a clean, mechanical short setup with no averaging and no discretionary management once in trade.
- Bot operators who want to drive a DCA Bot configured for one-shot short deals via webhook.
- Risk-conscious operators — at default settings the worst-case per-trade loss is ~0.07% of equity (well inside the 5–10% per-trade risk band).
🔷 How does it work:
RSI Bias Filter: A long-window RSI(100) is sampled from the 15-minute timeframe via request.security with lookahead disabled (no repaint). The threshold (default 46) sits just below the midline, so the filter is satisfied during prolonged bullish drift — exactly the regime where fading strength has the highest expectancy. When RSI falls below 46, the bias is considered to have flipped bearish and the strategy stops looking for new shorts.
Heikin Ashi Streak Trigger: A 15-minute Heikin Ashi stream is sampled in parallel, and the strategy counts the number of consecutive same-direction HA candles using ta.barssince. When the bullish streak reaches the configured length (default 7), the trigger is armed. The default Bullish direction defines the fade-the-strength mode; switching to Bearish converts the strategy into a trend-follow short.
Entry: When BOTH conditions are true at host-bar close, a short position is opened at the base order size. The base order is configurable as Market (default) or Limit at the bar's close.
Exit (OCO): Take Profit and Stop Loss are issued as a paired OCO order through strategy.exit. The first level reached closes the position and automatically cancels the other side — no trailing, no partial exits.
🔷 Why it's unique:
- Dual-Signal Confirmation: A smoothed RSI(100) filters the regime bias while Heikin Ashi times the entry. RSI on a 100-bar window changes slowly and Heikin Ashi reacts to the immediate streak, so the two conditions cannot be satisfied by the same short-lived noise — every entry requires alignment of both.
- Fade-or-Follow Switch: A single input flips the HA direction filter between Bullish (fade strength, default) and Bearish (follow trend). The same engine handles two opposing strategy archetypes.
- Bounded Trade Risk: With a single base order and a hard Stop Loss, the maximum loss per trade is exactly base size × SL%. At defaults that is ~7 USDT on 10,000 — structural risk capping without any complex sizing logic.
- DCA Bot Integration: Each event emits a fully-formed JSON alert payload tagged with the action type, so the strategy can drive a DCA Bot configured for one-shot deals directly through PulseWire alerts.
🔷 Considerations Before Using the Strategy:
Market & Timeframe: Calibrated and tested on BCHUSDT 15m. The RSI-and-Heikin-Ashi combination is portable to other liquid crypto pairs that respect mean-reversion behavior, but the filter thresholds (RSI level, HA streak length) should be reviewed before redeployment. Live shorting requires a margin or perpetual venue; the spot chart is used here for signal generation and backtesting.
Performance Profile: This is a low-volatility, defensive short. Over the 177-trade backtest the strategy returned +0.88% with a 0.52% maximum equity drawdown — a return-to-DD ratio near 1.7, with a profit factor of 1.169. The value proposition is structural risk capping over a meaningful sample, not aggressive alpha. Size accordingly within a diversified portfolio.
Trending Markets: In strong sustained uptrends, the strategy will continue to fire short entries and will incur stop-outs as price grinds higher. This is by design — the strategy is positioned for ranges and rotations, not breakouts. The RSI(100) > 46 filter limits exposure to confirmed bullish regimes only, which is where fading has an edge; a regime change to a stronger trend will require manual oversight or a wider Stop Loss.
Sample Size & Parameters: The full-period backtest produced 177 closed trades, above the ~100-trade floor for statistical relevance. If a redeployment on another pair produces fewer than ~100 trades, either extend the period or lower the HA streak length to 5, and re-save the relaxed value as the new default so the publication continues to satisfy the "Default Properties match" rule.
Commission & Slippage: Defaults are set to 0.055% commission and 3 ticks slippage, matching the source bot's configured fee rate. Update both inputs to match your exchange's actual fees before relying on the backtest numbers.
Past Performance: Past results do not guarantee future performance. Always demo-test before deploying live capital, and size the strategy as one part of a diversified portfolio.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BCHUSDT — strategy is portable to any BCH / USDT pair (live shorting on a margin or perpetual venue).
Timeframe: 15M
Test Period: November 19, 2025 — June 3, 2026 (~6.5 months).
Initial Capital: 10,000 USDT.
Order Size per Trade: 280 USDT (single base order, no averaging).
Max Capital Deployed: 280 USDT per trade (~2.8% of equity).
Worst-Case Loss per Trade: ~7 USDT (~0.07% of equity).
Commission: 0.055% per trade.
Slippage: 3 ticks.
Margin for Short Positions: 100% (leverage 1x).
Indicator Settings: Default Configuration.
Base Order: 280 USDT, Market by default (Limit toggle available).
Take Profit: 2.1% below average entry (no trailing).
Stop Loss: 2.5% above average entry (close trade).
RSI Filter: 15m RSI(100) > 46.
Heikin Ashi Filter: 15m Heikin Ashi, 7 consecutive bullish candles.
Strategy: Short Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +87.53 USDT (+0.88%)
Max Equity Drawdown: 52.55 USDT (0.52%)
Total Closed Trades: 177
Percent Profitable: 61.02% (108 / 177)
Profit Factor: 1.169
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and review the Base Order Size, RSI filter (timeframe / length / level), and the Heikin Ashi filter (timeframe / streak length / direction). Defaults are calibrated for BCHUSDT 15m — recalibrate per asset before deploying.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays inside your personal risk band. Validate that the closed-trade count is statistically meaningful (≥ 100 is a reasonable floor). Use realistic commission and slippage for your exchange.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The strategy will emit JSON payloads for short entry and exit — TP, SL, or manual close — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): USDT amount opened on the short entry.
Use LIMIT for Base: Toggle between Market (default, more conservative for backtest) and Limit at bar close.
RSI Timeframe / Length / Condition / Level: RSI bias filter applied to the host symbol.
HA Timeframe / Streak / Direction: Heikin Ashi consecutive-candle trigger. Direction defines fade (Bullish) vs follow (Bearish) mode.
Take Profit (%) / Stop Loss (%): Fixed distance exits from average entry.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle Avg Entry / TP / SL plot lines, fill labels, status table (status, avg entry, TP/SL levels, live RSI and HA streak, entry-armed flag, 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

Phantom ChartPhantom Chart — Overlay Any Chart Style While Keeping Real Prices
Phantom Chart draws an alternative chart visualization on top of your existing chart — without changing the real prices your other indicators depend on. Most indicators and drawing tools read the chart's Open, High, Low, and Close, so switching your base chart to Heikin Ashi or another modified style quietly feeds them altered values instead of real ones.
Phantom Chart solves this: keep your base chart on Bars or standard Candles so everything else still reads true prices, then let Phantom Chart render whatever view you actually want to look at on top — Heikin Ashi, a clean line, an area, a baseline, a histogram, and more. You get the visual you read best, and your stops, targets, Fib tools, and other indicators all keep working off real prices.
Available Chart Styles
Candles
Bars
Heikin Ashi
Line
Step Line
Area
Baseline
Line with Markers
Columns
Histogram
Heikin Ashi Enhancements
HA is the headline use, so it gets dedicated tools:
Double Smooth — runs the Heikin Ashi calculation a second time for an even cleaner trend read with almost no noise. Flips are rarer but more reliable.
Strong Candles — highlights candles with no lower wick (strong bullish) or no upper wick (strong bearish), the candles that mark the heart of a trending move.
Flip Markers — a triangle whenever the candle color changes direction, so you never miss a turn.
Streak Counter — a live count of consecutive same-direction candles for gauging trend strength at a glance.
Candle Patterns (Candles / Bars)
Inside Bars — marks compression bars sitting fully inside the prior bar's range, which often precede an expansion.
Engulfing — marks bars whose body fully engulfs the previous bar in the opposite direction. Bull engulfing below the bar, bear engulfing above.
Baseline Tools
Crossover Markers — triangles at each cross of the baseline reference, the core baseline signal.
Fill To Baseline — shades green above the baseline, red below, so price position is obvious instantly.
Coloring Modes
Direction — each bar colored by close versus its own open.
Momentum — each bar colored by close versus the previous close, regardless of the bar's own direction.
Trend — colored by whether price is above or below its moving average, with an optional trend line.
Single Color — one color everywhere.
More Controls
Multi-Timeframe — render any higher timeframe on your chart, with an optional setting to show only fully-closed bars.
Volume-Weighted Opacity — fades low-volume bars and keeps high-volume bars solid so the heavy bars stand out.
Source Smoothing — optional moving average on the line-style sources.
Inverse Chart — flip the chart vertically for an objectivity check: would you take this trade if it moved the other way?
OHLC Labels — optional last-bar price labels.
Fully customizable colors, widths, wick visibility, and label styling throughout. Every enhancement is an independent toggle, off-by-default where it adds clutter.
Recommended Setup
For accurate visuals, keep your base chart on a standard type (Candles or Bars) and use Phantom Chart for the alternative view. If your base chart itself is set to Heikin Ashi or another transformed type, the overlay will reflect those transformed values rather than real prices — a built-in warning label appears when this is detected.
Tip
You can add Phantom Chart more than once to layer multiple views — for example a Heikin Ashi read alongside a clean line of real closes — each instance with its own settings.
This script is open-source under the Mozilla Public License 2.0.
Indicator

Indicator

Heikin Ashi RSI Fade - Short IndicatorHeikin Ashi RSI Fade — Short Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a fade-the-strength short workflow. It tracks one virtual short position at a time and fires webhook-ready alerts on three discrete events: a short entry confirmed by dual filters across two timeframes, a take-profit close when price drops a fixed percentage below entry, and a stop-loss close when price rises a fixed percentage above entry. No backtest engine — the indicator is built to drive a live DCA Bot directly through PulseWire alerts.
- Dual confirmation entry: RSI(100) on 1h above 46 AND a configurable number of consecutive bullish Heikin Ashi candles on 15m.
- Fixed exits: TP at −2.1% from entry, SL at +2.5%. No trailing.
- Every event emits a fully-formed JSON payload ready for direct DCA Bot consumption.
- Status table tracks the live virtual state on every bar close.
🔷 Who is it for:
- Swing traders running a DCA Bot on crypto pairs that frequently overrun local resistance.
- Bot operators who want a chart-driven signal source that emits webhook JSON natively, with no glue scripts required.
- Traders who want to monitor entry, TP, and SL conditions in real time on the chart without the strategy-tester overhead.
- Risk-conscious operators looking for a clean fade engine with bounded per-trade exposure.
🔷 How does it work:
RSI Bias Filter: A long-window RSI(100) is sampled from the 1-hour timeframe via request.security. The threshold (default 46) sits just below the midline, so the filter is satisfied during prolonged bullish drift — exactly the regime where fading strength has the highest expectancy. When RSI falls below 46, the bias is considered to have flipped bearish and the indicator stops looking for new short signals.
Heikin Ashi Streak Trigger: A 15-minute Heikin Ashi stream is sampled in parallel, and the indicator counts consecutive same-direction HA candles using ta.barssince inside request.security. When the bullish streak reaches the configured length (default 7), the trigger is armed. A single input flips the HA direction between Bullish (fade strength, default) and Bearish (follow trend).
Virtual Position Tracking: When both filters align at host-bar close, the indicator marks a virtual short entry, captures the entry price, and pre-computes the TP and SL levels from the configured percentages. The position state, target prices, and live RSI / HA filter readouts are surfaced in the status table on every bar.
Close-Based Exit Detection: Exit signals are evaluated on bar close — when the close drops to the TP level, the TP event fires; when the close rises to the SL level, the SL event fires. This matches what a polling bot would see at each candle close and avoids over-signaling on intra-bar wicks.
Webhook Dispatch: Every event (entry, TP, SL) emits a dedicated JSON payload through alert(). One PulseWire alert configured for "Any alert() function call" drives a DCA Bot end-to-end through the indicator's lifetime.
🔷 Why it's unique:
- Dual-Timeframe Confirmation: RSI on 1h filters macro bias, Heikin Ashi on 15m times the entry. The two conditions operate on different scales so they cannot be satisfied by the same noise pattern — every entry requires alignment across both.
- Fade-or-Follow Switch: A single input flips the HA direction filter between Bullish (fade strength, default) and Bearish (follow trend). The same engine handles two opposing setup archetypes.
- Honest Virtual State: Entry price, TP target, SL level, and live filter readouts are all surfaced on the chart in real time. No hidden math, no shortcut from a synthetic base — what you see is what the bot would see.
- DCA Bot Integration: Webhook payloads are identical to the companion strategy version, so the same bot configuration drives both. Use the indicator for live signals and the strategy for backtest validation.
🔷 Considerations Before Using the Indicator:
Market Selection: Designed for liquid crypto pairs that respect mean-reversion behavior on 1h–2h ranges. Strongly trending markets will repeatedly stop the indicator out; the 1h RSI(100) > 46 filter limits exposure to confirmed bullish drift, but a regime shift to a stronger trend requires manual oversight.
Cross-Detection Granularity: The indicator evaluates entries and exits on bar close. A bar that spikes through a TP or SL level intra-bar and returns within the same bar will not fire the event by design — this matches realistic polling behavior and avoids over-signaling on wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled or reloaded. 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.
No Stop Loss on the Bot Side: The indicator fires a close webhook when its virtual SL level is reached, but the underlying bot still relies on the indicator being live and the webhook being delivered. If hard exchange-side risk protection is required, configure a parallel SL on the exchange directly.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a five-year sample (~349 closed trades, 0.47% max drawdown, profit factor 1.117), use the companion strategy version on identical parameters.
🔷 How to Use It:
🔸 Add the indicator to a 1H or 2H crypto chart on the pair you want to trade.
🔸 Review the RSI filter (timeframe / length / condition / level) and the Heikin Ashi filter (timeframe / streak / direction). Defaults are calibrated for XRPUSDT — recalibrate per asset before deploying.
🔸 Set the Take Profit and Stop Loss percentages to match the volatility profile of your asset.
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_XRP).
🔸 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 JSON payloads for short entry, TP close, and SL close — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual order size, used only for the status-table display.
RSI Timeframe / Length / Condition / Level: Lower-timeframe RSI bias filter on the host symbol.
HA Timeframe / Streak / Direction: Heikin Ashi consecutive-candle trigger on the lower timeframe. Direction defines fade (Bullish) vs follow (Bearish) mode.
Take Profit (%) / Stop Loss (%): Fixed distance exits from the entry price.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle Avg Entry / TP / SL plot lines, fill labels, signal triangles, status table.
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

Heikin Ashi RSI Fade - Short StrategyHeikin Ashi RSI Fade — Short Strategy
🔷 What it does:
This is a short-only strategy that fades extended Heikin Ashi bullish streaks confirmed by a higher-timeframe RSI bias filter. A short entry is opened when the lower-timeframe Heikin Ashi prints a defined number of consecutive bullish candles AND the medium-term RSI is above a soft-bias threshold — the combination targets exhausted bullish thrusts that have run far enough to invite a pullback. The exit is a fixed Take Profit OR a fixed Stop Loss; no trailing, no averaging, no second-guessing.
- Single base order, sized at 1% of equity by default.
- Dual confirmation entry: RSI(100) on 1h > 46 AND 7 consecutive Heikin Ashi bullish candles on 15m.
- Hard exit pair: TP at −2.1% from average entry, SL at +2.5%.
- Every entry and exit emits a webhook-ready JSON alert payload for direct DCA Bot consumption.
🔷 Who is it for:
- Swing traders looking for systematic short exposure on crypto pairs that frequently overrun local resistance.
- Traders who want a clean, mechanical short setup with no averaging and no discretionary management once in trade.
- Bot operators who want to drive a DCA Bot configured for one-shot short deals via webhook.
- Risk-conscious operators — at default settings the worst-case per-trade loss is ~0.025% of equity (well inside the 5–10% per-trade risk band).
🔷 How does it work:
RSI Bias Filter: A long-window RSI(100) is sampled from the 1-hour timeframe via request.security. The threshold (default 46) sits just below the midline, so the filter is satisfied during prolonged bullish drift — exactly the regime where fading strength has the highest expectancy. When RSI falls below 46, the bias is considered to have flipped bearish and the strategy stops looking for new shorts.
Heikin Ashi Streak Trigger: A 15-minute Heikin Ashi stream is sampled in parallel, and the strategy counts the number of consecutive same-direction HA candles using ta.barssince. When the bullish streak reaches the configured length (default 7), the trigger is armed. The default Bullish direction defines the fade-the-strength mode; switching to Bearish converts the strategy into a trend-follow short.
Entry: When BOTH conditions are true at host-bar close, a short position is opened at the base order size. The base order is configurable as Market (default) or Limit at the bar's close.
Exit (OCO): Take Profit and Stop Loss are issued as a paired OCO order through strategy.exit. The first level reached closes the position and automatically cancels the other side — no trailing, no partial exits.
🔷 Why it's unique:
- Dual-Timeframe Confirmation: RSI on 1h filters macro bias, Heikin Ashi on 15m times the entry. The two conditions operate on different scales so they cannot be satisfied by the same noise pattern — every entry requires alignment across both.
- Fade-or-Follow Switch: A single input flips the HA direction filter between Bullish (fade strength, default) and Bearish (follow trend). The same engine handles two opposing strategy archetypes.
- Bounded Trade Risk: With a single base order and a hard Stop Loss, the maximum loss per trade is exactly base size × SL%. At defaults that is 2.5 USDT on 10,000 — structural risk capping without any complex sizing logic.
- DCA Bot Integration: Each event emits a fully-formed JSON alert payload tagged with the action type, so the strategy can drive a DCA Bot configured for one-shot deals directly through PulseWire alerts.
🔷 Considerations Before Using the Strategy:
Market & Timeframe: Designed and tested on XRPUSDT 1H, Binance Spot, over a five-year sample. The RSI-and-Heikin-Ashi combination is portable to other liquid crypto pairs that respect mean-reversion behavior, but the filter thresholds (RSI level, HA streak length) should be reviewed before redeployment.
Performance Profile: This is a low-volatility, low-return defensive short. Over the 349-trade backtest the strategy returned +0.44% with a 0.47% maximum equity drawdown — a return-to-DD ratio just below 1, with a profit factor of 1.117. The value proposition is structural risk capping over a large statistical sample, not aggressive alpha. Size accordingly within a diversified portfolio.
Trending Markets: In strong sustained uptrends, the strategy will continue to fire short entries and will incur stop-outs as price grinds higher. This is by design — the strategy is positioned for ranges and rotations, not breakouts. The 1h RSI(100) > 46 filter limits exposure to confirmed bullish regimes only, which is where fading has an edge; a regime change to a stronger trend will require manual oversight or a wider Stop Loss.
Sample Size & Parameters: If a full-period backtest produces fewer than ~100 closed trades, either extend the period or lower the HA streak length to 5. Re-save the relaxed value as the new default so the publication continues to satisfy the "Default Properties match" rule.
Commission & Slippage: Defaults reflect Bybit perpetual taker conditions (0.06% commission, 3 ticks slippage). Update both inputs to match your exchange's actual fees before relying on the backtest numbers.
Past Performance: Past results do not guarantee future performance. Always demo-test before deploying live capital, and size the strategy as one part of a diversified portfolio.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:XRPUSDT (Spot)
Timeframe: 1H
Test Period: Mar 1, 2025 — May 22, 2026.
Initial Capital: 10,000 USDT.
Order Size per Trade: 1% of Capital (single base order, no averaging).
Max Capital Deployed: 100 USDT per trade (~1% of equity).
Worst-Case Loss per Trade: ~2.5 USDT (~0.025% of equity).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Margin for Short Positions: 100%.
Indicator Settings: Default Configuration.
Base Order: 100 USDT, Market by default (Limit toggle available).
Take Profit: 2.1% below average entry (no trailing).
Stop Loss: 2.5% above average entry (close trade).
RSI Filter: 1h RSI(100) > 46.
Heikin Ashi Filter: 15m Heikin Ashi, 7 consecutive bullish candles.
Strategy: Short Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +44.33 USDT (+0.44%)
Max Equity Drawdown: 46.78 USDT (0.47%)
Total Closed Trades: 349
Percent Profitable: 59.31% (207 / 349)
Profit Factor: 1.117
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and review the Base Order Size, RSI filter (timeframe / length / level), and the Heikin Ashi filter (timeframe / streak length / direction). Defaults are calibrated for XRPUSDT 2H — recalibrate per asset before deploying.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays inside your personal risk band. Validate that the closed-trade count is statistically meaningful (≥ 100 is a reasonable floor). Use realistic commission and slippage for your exchange.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The strategy will emit JSON payloads for short entry and exit — TP, SL, or manual close — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): USDT amount opened on the short entry.
Use LIMIT for Base: Toggle between Market (default, more conservative for backtest) and Limit at bar close.
RSI Timeframe / Length / Condition / Level: Lower-timeframe RSI bias filter applied to the host symbol.
HA Timeframe / Streak / Direction: Heikin Ashi consecutive-candle trigger on the lower timeframe. Direction defines fade (Bullish) vs follow (Bearish) mode.
Take Profit (%) / Stop Loss (%): Fixed distance exits from average entry.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle Avg Entry / TP / SL plot lines, fill labels, status table.
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

Camarilla Pivot Points with Actual Price Data for Heikin AshiNick Stott developed the Camarilla system in 1989 while trading bonds. The name comes from the Latin word for a small, private room — the implication being that these are hidden levels the market naturally gravitates toward. The core insight is that markets are mean-reverting by nature on an intraday basis — price tends to oscillate around a central value during the day (such as VWAP or some other level) rather than trend continuously. The Camarilla levels are designed to identify the precise price points where that mean reversion is most likely to occur, and where it's most likely to fail and become a genuine breakout instead.
The formula takes yesterday's high, low, and close and generates four resistance levels above (H1–H4) and four support levels below (L1–L4). The multipliers (0.0916, 0.183, 0.275, 0.55) are derived from Fibonacci ratios, which is what distinguishes Camarilla from classic pivot points that use simpler arithmetic.
H3 and L3 — the counter-trend levels. These are the workhorses of the system for day traders. The theory is that on a typical day, price will trade up to H3 or down to L3 and then reverse. You trade against the move at these levels — short at H3, long at L3 — with your stop placed just beyond H4 or L4 respectively. These setups have a high win rate in ranging, non-trending conditions because the market is simply oscillating within its expected daily range.
H4 and L4 — the breakout levels. When price breaks convincingly through H4 or L4, the mean-reversion thesis is invalidated. The market is telling you something unusual is happening — there's genuine directional momentum. At that point you flip your approach entirely and trade with the move, going long above H4 or short below L4, targeting H5 (which is H4 + the H4–H3 range) or L5 respectively. These are the high-reward trades but they occur less frequently.
H1, H2, L1, L2 — the minor levels. These are weaker and less reliable individually. Experienced Camarilla traders often use them as partial profit targets or as zones to tighten stops rather than as primary entry signals.
I prefer using Heikin Ashi candles on my chart -- however they are mathematically derived averages of price, calculated using a specific formula. Heikin Ashi candles do not show real price data. But on a regular candlestick chart it gets the actual market high, low, and close. On a Heikin Ashi chart you get the smoothed, averaged versions of those values -- which are always closer to the midpoint of the day's range and never reflect the true extremes. So I had to add in a tweak to use actual OHLC price data. Indicator

Indicator

Heikin Ashi Trend Zones [AGPro Series]Heikin Ashi Trend Zones
Heikin Ashi Trend Zones is a clean overlay built for traders who like the smoothing behavior of Heikin Ashi but still want to keep the original market candles visible. Instead of repainting the chart with synthetic candles, the script reads the internal Heikin Ashi state in the background and converts it into a focused trend-state layer.
The engine follows four core ideas:
1. Internal HA Side
The script calculates the active Heikin Ashi side from synthetic HA open and close values, then filters weak neutral bodies so the state does not flip on every small candle.
2. HA Streak Quality
The panel tracks how long the current HA side has been active. This helps separate early state changes from mature continuation phases.
3. Optional Transition Zones
When the HA side changes with enough body strength, wick cleanliness, close location, ATR pressure, and prior-state maturity, the script can project a compact rectangular transition zone. This layer is disabled by default so the public chart view stays clean, but it remains available for traders who want to inspect HA changeover corridors.
4. Continuation Quality
Once a HA streak matures, the script scores continuation quality using body strength, wick cleanliness, close location, smoothed HA slope, streak depth, and ATR context. Labels appear only when the continuation score is strong enough and the cooldown rules allow a clean chart presentation.
What makes this script different
- It does not replace real candles with Heikin Ashi candles.
- It does not behave like a generic trend-following dashboard.
- It focuses on HA state transitions, HA streak maturity, and continuation quality.
- Optional transition boxes are concept-native HA corridors, not broad horizontal support/resistance zones.
- Label density is capped with cooldown and maximum visible label controls.
- The panel exposes HA side, streak, transition quality, continuation quality, and ATR context in a compact AGPro layout.
Visual design
The overlay stays restrained:
- A slim trend-state ribbon follows the smoothed HA path.
- Optional transition zones can extend forward as compact rectangles when enabled.
- Continuation labels are offset from candles with ATR spacing.
- Panel location, panel theme, panel font size, and label font size are adjustable.
Suggested usage
Use the script to study whether Heikin Ashi structure is shifting, stabilizing, or continuing while the original candles remain visible. The strongest reads usually come from alignment between a clean HA side, a growing streak, strong continuation quality, and an ATR context that supports the current state.
Default settings are tuned for a balanced public chart view with a clean ribbon and selective continuation labels. Faster traders can reduce smoothing and cooldown values. Swing traders can enable transition zones, increase transition projection, and require higher continuation quality for fewer labels. Indicator

Heikin Ashi Oscillator Trend Engine At its core, this script is a Heikin Ashi-based oscillator designed to translate HA candle behavior into a normalized momentum framework that is easier to read in a separate pane. Instead of only viewing Heikin Ashi candles on price, this script converts HA-derived range behavior into an oscillator that can help show direction, expansion, contraction, and structural shifts in a more organized way. The goal is not just to turn HA into another oscillator. The goal is to build a unified HA engine that can be read through multiple layers while still staying tied to the same foundation.
The script includes two core engine modes:
HA Range Base
This is the more direct and responsive version. It builds the oscillator from signed Heikin Ashi range behavior, then smooths that result into a cleaner momentum read.
HA Blend
This mode keeps the same HA foundation, but blends multiple smoothed HA range relationships together into one output. The result is often smoother and more refined while still staying rooted in Heiken Ashi structure.
That distinction matters because this is not a random stack of unrelated features. Everything in the script is built around the same central idea: use Heikin Ashi-derived behavior as the base signal, then offer different ways to normalize it, smooth it, visualize it, and compare it across timeframes.
The script also includes a normalization layer. A dynamic/manual lookback framework controls the reference window used for normalization and adaptive guide logic, so the oscillator can stay more balanced across different chart speeds. The output is then organized into a broader interpretation framework that includes:
➖ adaptive fast/slow crossover lines
➖ a separate SMA 20 / 50 crossover engine
➖ a rolling oscillator VWA for participation-aware context
➖ a stabilized higher-timeframe oscillator reference line
➖ a pivot-based trend overlay built from confirmed oscillator pivots
➖ adaptive zero / ±50 guide lines
➖ synthetic oscillator candles
➖ a histogram pressure envelope state engine and fill that highlights when the oscillator pushes into user-defined extreme zones inside the pane
➖ optional price-overlay candles that reuse the same oscillator color logic
➖ a compact engine table for quick reference
These are not separate systems bolted on for the sake of adding more features. They are different ways of reading the same Heiken Ashi oscillator engine.
A practical way to think about it:
➡️ When the oscillator is above zero and strengthening, HA-based momentum is expanding in the bullish direction.
➡️ When it is above zero but weakening, the move may still be positive, but the internal pace is cooling.
➡️ When it is below zero and weakening further, bearish pressure is expanding.
➡️ When it is below zero but improving, downside pressure may be easing even if the broader condition is still negative.
The higher-timeframe oscillator line adds another layer of context. It gives you a way to compare the local pane oscillator against the next broader HA context. That can help answer whether the current move is flowing with the higher-timeframe structure or starting to diverge from it.
The pivot overlay serves a different purpose. Rather than acting like another moving average, it behaves more like a structural reference derived from confirmed oscillator pivots. That can make it useful for traders who want a more regime-style guide instead of relying only on crossover behavior.
The synthetic oscillator candles are there to make bar-to-bar behavior easier to read. They can help show when the oscillator is expanding, slowing, or shifting direction more clearly than a line alone. The optional price-overlay candle mode extends that same color logic back onto the main chart so pane-space and chart-space stay visually connected.
This script is not meant to predict reversals by itself, and it should not be treated as a stand-alone signal machine. The way I use it is more practical:
➖ to judge whether HA-based momentum is expanding or contracting
➖ to compare local oscillator behavior against higher-timeframe context
➖ to see whether momentum is strengthening, stalling, or rotating
➖ to keep price-space and pane-space context visually aligned
Bar Replay
Bar Replay is especially useful here. Watching the oscillator build one bar at a time makes it much easier to understand how the HA engine responds to expansion and contraction, how the crossover layers behave during transitions, and how the pivot overlay changes only after structure is confirmed.
Confluence
Like most momentum tools, this works best with confluence. I would not use it in isolation. It becomes more useful when paired with structure, support/resistance, volume, trend context, RSI, or other confirmation tools. The value of this script is not that it replaces those tools. The value is that it gives Heiken Ashi behavior a more organized oscillator-based expression that can be easier to compare, normalize, and monitor over time.
A few example charts:
Indicator

Indicator

Indicator

Indicator

Indicator

XenoSmooth Predictive Candles - Advanced Heikin Ashi CandlesXenoSmooth Predictive Candles
Summary in one paragraph
A synthetic candle engine for crypto, FX, equities, and futures on intraday to swing timeframes. It reduces noise and flip delay so structure is easier to read. The core novelty is a predictive open with inertia plus slope lead fused with a zero lag body filter and an overshoot based wick model normalized by the real range and capped by ATR. Add it to a clean chart, hide regular candles if desired, and tune lengths. Shapes can move while the bar is open and settle on close. For conservative workflows read on bar close.
Scope and intent
• Markets. Major FX pairs, index futures, large cap equities, liquid crypto
• Timeframes. One minute to daily
• Purpose. Faster and smoother visual structure than Heikin Ashi while keeping causality and realistic wicks
Originality and usefulness
• Unique concept. Predictive open with inertia and slope lead plus selectable zero lag body filter and ATR capped wick overshoot in percent of real range
• Failure mode addressed. Late flips in chop and unreal long wicks from raw extremes
• Testability. Every control is an input. Users can toggle body method, lengths, clipping, and percent modeling
• Portable yardstick. ATR based wick cap and percent of bar range scale across symbols
Method overview in plain language
Build a robust base price from O, H, L, and extra weight on Close. Smooth it with a chosen filter to produce the synthetic close. Drive a predictive open that follows the synthetic close with tunable inertia and a small lead from the last bar slope. Model wicks as the portion of the real extremes that extends beyond the synthetic body, smooth that overshoot, normalize by the bar range if selected, then cap by ATR to avoid tail spikes. Clamp synthetic values to the real high and low if enabled.
Base measures
• Range basis. True Range for the ATR cap and High minus Low for percent normalization
• Return basis. Not used
Components
• Body Base Blend. Weighted O H L with a close bias to stabilize the base
• Zero Lag Body Filter. ZLEMA or Super Smoother or WMA to set the synthetic close
• Predictive Open. Inertial follow of the synthetic close plus a slope lead term
• Wick Overshoot Model. Smoothed extension beyond the body, optional percent of real range, ATR cap
• Clamp Option. Keeps synthetic open and close inside the real bar range
Fusion rule
• Synthetic close equals filtered base
• Synthetic open equals previous open plus inertia times distance to synthetic close plus slope lead
• Wicks equal smoothed overshoot above and below the body, optionally percent of range then converted back to price and capped by ATR
Inputs with guidance
Setup
• Signal timeframe. Uses the chart timeframe
• Invert direction. Not applicable
• Session windows. Not applicable
Logic
• Body length. Core smoothing length for the synthetic close. Typical 6 to 14. Higher gives smoother and slower. Lower gives faster flips
• Body method. ZLEMA or Super Smoother or WMA. ZLEMA is fastest. Super Smoother is calmest
• Close weight in base. 0 to 1. Higher gives stronger emphasis on close and less noise
• Open inertia. 0 to 1. Higher makes the open follow the close more tightly
• Lead gain. 0 to 1. Higher adds more phase lead. Keep modest to avoid overshoot
• Clamp body to real range. On keeps synthetic body inside high and low
• Wick smooth length. Typical 4 to 10. Higher reduces jitter
• Overshoot as percent. On stabilizes wicks across regimes
• ATR length. Typical 10 to 20 for the cap
• Max wick equals ATR times. 0 disables. 1.0 to 2.0 contains extreme tails
Filters
• Efficiency or trend filter. Not used
• Micro versus macro range relation. Not used
• Location filter. Not used
Realism and responsible publication
• No performance claims
• Intrabar motion reminder. Shapes can move while a bar forms and settle on close
• Strategies must use standard candles for signals and orders
Honest limitations and failure modes
• High impact releases and thin liquidity can distort wicks and produce gaps that any smoother cannot predict
• Very quiet regimes can reduce contrast. Consider longer body length
• Session time on the chart controls the definition of each bar
Indicator

Adaptive Heikin Ashi [CHE]Adaptive Heikin Ashi — volatility-aware HA with fewer fake flips
Summary
Adaptive Heikin Ashi is a volatility-aware reinterpretation of classic Heikin Ashi that continuously adjusts its internal smoothing based on the current ATR regime, which means that in quiet markets the indicator reacts more quickly to genuine directional changes, while in turbulent phases it deliberately increases its smoothing to suppress jitter and color whipsaws, thereby reducing “noise” and cutting down on fake flips without resorting to heavy fixed smoothing that would lag everywhere.
Motivation: why adapt at all?
Classic Heikin Ashi replaces raw OHLC candles with a smoothed construction that averages price and blends each new candle with the previous HA state, which typically cleans up trends and improves visual coherence, yet its fixed smoothing amount treats calm and violent markets the same, leading to the usual dilemma where a setting that looks crisp in a narrow range becomes too nervous in a spike, and a setting that tames high volatility feels unnecessarily sluggish as soon as conditions normalize; by allowing the smoothing weight to expand and contract with volatility, Adaptive HA aims to keep candles readable across shifting regimes without constant manual retuning.
What is different from normal Heikin Ashi?
Fixed vs. adaptive blend:
Classic HA implicitly uses a fixed 50/50 blend for the open update (`HA_open_t = 0.5 HA_open_{t-1} + 0.5 HA_close_{t-1}`), while this script replaces the constant 0.5 with a dynamic weight `w_t` that oscillates around 0.5 as a function of observed volatility, which turns the open update into an EMA-like filter whose “alpha” automatically changes with market conditions.
Volatility as the steering signal:
The script measures volatility via ATR and compares it to a rolling baseline (SMA of ATR over the same length), producing a normalized deviation that is scaled by sensitivity, clamped to ±1 for stability, and then mapped to a bounded weight interval ` `, so the adaptation is strong enough to matter but never runs away.
Outcome that matters to traders:
In high volatility, the weight shifts upward toward the prior HA open, which strengthens smoothing exactly where classic HA tends to “chatter,” while in low volatility the weight shifts downward toward the most recent HA close, which speeds up reaction so quiet trends do not feel artificially delayed; this is the practical mechanism by which noise and fake signals are reduced without accepting blanket lag.
How it works
1. HA close matches classic HA:
`HA_close_t = (Open_t + High_t + Low_t + Close_t) / 4`
2. Volatility normalization:
`ATR_t` is computed over `atr_length`, its baseline is `ATR_SMA_t = SMA(ATR, atr_length)`, and the raw deviation is `(ATR_t / ATR_SMA_t − 1)`, which is then scaled by `adapt_sensitivity` and clamped to ` ` to obtain `v_t`, ensuring that pathological spikes cannot destabilize the weighting.
3. Adaptive weight around 0.5:
`w_t = 0.5 + oscillation_range v_t`, giving `w_t ∈ `, so with a default `range = 0.20` the weight stays between 0.30 and 0.70, which is wide enough to matter but narrow enough to preserve HA identity.
4. EMA-like open update:
On the very first bar the open is seeded from a stable combination of the raw open and close, and thereafter the update is
`HA_open_t = w_t HA_open_{t−1} + (1 − w_t) HA_close_{t−1}`,
which is equivalent to an EMA where higher `w_t` means heavier inertia (more smoothing) and lower `w_t` means stronger pull to the latest price information (more responsiveness).
5. High and low follow classic HA composition:
`HA_high_t = max(High_t, max(HA_open_t, HA_close_t))`,
`HA_low_t = min(Low_t, min(HA_open_t, HA_close_t))`,
thereby keeping visual semantics consistent with standard HA so that your existing reading of bodies, wicks, and transitions still applies.
Why this reduces noise and fake signals in practice
Fake flips in HA typically occur when a fixed blending rule is forced to process candles during a volatility surge, producing rapid alternations around pivots or within wide intrabar ranges; by increasing smoothing exactly when ATR jumps relative to its baseline, the adaptive open stabilizes the candle body progression and suppresses transient color changes, while in the opposite scenario of compressed ranges, the reduced smoothing allows small but persistent directional pressure to reflect in candle color earlier, which reduces the tendency to enter late after multiple slow transitions.
Parameter guide (what each input really does)
ATR Length (default 14): controls both the ATR and its baseline window, where longer values dampen the adaptation by making the baseline slower and the deviation smaller, which is helpful for noisy lower timeframes, while shorter values make the regime detector more reactive.
Oscillation Range (default 0.20): sets the maximum distance from 0.5 that the weight may travel, so increasing it towards 0.25–0.30 yields stronger smoothing in turbulence and faster response in calm periods, whereas decreasing it to 0.10–0.15 keeps the behavior closer to classical HA and is useful if your strategy already includes heavy downstream smoothing.
Adapt Sensitivity (default 6.0): multiplies the normalized ATR deviation before clamping, such that higher sensitivity accelerates adaptation to regime shifts, while lower sensitivity produces gradual transitions; negative values intentionally invert the mapping (higher vol → less smoothing) and are generally not recommended unless you are testing a counter-intuitive hypothesis.
Reading the candles and the optional diagnostic
You interpret colors and bodies just like with normal HA, but you can additionally enable the Adaptive Weight diagnostic plot to see the regime in real time, where values drifting up toward the upper bound indicate a turbulent context that is being deliberately smoothed, and values gliding down toward the lower bound indicate a calm environment in which the indicator chooses to move faster, which can be valuable for discretionary confirmation when deciding whether a fresh color shift is likely to stick.
Practical workflows and combinations
Trend-following entries: use color continuity and body expansion as usual, but expect fewer spurious alternations around news spikes or into liquidity gaps; pairing with structure (swing highs/lows, breaks of internal ranges) keeps entries disciplined.
Exit management: when the diagnostic weight remains elevated for an extended period, you can be stricter with exit triggers because flips are less likely to be accidental noise; conversely, when the weight is depressed, consider earlier partials since the indicator is intentionally more nimble.
Multi-asset, multi-TF: the adaptation is especially helpful if you rotate instruments with very different vol profiles or hop across timeframes, since you will not need to retune a fixed smoothing parameter every time conditions change.
Behavior, constraints, and performance
The script does not repaint historical bars and uses only past information on closed candles, yet just like any candle-based visualization the current live bar will update until it closes, so you should avoid acting on mid-bar flips without a rule that accounts for bar close; there are no `security()` calls or higher-timeframe lookups, which keeps performance light and execution deterministic, and the clamping of the volatility signal ensures numerical stability even during extreme ATR spikes.
Sensible defaults and quick tuning
Start with the defaults (`ATR 14`, `Range 0.20`, `Sensitivity 6.0`) and observe the weight plot across a few volatile events; if you still see too many flips in turbulence, either raise `Range` to 0.25 or trim `Sensitivity` to 4–5 so that the weight can move high but does not overreact, and if the indicator feels too slow in quiet markets, lower `Range` toward 0.15 or raise `Sensitivity` to 7–8 to bias the weight a bit more aggressively downward when conditions compress.
What this indicator is—and is not
Adaptive Heikin Ashi is a context-aware visualization layer that improves the signal-to-noise ratio and reduces fake flips by modulating smoothing with volatility, but it is not a complete trading system, it does not predict the future, and it should be combined with structure, risk controls, and position management that fit your market and timeframe; always forward-test on your instruments, and remember that even adaptive smoothing can delay recognition at sharp turning points when volatility remains elevated.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Indicator

Wickless Heikin Ashi B/S [CHE]Wickless Heikin Ashi B/S \
Purpose.
Wickless Heikin Ashi B/S \ is built to surface only the cleanest momentum turns: it prints a Buy (B) when a bullish Heikin-Ashi candle forms with virtually no lower wick, and a Sell (S) when a bearish Heikin-Ashi candle forms with no upper wick. Optional Lock mode turns these into one-shot signals that hold the regime (bull or bear) until the opposite side appears. The tool can also project dashed horizontal lines from each signal’s price level to help you manage entries, stops, and partial take-profits visually.
How it works.
The indicator computes standard Heikin-Ashi values from your chart’s OHLC. A bar qualifies as bullish if its HA close is at or above its HA open; bearish if below. Then the wick on the relevant side is compared to the bar’s HA range. If that wick is smaller than your selected percentage threshold (plus a tiny tick epsilon to avoid rounding noise), the raw condition is considered “wickless.” Only one side can fire; on the rare occasion both raw conditions would overlap, the bar is ignored to prevent false dual triggers. When Lock is enabled, the first valid signal sets the active regime (background shaded light green for bull, light red for bear) and suppresses further same-side triggers until the opposite side appears, which helps reduce overtrading in chop.
Why wickless?
A missing wick on the “wrong” side of a Heikin-Ashi candle is a strong hint of persistent directional pressure. In practice, this filters out hesitation bars and many mid-bar flips. Traders who prefer entering only when momentum is decisive will find wickless bars useful for timing entries within an established bias.
Visuals you get.
When a valid buy appears, a small triangle “B” is plotted below the bar and a green dashed line can extend to the right from the signal’s HA open price. For sells, a triangle “S” above the bar and a red dashed line do the same. These lines act like immediate, price-anchored references for stop placement and profit scaling; you can shift the anchor left by a chosen number of bars if you prefer the line to start a little earlier for visual alignment.
How to trade it
Establish context first.
Pick a timeframe that matches your style: intraday index or crypto traders often use 5–60 minutes; swing traders might prefer 2–4 hours or daily. The tool is agnostic, but the cleanest results occur when the market is already trending or attempting a fresh breakout.
Entry.
When a B prints, the simplest rule is to enter long at or just after bar close. A conservative variation is to require price to take out the high of the signal bar in the next bar(s). For S, invert the logic: enter short on or after close, or only if price breaks the signal bar’s low.
Stop-loss.
Place the stop beyond the opposite extreme of the signal HA bar (for B: under the HA low; for S: above the HA high). If you prefer a static reference, use the dashed line level (signal HA open) or an ATR buffer (e.g., 1.0–1.5× ATR(14)). The goal is to give the trade enough room that normal noise does not immediately knock you out, while staying small enough to keep the risk contained.
Take-profit and management.
Two pragmatic approaches work well:
R-multiple scaling. Define your initial risk (distance from entry to stop). Scale out at 1R, 2R, and let a runner go toward 3R+ if structure holds.
Trailing logic. Trail behind a short moving average (e.g., EMA 20) or progressive swing points. Many traders also exit on the opposite signal when Lock flips, especially on faster timeframes.
Position sizing.
Keep risk per trade modest and consistent (e.g., 0.25–1% of account). The indicator improves timing; it does not replace risk control.
Settings guidance
Max lower wick for Bull (%) / Max upper wick for Bear (%).
These control how strict “wickless” must be. Tighter values (0.3–1.0%) yield fewer but cleaner signals and are great for strong trends or low-noise instruments. Looser values (1.5–3.0%) catch more setups in volatile markets but admit more noise. If you notice too many borderline bars triggering during high-volatility sessions, increase these thresholds slightly.
Lock (one-shot until opposite).
Keep Lock ON when you want one decisive signal per leg, reducing noise and signal clusters. Turn it OFF only if your plan intentionally scales into trends with multiple entries.
Extended lines & anchor offset.
Leave lines ON to maintain a visual memory of the last trigger levels. These often behave like near-term support/resistance. The offset simply lets you start that line one or more bars earlier if you prefer the look; it does not change the math.
Colors.
Use distinct bull/bear line colors you can read easily on your theme. The default lime/red scheme is chosen for clarity.
Practical examples
Momentum continuation (long).
Price is above your baseline (e.g., EMA 200). A B prints with a tight lower wick filter. Enter on close; stop under the signal HA low. Price pushes up in the next bars; you scale at 1R, trail the rest with EMA 20, and finally exit when a distant S appears or your trail is hit.
Breakout confirmation (short).
Following a range, price breaks down and prints an S with no upper wick. Enter short as the bar closes or on a subsequent break of the signal bar’s low. If the next bar immediately rejects and prints a bullish HA bar, your stop above the signal HA high limits damage. Otherwise, ride the move, harvesting partials as the red dashed line remains unviolated.
Alerts and automation
Set alerts to “Once Per Bar Close” for stability.
Bull ONE-SHOT fires when a valid buy prints (and Lock allows it).
Bear ONE-SHOT fires for sells analogously.
With Lock enabled, you avoid multiple pings in the same direction during a single leg—useful for webhooks or mobile notifications.
Reliability and limitations
The script calculates from completed bars and does not use higher-timeframe look-ahead or repainting tricks. Heikin-Ashi smoothing can lag turns slightly, which is expected and part of the design. In narrow ranges or whipsaw conditions, signals naturally thin out; if you must trade ranges, either tighten the wick filters and keep Lock ON, or add a trend/volatility filter (e.g., trade B only above EMA 200; S only below). Remember: this is an indicator, not a strategy. If you want exact statistics, port the triggers into a strategy and backtest with your chosen entry, stop, and exit rules.
Final notes
Wickless Heikin Ashi B/S \ is a precision timing tool: it waits for decisive, wickless HA bars, provides optional regime locking to reduce noise, and leaves clear price anchors on your chart for disciplined management. Use it with a simple framework—trend bias, fixed risk, and a straightforward exit plan—and it will keep your execution consistent without cluttering the screen or your decision-making.
Disclaimer: This indicator is for educational use and trade assistance only. It is not financial advice. You alone are responsible for your risk and results.
Enhance your trading precision and confidence with Wickless Heikin Ashi B/S ! 🚀
Happy trading
Chervolino
Indicator

Heikin Ashi Overlay SuiteHeikin Ashi Overlay Suite is designed to give traders more control and clarity when working with Heikin Ashi candles — whether you're analyzing trend strength, reducing chart noise, or simply improving your visual read of market momentum. It works by layering multiple types of HA overlays and color systems on top of your standard candlestick chart — without switching chart types. With dynamic gradient coloring, smoothing options, and a predictive line tool, this script helps you see not just what the current trend is, but how strong it is, and what it would take to reverse it.
Heikin Ashi candles help reduce noise but this script goes further by:
➡️adding color intelligence that shows trend strength using a streak counter
➡️uses smoothing logic to clean up chop and whipsaws
➡️introduces a predictive close line — a subtle but powerful guide for anticipating trend flips before they happen
Everything is configurable: colors, candle sources, overlays, predictive tools, and line styles. It’s built for traders who want visual speed, but don’t want to sacrifice signal quality.
At its core, the script offers two powerful dropdown controls:
💥HA Color Scheme (Colors Regular Candles) — Applies Heikin Ashi-derived coloring to your regular candles based on trend direction or streak strength. This gives you instant visual context without switching to a separate chart type.
💥HA Candle Overlay Mode — Overlays actual Heikin Ashi-style candles directly on top of your chart, using your preferred source:
➡️Custom HA candles using internal formula logic
➡️PulseWire’s built-in Heikin Ashi source with your own colors
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
🎨 Custom + Gradient HA Coloring🎨
See trend strength at a glance:
➡️1–4 bar streaks → lighter tone
➡️5–8 bars → medium tone
➡️9+ bars → bold tone, ideal for momentum-based entries, exits, or scaling strategies
→ Choose from:
➡️Your own custom color set
➡️A simple 2-color base mode
➡️Or a 3-level gradient for progressive trend analysis (using the streak counter)
🏛️ PulseWire Official Heikin Ashi Overlay
Prefer native HA candles but want your own colors?
This mode plots PulseWire's Heikin Ashi source, with your personal bullish/bearish color scheme.
➡️Ensures consistency with built-in charts while still leveraging your visual style.
🌊 Smoothed Heikin Ashi Candles — Clarity in Chaos🌊
These aren’t your standard HA candles. Smoothed Heikin Ashi uses a two-step EMA process to transform chaotic price action into a cleaner, slower-moving trend structure:
🔹 First, it smooths the raw OHLC data using EMA — filtering out minor price fluctuations.
🔹 Then, it applies the Heikin Ashi transformation on top of the smoothed data.
🔹 Finally, it applies a second EMA smoothing pass to the HA values — creating ultra-smooth candles.
📈 What You See:
Trends appear more fluid and consistent.
Choppy ranges and fakeouts are visually suppressed.
Minor pullbacks within a trend are de-emphasized, helping you avoid premature exits.
🎯 Best For:
Swing traders looking to stay in positions longer.
Intraday traders dealing with volatile or noisy instruments.
Anyone who wants a "trend map" overlay without the distractions of raw price action.
✅ Reduces whipsaws
✅ Delivers high-contrast trend zones
✅ Makes reversals more visually apparent (but with a slight lag)
📍 Predictive Close Line📍
Shows where the real close must land to flip the current HA candle's color.
✅ Use it like predictive support/resistance
✅ Know if the trend is actually at risk
✅Visualize potential fakeouts or confirmation
Color-coded based on current HA direction (bullish, bearish, or neutral).
📈 Tick by tick & bar-to-bar Plots📈
Provides 2 plot types:
1)1 plot that tracks a bar tick by tick
2)another plot that tracks the close from bar to bar
For the bar to bar plot, you can choose between 2 options:
✅Full Plot — continuous line colored by HA trend
✅Recent Segments — color just the last few bars (configurable) to reduce chart clutter
✅ Customize width, number of bars, and visibility
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
📘 How to Use this script📘
Imagine you're watching a choppy 15-minute chart on a volatile crypto pair — price action is messy, and it’s hard to tell if a trend is forming or just noise.
Here’s how to cut through the chaos using Heikin Ashi Overlay Suite:
🔹 Step 1: Enable "Smoothed HA Candles"
Start by turning on the smoothed candles. You’ll immediately notice the noise fades, and broader directional moves become easier to follow. It's like switching from static to clean trend zones.
🧠 Why: Smoothed HA uses a double EMA process that filters out small reversals and lets larger moves stand out. Perfect for sideways or jittery charts.
🔹 Step 2: Watch the Color Gradient Build
As the smoothed candles begin to align in one direction, the gradient coloring (1–4, 5–8, 9+ streaks) gives you an at-a-glance visual of how strong the trend is.
✅ If you see 9+ same-colored candles? You’re likely in a mature trend.
✅ If it resets often? You’re in chop — consider staying out.
🔹 Step 3: Use the Predictive Close Line for Anticipation
Now here’s the edge — this line tells you where the candle would have to close to flip colors.
📉 If price is hovering just above it during a bullish run — momentum may be weakening.
📈 If price bounces off it — the trend may be strengthening.
This is excellent for confirming entries, exits, or spotting early warning signs.
🔹 Step 4: Switch Between Candle Modes as Needed
You can flip between:
✅ Custom HA: Gradient candles with your colors
✅ PulseWire HA: The official source with your styling
✅ None: Just color regular candles using the HA logic
Use what fits your style — everything is modular.
🔹 Step 5: Tune It to Your Chart
Lastly, tweak streak thresholds (currently only can do this within the source code), smoothing lengths, and line styles to match your timeframe and strategy.
🎯 Tailor The Settings to Fit Your Trading Style🎯
🔹 🧪 Scalper (1–5 min charts)
If you’re trading fast intraday moves, you want quicker responsiveness and less lag.
Try these settings:
🔸Smoothing Lengths: Use lower values (e.g. len = 3, len2 = 5)
🔸Candle Mode: Use Custom HA or TV’s HA for real-time color flips
🔸Predictive Close Line: Great for ultra-fast anticipation of color reversals
🔸Line Mode: Use Recent Segments mode to track short bursts of trend
🔸Colors: Use high-contrast, opaque colors for clarity
✅ These settings help you catch micro-trends and flip signals faster, while still filtering out the worst of the noise.
🔹 🧪 Swing Trader (30m–4h charts and beyond)
If you’re looking for multi-hour or multi-day trend confirmation, prioritize clarity and staying in moves longer.
Recommended setup:
🔸Smoothing Lengths: Medium to high values (e.g. len = 8, len2 = 21)
🔸Candle Mode: Use Smoothed HA Candles to block out intrabar chop
🔸Gradient Colors: Enable to visualize trend maturity and strength
🔸Predictive Close Line: Helps confirm trend continuation or spot early reversals
🔸Line Mode: Use Full Plot Line for clean HA-based trend tracking
✅ These settings give you a calm, clean view of the bigger picture — ideal for holding positions longer and avoiding early exits.
🔧 This script isn’t just a chart overlay — it’s a visual trend engine.🔧
Ideal For:
🔶 Trend-followers who want clean, color-coded confirmation
🔶 Reversal traders spotting exhaustion via predictive flips
🔶 Scalpers filtering noise with lighter smoothing
🔶 Swing traders using smoothed visuals to hold longer
📌 Final Note
Heikin Ashi Overlay Pro is designed to help you see momentum, trend shifts, and market structure with greater clarity — not to predict price on its own. For best results:
✔️ Combine with support/resistance, moving averages, or price action patterns
✔️ Use Predictive Close as a confirmation tool, not a signal generator
✔️ Pair gradient colors with structure to gauge trend maturity
✔️ Always zoom out and check higher timeframes for context
🧠 Use this as part of a layered approach — not a standalone system.
🙏 Credits🙏
⚡HA logic based on SimpleCryptoLife
⚡Smoothed HA concept adapted from a script by Jackvmk
💡💡💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.💡💡💡 Indicator

Indicator
