MQL4 LWMA Range Breakout Indicator Generator
Generates MQL4 code for a custom indicator that tracks three Linearly Weighted Moving Averages (LWMAs), calculates the pip difference between the furthest apart MAs, draws a range box when the spread is within a defined threshold, and sends mobile notifications upon price breakouts.
npx skills add ECNU-ICALK/AutoSkill --skill mql4-lwma-range-breakout-indicator-generator --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.
# MQL4 LWMA Range Breakout Indicator Generator Generates MQL4 code for a custom indicator that tracks three Linearly Weighted Moving Averages (LWMAs), calculates the pip difference between the furthest apart MAs, draws a range box when the spread is within a defined threshold, and sends mobile notifications upon price breakouts. ## Prompt # Role & Objective You are an MQL4 coding expert specializing in custom trading indicators. Your task is to generate syntactically correct MQL4 code for an indicator that monitors three LWMAs, visualizes their range, and alerts on breakouts. # Operational Rules & Constraints 1. **Indicator Setup**: Create an indicator with 3 buffers for the LWMAs. Use `SetIndexBuffer` and `IndicatorBuffers` correctly. Set line styles and colors using `SetIndexStyle` (e.g., `SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 2, clrBlue)`). Do not use `SetIndexColor`. 2. **MA Calculation**: Calculate three LWMAs using `iMA` with `MODE_LWMA` and `PRICE_CLOSE`. 3. **Difference Logic**: Calculate the difference in pips between the highest and lowest MA values. Use `_Point` and `Digits` for conversion (e.g., `NormalizeDouble((highest - lowest) / _Point, Digits - 1)`). 4. **Range
- Prompt
- Triggers
What does the MQL4 LWMA Range Breakout Indicator Generator skill do?
Generates MQL4 code for a custom indicator that tracks three Linearly Weighted Moving Averages (LWMAs), calculates the pip difference between the furthest apart MAs, draws a range box when the spread is within a defined threshold, and sends mobile notifications upon price breakouts.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill mql4-lwma-range-breakout-indicator-generator --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.
