$npx -y skills add kecoma1/MQL5-SKILLS --skill expert-advisorsUse when creating or editing MQL5 expert advisors in this workspace. Follow the local conventions for EA structure, includes, classes, chart objects, and parameter declarations.
| 1 | # Expert Advisors |
| 2 | |
| 3 | Use this skill when working on `.mq5` expert advisors or related `.mqh` files for this repository. |
| 4 | |
| 5 | ## Inputs |
| 6 | |
| 7 | Always declare EA inputs using this pattern: |
| 8 | |
| 9 | 1. Group related parameters with `input group`. |
| 10 | 2. Add an inline comment to every `input`. |
| 11 | 3. Keep comments short and practical. |
| 12 | 4. Use clear section names made of separators plus a title, for example: |
| 13 | |
| 14 | ```mq5 |
| 15 | input group ".......... Data" |
| 16 | input int InpCandlesToLoad = 1000; // Number of candles to load |
| 17 | |
| 18 | input group ".......... Drawing" |
| 19 | input int InpPaintDurationMinutes = 120; // Line duration in minutes |
| 20 | input color InpFVGColor = clrDodgerBlue; // FVG color |
| 21 | ``` |
| 22 | |
| 23 | Do not leave `input` declarations without group or comment unless the user explicitly asks for a different style. |