[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 TradingView 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 TradingView 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 TradingView 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.
Indikator Pine Script®






















