PROTECTED SOURCE SCRIPT
Updated Heikin-Ashi Trend Scalp

Heikin-Ashi Trend Scalp is an indicator for TradingView, designed to identify short-term trends and entry points based on Heikin-Ashi candles and EMA crossovers.
Key Features:
The indicator is ideal for scalping and short-term trading, especially when used in conjunction with other technical analysis tools.
Key Features:
- Attention Signals: Early warning of potential entry points.
- Buy/Sell Signals: Filtered signals based on the prevailing trend.
- Filters (Slow Mode, Shadow Filter): Help reduce the number of false signals.
Shadow Filter: Eliminates false signals caused by shadows against the trend.
The warning bar should not have any shadow against the trend.
If the bar with the buy/sell signal has a shadow that crosses the opening level of the warning bar, the signal disappears.
Since the signal may disappear as the candle forms, entries should only be made after the signal has been confirmed.
It is not recommended to disable the Shadow Filter, as doing so may lead to an increase in false signals.Slow Mode: Reduces false signals by using longer-term EMA crossovers. For timeframes of 1–5 minutes, it is recommended to use Slow Mode to reduce false signals. - EMA Lines (7, 21, 50): Displayed for trend determination. Depending on the selected mode: in standard mode, EMA 21 (fast) is shown, in Slow Mode, the longer-term EMA 50 (slow) is displayed.
- Stop-Loss Price: Automatically set at the opening level of the candle two bars ago and displayed on the chart.
- RSI: Displays the current value of the RSI indicator and visualizes it with color:
Red — for overbought conditions (above 70).
Green — for oversold conditions (below 30).
Yellow — for values in the neutral zone (between 30 and 70). - Alerts: Notifications for new signals in real-time.
The indicator is ideal for scalping and short-term trading, especially when used in conjunction with other technical analysis tools.
Release Notes
- Added a take profit price line with a risk-reward ratio.
- Added stop loss/take profit percentage on a labels.
- Some visual changes have been made so that the chart is not overloaded with old signals.
Release Notes
- Added two new operation modes with Parabolic SAR, including entry price and stop loss/take profit for both.
- Added new entry price line and label. Stop loss and take profit have been slightly updated.
Release Notes
- The alert signal has been updated, now include a buy or sell signal, price, timeframe and operation mode. It is easy and quick to set it up, give it a try!
Release Notes
- Some visual changes have been made to the conditions for lines and labels when a stop loss or take profit is triggered.
Release Notes
Minor changes to the display of the Parabolic SAR.Release Notes
- Historical signals are disabled by default. Recent signals for the last 100 bars have now been displayed. If you want to enable historical signals, you can do so in the settings.
Release Notes
- Set the position size and risk size in the settings and get automatic calculation of leverage with your risk!
- If the position size is 0 but the risk size is greater than 0, the position size will be calculated without leverage for spot trading.
- If the stop-loss is above your risk, you will receive a message: STOP LOSS > RISK SIZE.
- If the risk size equals 0, all calculations will be disabled.
- Control your risks in every trade.
Release Notes
- Now, Buy/Sell signals in SAR 1 and SAR 2 modes are checked for compliance with the Heikin-Ashi trend. If the SAR trend changes but the Heikin-Ashi trend is opposite, the signals will not be displayed.
- The Shadow Filter is now used by default in ALL four modes of the indicator, including SAR 1 and SAR 2.
Release Notes
- Dual Mode: dual confirmation mode. The attention signal appears ONLY when both conditions are met: the cross of EMA 7/21 (Default) and the beginning of a new trend in Parabolic SAR (SAR 1). Buy/Sell signals appear on the next bar provided that the Parabolic SAR (SAR2) and the Heikin-Ashi trend continues.
Release Notes
- A small edit of the tooltip :)
Release Notes
- Minor bug fixes
Release Notes
- Heikin-Ashi Mode: SECOND bar of the new Heikin-Ashi trend closed higher high or lower low than the previous one.
Release Notes
- Minor bug fixes
Release Notes
- Now, moving averages are calculated of standard bars, regardless of the chart type used
Release Notes
- Added 1:2 and 1:4 Risk-Reward ratios
Release Notes
- Minor bug fixes
Release Notes
- Added new Trend Filter: BUY signals are shown only when the price > 200 EMA, and SELL signals are shown only when the price < 200 EMA.
Release Notes
- Added VWAP line with up to three standard deviations for visual filtering of signals relative to the average intraday price.
- Use the VWAP to identify better entry points during the trading session.
- You can choose which standard deviation bands (1, 2, or 3) to display, and optionally enable monochrome mode.
- The VWAP is shown only on the 15-minute timeframe and below, and is intended for intraday trading.
Release Notes
- Liquidity Levels: Added display of Liquidity Levels (highs/lows) and liquidity sweeps near the current price
- IFVG: Added display of Inversion Fair Value Gap pair (bullish/bearish) near the current price
Release Notes
- Minor bug fixes
Release Notes
- Minor bug fixes
Release Notes
- Some visual changes
Release Notes
- A few more visual changes for a better experience
Release Notes
- Added toggle visibility of Trade Lines: Entry Price, Stop-Loss and Take Profit lines
Release Notes
- Added new VWAP Filter: BUY signals are shown only when the price > VWAP line, and SELL signals are shown only when the price < VWAP line.
- The VWAP filter works only on the 15-minute timeframe and below, and is intended for intraday trading.
Release Notes
- Minor changes to the display of the VWAP.
Release Notes
- Stop-loss is now based on the last pivot point, except in SAR modes 1 & 2.
- Pivot length = 3: number of bars before and after used to confirm a swing high or low
Release Notes
- Added daily ATR over the last 7 bars, smoothed with RMA, for visual filtering of signals. Ignore signals if your Take Profit lies outside the daily range.
- Added a new ATR filter: BUY signals are shown only when the price < +75% daily ATR, and SELL signals are shown only when the price > −75% daily ATR.
- The ATR filter works only on the 15-minute timeframe and below, and is intended for intraday trading.
Release Notes
- The ATR filter was removed due to incorrect behavior. Use ATR lines for visual filtering of signals.
- Minor bug fixes
Release Notes
- The Trend Filter has been changed. Previously, signals were only displayed if the EMA7 was below or above the EMA200. Now, the filter shows signals when the CLOSE PRICE is below or above EMA200. CLOSE < EMA200 = BEARISH, CLOSE > EMA200 = BULLISH.
Release Notes
- A new operating mode has been added: Dual 2, combining the conditions of Default and Heikin-Ashi modes. Enjoy!
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.