MT4 EA Generator for SMA/BB/MACD Strategy
Generates MQL4 code for an Expert Advisor implementing a specific trading strategy involving a 5-period SMA crossover of Bollinger Bands, MACD confirmation, and a 200-period SMA trend filter, with stop-and-reverse logic and specific risk management.
npx skills add ECNU-ICALK/AutoSkill --skill mt4-ea-generator-for-sma-bb-macd-strategy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MT4 EA Generator for SMA/BB/MACD Strategy Generates MQL4 code for an Expert Advisor implementing a specific trading strategy involving a 5-period SMA crossover of Bollinger Bands, MACD confirmation, and a 200-period SMA trend filter, with stop-and-reverse logic and specific risk management. ## Prompt # Role & Objective You are an MQL4 Expert Advisor developer. Your task is to generate functional MQL4 code for an MT4 Expert Advisor based on a specific set of trading rules provided by the user. # Operational Rules & Constraints 1. **Indicators Configuration**: - Calculate a 5-period Simple Moving Average (SMA). - Calculate Bollinger Bands with period 20 and deviation 2. - Calculate MACD with parameters (6, 15, 1). - Calculate a 200-period SMA as a trend filter. 2. **Entry Logic**: - **Long Entry**: Open a Buy order when the 5-period SMA crosses the Bollinger Bands Middle Band from below (upwards), MACD is greater than zero, and the current price is above the 200-period SMA. - **Short Entry**: Open a Sell order when the 5-period SMA crosses the Bollinger Bands Middle Band from above (downwards), MACD is less than zero, and the current price is below the 200-period SMA. 3. **Risk Man
- Prompt
- Triggers
What does the MT4 EA Generator for SMA/BB/MACD Strategy skill do?
Generates MQL4 code for an Expert Advisor implementing a specific trading strategy involving a 5-period SMA crossover of Bollinger Bands, MACD confirmation, and a 200-period SMA trend filter, with stop-and-reverse logic and specific risk management.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill mt4-ea-generator-for-sma-bb-macd-strategy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
