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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.