OPEN-SOURCE SCRIPT

15-Min Candlestick Strategy

269
This strategy combines the MACD (Moving Average Convergence Divergence) indicator with the 200 EMA (Exponential Moving Average) to identify trend-confirmed entry signals on the 15-minute timeframe.

📊 Logic:
The 200 EMA acts as a trend filter:

Only long trades are taken when price is above the EMA

Only short trades are taken when price is below the EMA

MACD crossovers provide the trade signals:

Bullish crossover (MACD crosses above Signal) = Long entry (if above 200 EMA)

Bearish crossover (MACD crosses below Signal) = Short entry (if below 200 EMA)

Trades are exited when the MACD crosses in the opposite direction or price closes on the wrong side of the 200 EMA.

✅ Features:
Simple trend-following logic with momentum confirmation

Works on any asset (Forex, Crypto, Stocks) and optimized for 15m charts

Backtestable and compatible with PineConnector for live algo trading

Ideal for traders seeking a clean and effective MACD-based strategy that avoids counter-trend setups.

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.