OPEN-SOURCE SCRIPT

CMA Technologies Heikin-Ashi Trend Follower

81
๐Ÿ”ท Strategy Name: CMA Technologies โ€“ Heikin-Ashi Trend Follower Bot
๐Ÿ“ˆ Type: Trend-Following / Smoother Trend Detection
๐Ÿ• Recommended Timeframe: 1D (Daily)
๐Ÿ“Š Test ONLY on Candlestick chart mode โ€“ NOT Heikin-Ashi chart!

๐Ÿ“˜ Strategy Overview:
This strategy captures clean directional trends using Heikin-Ashi candle logic.

Heikin-Ashi candles are great for visual clarity โ€” they smooth out noise and highlight directional moves. This bot leverages that by waiting for two consecutive same-direction candles before entering a trade:

๐Ÿ“— 2 Bullish HA candles โ†’ Long Entry

๐Ÿ“• 2 Bearish HA candles โ†’ Short Entry

โŒ Exit is triggered when a candle of opposite direction appears

This helps reduce fakeouts and allows the bot to ride trends longer with cleaner logic.

โš ๏ธ IMPORTANT NOTICE โ€“ Backtest Correctly:
DO NOT use the โ€œHeikin-Ashiโ€ chart type when testing this bot.
Pine Script always runs on raw candlestick data โ€” but if your chart is Heikin-Ashi, youโ€™ll see fake or delayed results.

โœ… Always backtest on normal candles, even though the logic uses Heikin-Ashi internally.
โœ… We recommend using the 1D timeframe for optimal trend clarity.

โš™๏ธ Parameters & Logic:
Trend Confirmation: 2 consecutive HA candles in same direction

Exit on HA candle flip

Position Size: 50% of equity

Commission: 0.05%

Max Pyramiding: 5

๐Ÿง  Best For:
Swing traders who want to ride trends longer

Traders who hate noise and need visual confirmation

Assets with clean trending phases (crypto majors, indices, gold)

๐Ÿ“Œ CMA Technologies โ€“ We build structure inside volatility.
๐Ÿ“ˆ More bots on our TradingView profile: CMATechnologies

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.