CNPS01 MACD β Strategy by Khanhtq26
By Khanhtq26
Performance Metrics
- Author: Khanhtq26
- Symbol: HNX:VN301!
- Timeframe: 5 minutes
- Net P&L: +33,205,000.00 VND (+33.08%)
- Win Rate: 44.3%
- Profit Factor: 1.211
- Max Drawdown: 28,755,000.00 VND (20.07%)
- Total Trades: 287
Description
CNPS_01 β MACD Cross Signal is a trend-following strategy designed for VN30F1M (Vietnamese Stock Index Futures), built with Pine Script v5.π Indicators used: MACD (12, 26, 9) β crossover/crossunder of MACD line vs Signal lineπ Entry Rules:- Long: MACD line crosses above Signal line- Short: MACD line crosses below Signal line- Signal confirmed at candle close β entry executes at next candle openπͺ Exit Rules:- Stop Loss: 10 points from entry- Take Profit: 30 points from entry (optional, can be disabled)- Natural Exit: position closes automatically when opposite signal fires (MACD crosses back)- Reverse: if opposite signal is valid, a new position opens immediately after closing- End of Session: all positions closed when session endsβ° Time Filter:Built-in session filter to avoid ATO (9:00) and ATC (~14:30) periods.Default: 9:15 β 14:30. Configurable start/end time via inputs.π§ Trend Filter (optional):SMA(200) slope filter β Long only when SMA trending up (Bull), Short only when SMA trending down (Bear). Can be disabled for both-direction trading.π Trade Direction:Configurable: Long only / Short only / Both directions.π Note: MACD is not plotted on the price chart (overlay mode). Please add the built-in TradingView "MACD" indicator separately with the same parameters β Fast: 12, Slow: 26, Signal: 9, Source: Close β to visualize entry signals.π Recommended for: VN30F1M intraday tradersπ Community: zalo.me/g/jvaykb078