OPEN-SOURCE SCRIPT
6F Signals + EMA Filter + Label

**6F Signals + EMA Filter + Dynamic Leverage Strategy**
Powerful Heikin Ashi-based reversal strategy with built-in EMA trend filter, precise risk management, and ready-to-use alerts for **Hyperliquid** (and other perpetual futures platforms).
### Core Logic:
- Detects trend reversals using **Heikin Ashi** candles: Buy when HA close breaks above the previous "C High", Sell when it breaks below the "C Low".
- Optional **6/9 EMA Filter** (SMA or EMA) — only allows Longs in bullish trend (green background) and Shorts in bearish trend (red background) to reduce false signals.
- Visual high/low lines mark the key breakout levels from each Heikin Ashi reversal.
### Risk Management (Fully Automated):
- Dynamic **leverage calculation** based on stop-loss distance (shown in labels).
- Configurable **Take-Profit (%)** and **Stop-Loss buffer (%)**.
- Clean SL/TP lines that appear on entry and automatically shorten to the exact exit bar (TP, SL, or reversal) — perfect historical tracking.
### Visual & Signal Features:
- Background coloring for trend bias (green/red).
- Optional arrows, detailed labels with Entry / TP / SL / Leverage.
- Beautiful dotted SL/TP lines that extend during open trades and finalize on close.
### Alerts & Automation:
- One-click **webhook-ready alerts** with clean JSON payload + human-readable text.
- Perfect for automated trading on Hyperliquid, Bybit, Binance Futures, etc.
- JSON includes: symbol, side, entry, TP, SL, leverage, and size (easy to customize).
### Settings Highlights:
- Toggle EMA filter on/off.
- Choose MA type (SMA/EMA) and lengths.
- Adjustable TP%, SL buffer, backtest start date.
- Show/hide labels, arrows, SL/TP lines.
**Best used on:** Cryptocurrency perpetuals, major forex pairs, or volatile indices on any timeframe (especially 5m–1h).
**Important:** This is a high-risk strategy. Always backtest thoroughly, use proper position sizing, and never risk more than you can afford to lose. Past performance does not guarantee future results.
Powerful Heikin Ashi-based reversal strategy with built-in EMA trend filter, precise risk management, and ready-to-use alerts for **Hyperliquid** (and other perpetual futures platforms).
### Core Logic:
- Detects trend reversals using **Heikin Ashi** candles: Buy when HA close breaks above the previous "C High", Sell when it breaks below the "C Low".
- Optional **6/9 EMA Filter** (SMA or EMA) — only allows Longs in bullish trend (green background) and Shorts in bearish trend (red background) to reduce false signals.
- Visual high/low lines mark the key breakout levels from each Heikin Ashi reversal.
### Risk Management (Fully Automated):
- Dynamic **leverage calculation** based on stop-loss distance (shown in labels).
- Configurable **Take-Profit (%)** and **Stop-Loss buffer (%)**.
- Clean SL/TP lines that appear on entry and automatically shorten to the exact exit bar (TP, SL, or reversal) — perfect historical tracking.
### Visual & Signal Features:
- Background coloring for trend bias (green/red).
- Optional arrows, detailed labels with Entry / TP / SL / Leverage.
- Beautiful dotted SL/TP lines that extend during open trades and finalize on close.
### Alerts & Automation:
- One-click **webhook-ready alerts** with clean JSON payload + human-readable text.
- Perfect for automated trading on Hyperliquid, Bybit, Binance Futures, etc.
- JSON includes: symbol, side, entry, TP, SL, leverage, and size (easy to customize).
### Settings Highlights:
- Toggle EMA filter on/off.
- Choose MA type (SMA/EMA) and lengths.
- Adjustable TP%, SL buffer, backtest start date.
- Show/hide labels, arrows, SL/TP lines.
**Best used on:** Cryptocurrency perpetuals, major forex pairs, or volatile indices on any timeframe (especially 5m–1h).
**Important:** This is a high-risk strategy. Always backtest thoroughly, use proper position sizing, and never risk more than you can afford to lose. Past performance does not guarantee future results.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.