Heikin Ashi RSI Fade - Short Strategy by 3Commas
By 3Commas
Performance Metrics
- Author: 3Commas
- Symbol: BINANCE:XRPUSDT
- Timeframe: 1 hour
- Net P&L: +44.29 USDT (+0.44%)
- Win Rate: 59.3%
- Profit Factor: 1.117
- Max Drawdown: 46.78 USDT (0.47%)
- Total Trades: 349
Description
Heikin 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 TradingView 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 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.