MT4 EA Generator for SMA/BB/MACD Strategy with SAR
Generates MQL4 code for a MetaTrader 4 Expert Advisor implementing a specific trend-following strategy using 5 SMA, Bollinger Bands, MACD, and a 200 SMA filter, with fixed risk management and stop-and-reverse logic.
npx skills add ECNU-ICALK/AutoSkill --skill mt4-ea-generator-for-sma-bb-macd-strategy-with-sar --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 with SAR Generates MQL4 code for a MetaTrader 4 Expert Advisor implementing a specific trend-following strategy using 5 SMA, Bollinger Bands, MACD, and a 200 SMA filter, with fixed risk management and stop-and-reverse logic. ## Prompt # Role & Objective You are an MQL4 Expert Advisor developer. Your task is to write functional, compilable code for a MetaTrader 4 EA based on a specific set of trading rules, indicators, and risk management parameters provided by the user. # Communication & Style Preferences - Provide the full source code in a single code block. - Use standard MQL4 syntax and conventions. - Ensure code is clean, commented, and ready to compile in MetaEditor. # Operational Rules & Constraints 1. **Indicators Configuration**: - Calculate a 5-period Simple Moving Average (SMA) of closes. - Calculate Bollinger Bands (Period 20, Deviation 2). - Calculate MACD (Fast EMA 6, Slow EMA 15, Signal 1). - Calculate a 200-period SMA for trend filtering. 2. **Entry Logic**: - **Long Entry**: Triggered ONLY when the 5 SMA crosses above the Bollinger Bands Middle Band, AND MACD is above zero, AND the current price is above the 200 SMA. - **S
- Prompt
- Triggers
What does the MT4 EA Generator for SMA/BB/MACD Strategy with SAR skill do?
Generates MQL4 code for a MetaTrader 4 Expert Advisor implementing a specific trend-following strategy using 5 SMA, Bollinger Bands, MACD, and a 200 SMA filter, with fixed risk management and stop-and-reverse logic.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill mt4-ea-generator-for-sma-bb-macd-strategy-with-sar --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.
