//+------------------------------------------------------------------+
//| Trend + Pullback EA (Educational Version) |
//| Uses Engulfing confirmations and H4 structure logic. |
//| Author: ChatGPT |
//+------------------------------------------------------------------+
#property copyright "ChatGPT"
#property version "1.00"
#property strict
//--- Inputs
input double Lots = 0.1;
input double RiskReward = 2.0; // 1:2 ratio
input int StopBufferPips = 5; // Small buffer around swing
input int MagicNumber = 67890;
input string TrendTimeframe = "H4";
input int TrendMAPeriod = 200;
//--- Global handles
int handleMA;
Updated 2026-01-23 12:29:36 +00:00
//+------------------------------------------------------------------+
//| Trend + Pullback EA (Educational Version) |
//| Uses Engulfing confirmations and H4 structure logic. |
//| Author: ChatGPT |
//+------------------------------------------------------------------+
#property copyright "ChatGPT"
#property version "1.00"
#property strict
//--- Inputs
input double Lots = 0.1;
input double RiskReward = 2.0; // 1:2 ratio
input int StopBufferPips = 5; // Small buffer around swing
input int MagicNumber = 67890;
input string TrendTimeframe = "H4";
input int TrendMAPeriod = 200;
//--- Global handles
int handleMA;
Updated 2026-01-23 12:29:25 +00:00
//+------------------------------------------------------------------+
//| Trend + Pullback EA (Educational Version) |
//| Uses Engulfing confirmations and H4 structure logic. |
//| Author: ChatGPT |
//+------------------------------------------------------------------+
#property copyright "ChatGPT"
#property version "1.00"
#property strict
//--- Inputs
input double Lots = 0.1;
input double RiskReward = 2.0; // 1:2 ratio
input int StopBufferPips = 5; // Small buffer around swing
input int MagicNumber = 67890;
input string TrendTimeframe = "H4";
input int TrendMAPeriod = 200;
//--- Global handles
int handleMA;
Updated 2026-01-23 12:29:14 +00:00