Ashi Blade
- Indicatori
- Versione: 1.0
- Attivazioni: 15
Raw candles are noisy and trend turns are easy to miss. This indicator smooths price into clear Heikin Ashi candles and marks each confirmed color change with a trade plan.
Bonus for buyers
Buyer kit: after purchase, send me a private message on MQL5 and I will send you the PDF trading guide plus 4 ready-made settings files (.set) for different markets and timeframes.
How it works
Open, high, low and close are smoothed with an EMA. Heikin Ashi candles are built from these prices, then their open and close are smoothed again with a short EMA. A candle is bullish when its smoothed close is above its smoothed open, and bearish when below.
A signal forms when the color flips on a closed bar. Bearish to bullish is a buy, bullish to bearish is a sell. With the ADX filter on, ADX on the flip bar must reach the set minimum, so flips in flat markets are skipped.
Entry is the close of the signal bar. The stop sits beyond the lowest low or highest high of the last 5 bars, plus a small ATR buffer. Take profit 1, 2 and 3 are 1, 2 and 3 times that risk.
Key features
- Double smoothed Heikin Ashi candles over the chart, which you can hide
- Buy and sell arrows on closed bars only
- Optional ADX filter with adjustable period and minimum
- Entry, stop loss and three take profit levels with zones and price labels
- Marks when a target or the stop is reached
- Dashboard with trend, bars in trend, ADX, last signal, stop, targets and status
- Buffer based arrows, with a Signal buffer (1 buy, -1 sell) for Expert Advisors
How to trade it
Buy example: after a bearish run, a closed candle turns bullish with ADX above 20 and a buy arrow appears below the bar. Enter near the close, place the stop at the drawn stop line and consider taking part of the position at take profit 1.
Sell example: after a bullish run, a closed candle turns bearish with ADX above the minimum and a sell arrow appears above the bar. Enter near the close, keep the stop above the recent highs and follow the targets on the dashboard.
Check it yourself in two minutes
Open the Strategy Tester, choose the indicator, pick a symbol such as EURUSD H1 and turn on visual mode. Start the test and watch arrows appear as bars close. Pause and compare older arrows with what you saw form. Signals are fixed when the bar closes and are never redrawn. The forming bar never gets an arrow.
Recommended use
It works on any symbol and timeframe, and suits forex majors and gold on M15 to H4. It is for trend traders who want a rule based entry with a set stop and targets. Lower timeframes give more signals and more noise.
Alerts
Popup, sound, push and email alerts fire once for each new signal on a closed bar.
Inputs
Signal
InpPreSmooth: EMA of open, high, low and close (6). InpPostSmooth: EMA of Heikin Ashi open and close (3). InpUseAdx: use the ADX filter (true). InpAdxPeriod: ADX period (14). InpAdxMin: ADX minimum on the flip bar (20). InpAtrPeriod: ATR period for stop buffer and arrows (14).
Trade levels
InpShowLevels: show entry, stop and targets (true). InpShowZones: shade risk and reward zones (true). InpShowMarks: mark target and stop hits (true). InpPastLevels: keep full levels on past signals (false). InpStopBars: bars for the swing high or low (5). InpStopAtr: ATR buffer beyond the swing (0.2). InpTp1Ratio, InpTp2Ratio, InpTp3Ratio: targets in multiples of risk (1, 2, 3). InpLevelBars: line length in bars (12). InpMaxSignals: signals with levels kept (25).
Candles
InpDrawCandles: draw the smoothed candles (true). InpCandleBull, InpCandleBear: bullish and bearish candle colors.
Dashboard
InpShowPanel: show the dashboard (true). InpPanelCorner: dashboard corner (left upper). InpPanelX, InpPanelY: offsets in pixels (14, 28).
Alerts
InpAlertPopup: popup alert (true). InpAlertSound, InpAlertPush, InpAlertEmail: sound, push and email (false). InpAlertFile: sound file (alert.wav).
Style
InpBuyColor, InpSellColor: buy and sell colors. InpArrowSize: arrow size 1 to 5 (3).
Support and versions
Ask questions in the Comments tab or send me a private message on MQL5. The tool is available for MetaTrader 4 and MetaTrader 5 as separate products.
Risk note
Trading carries risk. This indicator is an analysis aid, not a promise of results, so test it on a demo account first.
