OPEN-SOURCE SCRIPT

15-Min Candlestick Strategy

242
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.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.