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

Indicator

Strategy

Ha Smooth Scalperha smooth scalper
ha smooth scalper is a trend-following and scalping tool built around smoothed heikin-ashi logic, real structure trend locking, multi-timeframe confirmation, higher-timeframe filtering, protected structure levels, clean candle coloring, and a compact professional dashboard.
the goal of this indicator is to help traders stay with the real trend instead of reacting to every small candle color change.
in a strong bullish slope, the tool can keep the chart bullish until a real protected swing low is broken.
in a strong bearish slope, the tool can keep the chart bearish until a real protected swing high is broken.
this makes the trend view cleaner and helps reduce false flips during strong directional moves.
main concept
most candle-based systems change color too quickly.
a single weak red candle inside a strong bullish trend should not always mean the trend is bearish.
a single weak green candle inside a strong bearish trend should not always mean the trend is bullish.
ha smooth scalper solves this by combining:
smoothed heikin-ashi calculation
real structure lock
protected swing highs and swing lows
multi-timeframe agreement
extra higher-timeframe confirmation
trend cloud
optional smooth candle mode
professional dashboard
how the trend works
the indicator first builds smoothed heikin-ashi candles from the chart data.
then it uses a structure lock system to decide if the market is really bullish or bearish.
bullish trend
the market stays bullish while price respects the protected swing low.
small bearish candles inside the bullish slope do not automatically flip the trend.
the trend changes to bearish only when the protected support structure is broken.
bearish trend
the market stays bearish while price respects the protected swing high.
small bullish candles inside the bearish slope do not automatically flip the trend.
the trend changes to bullish only when the protected resistance structure is broken.
protected structure level
the protected structure line shows the key level that must break before the trend can truly change.
in a bullish trend, this level is usually below price.
in a bearish trend, this level is usually above price.
for beginners, this is one of the most important parts of the tool.
if the market is bullish and price stays above the protected structure, the bullish trend remains valid.
if the market is bearish and price stays below the protected structure, the bearish trend remains valid.
smooth lock candle mode
smooth lock candle mode is designed to keep chart colors aligned with the real structure trend.
when enabled:
bullish structure keeps candles bullish
bearish structure keeps candles bearish
minor counter-trend candles are ignored
color changes only happen after real structure breaks
this mode is useful for traders who want a cleaner trend view and fewer emotional exits.
multi-timeframe confirmation
the indicator includes six selectable timeframes.
each timeframe can be enabled or disabled.
the panel shows whether each selected timeframe is bullish or bearish.
the minimum timeframe agreement setting controls how many selected timeframes must agree before a signal is accepted.
example:
if six timeframes are enabled and the minimum agreement is set to three, at least three selected timeframes must agree with the signal direction.
higher values create fewer but cleaner signals.
lower values create more signals but with more risk of noise.
extra htf confirmator
the extra higher-timeframe confirmator is an additional filter designed to reduce weak buy and sell signals.
it can confirm direction using:
ema slope plus price
or heikin-ashi direction
when enabled, long signals require bullish higher-timeframe confirmation.
short signals require bearish higher-timeframe confirmation.
this is useful because many losing trades happen when lower-timeframe signals go against the larger trend.
signal logic
long signal
a long signal can appear when:
the structure flips bullish
enough selected timeframes agree
the extra htf confirmator agrees
the trend mode allows long entries
the impulse filter confirms body expansion
short signal
a short signal can appear when:
the structure flips bearish
enough selected timeframes agree
the extra htf confirmator agrees
the trend mode allows short entries
the impulse filter confirms body expansion
full confluence star
a star appears when all selected timeframes agree with the signal direction.
this is a stronger confluence condition, but it should still be used with proper risk management.
dashboard
the dashboard is designed to give a fast view of the market.
it shows:
chart trend
six timeframe directions
multi-timeframe agreement
extra htf confirmation
structure lock status
protected structure price
smooth lock candle state
last signal
the panel uses a clean grey professional style and can be moved around the chart.
how to use the indicator
step 1: check the chart trend
start with the first dashboard row.
if the chart trend is bullish, focus mainly on long setups.
if the chart trend is bearish, focus mainly on short setups.
beginners should avoid trading directly against the displayed structure trend.
step 2: check the protected level
look at the protected structure level.
in a bullish trend, this is the important level below price.
if price stays above it, the bullish structure remains valid.
in a bearish trend, this is the important level above price.
if price stays below it, the bearish structure remains valid.
step 3: check timeframe agreement
look at the six timeframe rows.
cleaner long conditions usually appear when most selected timeframes are bullish.
cleaner short conditions usually appear when most selected timeframes are bearish.
step 4: check the htf confirmator
if the extra htf confirmator is enabled, wait for it to agree with the trade direction.
bullish htf confirmation supports long setups.
bearish htf confirmation supports short setups.
step 5: wait for a signal
a long signal marks a bullish structure transition with confirmation.
a short signal marks a bearish structure transition with confirmation.
do not trade every signal blindly.
always check trend context, support and resistance, volatility, session timing, and risk placement.
beginner long example
1. chart trend is bullish
2. smooth lock candle mode shows bullish structure
3. most selected timeframes are bullish
4. extra htf confirmator is bullish
5. price holds above the protected structure level
6. a long signal appears
7. stop loss can be planned below the protected level or below a recent swing low
8. target can be based on resistance, previous high, or a fixed risk/reward plan
beginner short example
1. chart trend is bearish
2. smooth lock candle mode shows bearish structure
3. most selected timeframes are bearish
4. extra htf confirmator is bearish
5. price holds below the protected structure level
6. a short signal appears
7. stop loss can be planned above the protected level or above a recent swing high
8. target can be based on support, previous low, or a fixed risk/reward plan
important settings
pre-smooth length
controls the first smoothing applied to price before the heikin-ashi calculation.
lower values react faster.
higher values are smoother.
post-smooth length
controls smoothing after the heikin-ashi calculation.
higher values reduce noise and false movement.
lower values make the tool more reactive.
slow baseline length
controls the slow baseline used for trend context and pullback logic.
structure pivot strength
controls how strong a swing high or swing low must be before it can become a protected structure level.
lower values react faster.
higher values create stronger but slower structure levels.
structure break confirmation
close mode requires candle close beyond the protected level.
wick mode reacts faster but can be noisier.
structure break buffer
adds an atr buffer beyond the protected level before the structure is considered broken.
higher buffer creates fewer trend flips.
lower buffer creates faster flips.
minimum timeframes agreeing
controls how many enabled timeframes must agree before a signal is allowed.
higher values are stricter.
lower values are more aggressive.
extra htf confirmator
adds a higher-timeframe direction filter to help avoid weak lower-timeframe signals.
smooth lock candle mode
keeps the visible candle color aligned with the structure trend until a real structure break happens.
best beginner settings
for cleaner trend reading:
enable real structure trend lock: on
structure source: raw price
structure break confirmation: close
smooth lock candle mode: on
extra htf confirmator: on
use confirmed mtf candles: on
minimum timeframes agreeing: 3 or higher
glow baseline: off
confluence background tint: off
for faster scalping:
structure pivot strength: 6 to 8
minimum timeframes agreeing: 2 to 3
extra htf confirmator: on
smooth lock candle mode: on
for safer trend following:
structure pivot strength: 10 to 14
minimum timeframes agreeing: 4 to 6
extra htf confirmator: on
structure break buffer: higher value
alerts
the indicator includes alerts for:
long scalp
short scalp
full bull
full bear
structure bull break
structure bear break
for cleaner alerts, use once per bar close.
risk management
this tool helps identify trend direction and filtered signals, but risk management is still required.
before entering a trade, define:
entry
stop loss
target
position size
invalidated condition
a good signal without risk management can still become a bad trade.
final note
ha smooth scalper is designed to make trend direction cleaner, reduce false color flips, and help traders focus on higher-quality conditions using structure, smoothing, multi-timeframe alignment, and higher-timeframe confirmation.
Indicator

Indicator

ha macd nemesisHA Nemesis is a Heikin Ashi based MACD oscillator designed to make momentum shifts easier to read in a separate pane.
Instead of plotting a classic MACD only as two lines and a histogram, this script rebuilds the MACD movement into synthetic Heikin Ashi candles. The goal is to give a cleaner visual view of momentum direction, candle pressure, signal-line interaction, and possible exhaustion areas.
The indicator includes three display modes:
* Hybrid: shows the Heikin Ashi MACD candles with the histogram.
* MACD: focuses on the candle-style MACD structure.
* Histogram: focuses mainly on histogram expansion and contraction.
The blue candles represent bullish momentum pressure. The red candles represent bearish momentum pressure. The signal line can be used as a reference for momentum confirmation. When the Heikin Ashi MACD closes above the signal line, bullish pressure is improving. When it closes below the signal line, bearish pressure is increasing.
The upper red background bands mark extended bullish momentum areas where upside pressure may be stretched. The lower blue background bands mark extended bearish momentum areas where downside pressure may be stretched. These zones are not automatic reversal signals. They are visual areas where traders can watch for reaction, slowdown, or continuation.
The script also includes optional bar coloring modes:
* MidLine: colors bars based on whether the oscillator is above or below zero.
* Candles: colors bars based on the Heikin Ashi MACD candle direction.
* Signal Cross: colors bars based on the relationship between the HA MACD close and the signal line.
* Extremities: highlights potential extended momentum conditions.
Alerts are built around two main ideas:
1. Heikin Ashi MACD crossing the signal EMA.
2. Heikin Ashi MACD candle color changing from bearish to bullish or bullish to bearish.
To reduce weak signals, the alert module uses candle filters. It can ignore small, weak, or doji-like HA MACD candles. If tracking is enabled, a raw signal can remain pending until a valid candle confirms the move, instead of firing immediately on a weak candle.
Beginner example 1:
The oscillator has been red and below the signal line. A blue Heikin Ashi MACD candle appears and closes above the signal line. If the candle passes the body and range filters, the alert can mark a bullish momentum shift. A beginner can then check whether price is also reclaiming a support level, breaking a local structure, or moving with trend confirmation.
Beginner example 2:
The oscillator has been blue and above the signal line. A red Heikin Ashi MACD candle appears and closes below the signal line. If the move is confirmed by a valid candle, it can warn that bullish momentum is fading. This can help traders avoid late long entries or watch for a possible pullback.
Beginner example 3:
The oscillator reaches the upper red band and then starts printing weaker blue candles or flips red. This can suggest that upside momentum is losing strength. It does not mean price must reverse, but it gives a useful warning to slow down and check resistance, volume, and price structure.
Beginner example 4:
The oscillator reaches the lower blue band and then starts printing stronger blue candles or crosses above the signal line. This can suggest that downside pressure is weakening. It is usually safer to wait for price confirmation rather than entering only because the oscillator is in an extreme zone.
Suggested use:
HA Nemesis is best used as a momentum-reading tool. It can help identify when pressure is shifting, when momentum is stretched, and when a cleaner candle-based confirmation appears. It works well alongside support and resistance, trend direction, volume, or a higher-timeframe bias.
Useful settings:
* Use Hybrid mode for the most complete visual read.
* Use Histogram mode when you want a cleaner momentum-only view.
* Keep the weak candle filter enabled if you want fewer low-quality alerts.
* Increase the minimum body or range values to make alerts more selective.
* Use bar coloring only if you want the oscillator state reflected directly on price bars.
Limitations:
This indicator does not predict future price movement. Strong trends can remain extended for a long time, and crosses can fail during choppy markets. Alerts should be treated as momentum events, not as guaranteed buy or sell signals. Always combine the indicator with price action and proper risk management.
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

Indicator

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

Heiken Ashi Break of Structure with Market Structure [by Hampeh]Description
This indicator is designed to identify high-probability trading entries by combining the trend-smoothing capabilities of Heiken Ashi candles with the powerful concept of a Break of Structure (BOS).
To enhance signal quality and reduce false signals, it incorporates a mandatory market structure confirmation filter, requiring a Higher Low (HL) to be established before a buy signal and a Lower High (LH) before a sell signal. The indicator automatically provides dynamic Stop Loss levels and generates real-time alerts to streamline the trading process.
How It Works
The indicator's logic is built upon several key components that work together to filter for high-quality setups.
1. Heiken Ashi Foundation The script uses Heiken Ashi candles as its foundation to reduce market noise and provide a clearer visualization of the underlying trend. This smoothing effect makes it easier to identify sustained directional moves.
2. Break of Structure (BOS) Identification The core entry trigger is a Break of Structure, defined as:
Bullish BOS (Buy Signal): The indicator first identifies a downtrend phase (red Heiken Ashi candles). It marks the opening price of this phase (redOpen). A buy signal is triggered when the trend reverses (turns green) and the Heiken Ashi close price breaks above this redOpen level.
Bearish BOS (Sell Signal): Conversely, it identifies an uptrend phase (green Heiken Ashi candles) and marks its opening price (greenOpen). A sell signal is triggered when the trend reverses (turns red) and the Heiken Ashi close price breaks below this greenOpen level.
3. Market Structure Confirmation (HL/LH Filter) This is the key filter that validates the strength of a potential new trend:
Higher Low (HL) for Buys: A buy signal is only considered valid if the low point of the most recent downtrend phase is higher than the low point of the previous downtrend phase. This confirms a classic "Higher Low" market structure, indicating that buying pressure is increasing.
Lower High (LH) for Sells: A sell signal is only considered valid if the high point of the most recent uptrend phase is lower than the high point of the previous uptrend phase. This confirms a "Lower High" structure, suggesting that selling pressure is building.
4. Dynamic Stop Loss Calculation The indicator provides a logical and dynamic Stop Loss for every signal:
For Buy Signals: The Stop Loss is automatically placed just below the lowest low (lowestLow) recorded during the entire preceding downtrend (red candle) phase.
For Sell Signals: The Stop Loss is placed just above the highest high (highestHigh) recorded during the entire preceding uptrend (green candle) phase.
5. Signal Generation and Visualization
A final BUY signal is generated only when all conditions are met: a bullish BOS occurs and it is preceded by a confirmed Higher Low.
A final SELL signal is generated only when all conditions are met: a bearish BOS occurs and it is preceded by a confirmed Lower High.
When a valid signal is triggered, a label appears on the chart displaying the entry price and the calculated Stop Loss. A corresponding alert is also fired with detailed trade information.
Summary of Strategy
In essence, this indicator waits for a pullback (a Heiken Ashi color change), confirms that the pullback respects bullish or bearish market structure (HL or LH), and then triggers an entry upon a Break of Structure in the intended direction.
Disclaimer : This indicator is a tool for technical analysis and does not guarantee profits. Trading financial markets involves significant risk. Always conduct your own research and practice proper risk management.
Indicator

Indicator
