DNSE VN301!, MACD Cross Strategy by DNSE
Performance Metrics
- Symbol: HNX:VN301!
- Timeframe: 5 minutes
- Win Rate: 42.7%
- Profit Factor: 1.08
Description
CNPS 01 MACD là chiến lược giao dịch theo tín hiệu giao cắt MACD, được thiết kế cho giao dịch trong ngày trên VN30!. Chiến lược sử dụng MACD(12,26,9) để xác định sự thay đổi động lượng ngắn hạn, kết hợp với bộ lọc xu hướng SMA(200) để ưu tiên giao dịch thuận theo xu hướng chính.Script có đầy đủ cắt lỗ, chốt lời tùy chọn, lựa chọn chiều giao dịch, bộ lọc giờ và tự động đóng toàn bộ vị thế trước 14:30 nhằm tránh giữ lệnh qua đêm.Cài đặt & cấu hình chiến lược:Biểu đồ: khuyến nghị khung 5 phútKhối lượng giao dịch: 3 hợp đồngChu kỳ nhanh MACD: 12Chu kỳ chậm MACD: 26Chu kỳ tín hiệu MACD: 9Chu kỳ SMA: 200Cắt lỗ: 10 điểmChốt lời: 30 điểmBộ lọc xu hướng SMA: Bật / TắtDùng chốt lời: Bật / TắtBộ lọc giờ: Bật / TắtKhung giờ giao dịch: 09:00 – 14:30Chiều giao dịch: Mua / Bán / Cả haiCài đặt mặc định của script:Chiến lược sử dụng MACD(12,26,9), trong đó đường MACD được tính từ chênh lệch giữa EMA(12) và EMA(26). Đường Signal là EMA(9) của chính đường MACD.Khi MACD cắt lên đường Signal, động lượng tăng có thể đang chiếm ưu thế. Khi MACD cắt xuống đường Signal, động lượng giảm có thể đang chiếm ưu thế.Khi bật bộ lọc xu hướng SMA(200), script chỉ cho phép lệnh Mua khi SMA(200) dốc lên và chỉ cho phép lệnh Bán khi SMA(200) dốc xuống. Khi tắt bộ lọc SMA, chiến lược có thể giao dịch cả hai chiều chỉ dựa trên tín hiệu giao cắt MACD.Người dùng có thể thêm chỉ báo MACD có sẵn trên TradingView với tham số 12, 26, 9 và nguồn close để quan sát tín hiệu trực quan bên dưới biểu đồ giá.Điều kiện vào và thoát lệnh:Vào lệnh Mua:MACD(12,26,9) cắt lên đường SignalVÀ SMA(200) dốc lên, nếu bật bộ lọc SMAVÀ tín hiệu xuất hiện trong khung giờ giao dịchVÀ chiều giao dịch cho phép lệnh MuaThoát lệnh Mua:Cắt lỗ: 10 điểm từ giá vào lệnhChốt lời: 30 điểm từ giá vào lệnh, nếu bậtMACD cắt xuống đường SignalĐảo chiều khi xuất hiện tín hiệu Bán hợp lệTự động đóng lệnh khi hết khung giờ giao dịchVào lệnh Bán:MACD(12,26,9) cắt xuống đường SignalVÀ SMA(200) dốc xuống, nếu bật bộ lọc SMAVÀ tín hiệu xuất hiện trong khung giờ giao dịchVÀ chiều giao dịch cho phép lệnh BánThoát lệnh Bán:Cắt lỗ: 10 điểm từ giá vào lệnhChốt lời: 30 điểm từ giá vào lệnh, nếu bậtMACD cắt lên đường SignalĐảo chiều khi xuất hiện tín hiệu Mua hợp lệTự động đóng lệnh khi hết khung giờ giao dịchTuyên bố rủi ro:Giao dịch hợp đồng tương lai có mức độ rủi ro cao và giá có thể biến động mạnh. Script này chỉ phục vụ mục đích tham khảo, nghiên cứu và kiểm thử. Người dùng cần hiểu rõ giao dịch phái sinh, khẩu vị rủi ro cá nhân và logic của chiến lược trước khi áp dụng vào giao dịch thực tế.Mọi quyết định đầu tư thuộc trách nhiệm của người dùng. phaisinh.online không chịu trách nhiệm cho bất kỳ khoản lỗ nào phát sinh từ việc sử dụng chiến lược này trong giao dịch thực tế. Hiệu quả trong quá khứ không đảm bảo kết quả trong tương lai.____________________________________________________________________CNPS 01 MACD is a trading strategy based on MACD crossover signals, designed for intraday trading on VN30!. The strategy uses MACD(12,26,9) to identify short-term momentum shifts, combined with an SMA(200) trend filter to prioritize trades in the direction of the main trend.The script includes stop loss, optional take profit, trade direction selection, time filter, and automatic position closing before 14:30 to avoid holding positions overnight.Strategy settings and configuration:Chart timeframe: recommended 5-minutes chartPosition size: 2 contractsMACD fast length: 12MACD slow length: 26MACD signal length: 9SMA length: 200Stop loss: 10 pointsTake profit: 30 pointsSMA trend filter: On / OffTake profit: On / OffTime filter: On / OffTrading session: 09:00 – 14:30Trade direction: Long / Short / BothDefault script settings:The strategy uses MACD(12,26,9). The MACD line is calculated from the difference between EMA(12) and EMA(26). The Signal line is the EMA(9) of the MACD line.When MACD crosses above the Signal line, bullish momentum may be taking control. When MACD crosses below the Signal line, bearish momentum may be taking control.When the SMA(200) trend filter is enabled, the script only allows Long trades when SMA(200) is rising and only allows Short trades when SMA(200) is falling. When the SMA filter is disabled, the strategy can trade both directions based only on MACD crossover signals.Users can add the built-in MACD indicator on TradingView with settings 12, 26, 9 and source close to visually monitor the signal below the price chart.Entry and exit rules:Long entry:MACD(12,26,9) crosses above the Signal lineAND SMA(200) is rising, if the SMA filter is enabledAND the signal appears during the trading sessionAND trade direction allows Long entriesLong exit:Stop loss: 10 points from entry priceTake profit: 30 points from entry price, if enabledMACD crosses below the Signal lineReversal when a valid Short signal appearsAutomatic position close at the end of the trading sessionShort entry:MACD(12,26,9) crosses below the Signal lineAND SMA(200) is falling, if the SMA filter is enabledAND the signal appears during the trading sessionAND trade direction allows Short entriesShort exit:Stop loss: 10 points from entry priceTake profit: 30 points from entry price, if enabledMACD crosses above the Signal lineReversal when a valid Long signal appearsAutomatic position close at the end of the trading sessionRisk disclaimer:Futures trading involves a high level of risk and prices can move sharply. This script is provided for reference, research, and backtesting purposes only. Users should fully understand derivatives trading, their own risk tolerance, and the strategy logic before applying it to live trading.All investment decisions are the responsibility of the user. phaisinh.online is not responsible for any losses arising from the use of this strategy in real trading. Past performance does not guarantee future results.