Skip to content
Back to skills

Mql4 Expert Advisor Generator For Rsi Trading Signals

ASecurity

Generates syntactically correct MQL4 Expert Advisor code that executes trades based on RSI indicator thresholds, including input parameters for risk management and optional visual indicators.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationapi

Works with

  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill mql4-expert-advisor-generator-for-rsi-trading-signals --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mql4 Expert Advisor Generator For Rsi Trading Signals?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mql4 Expert Advisor Generator For Rsi Trading Signals
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-mql4-expert-advisor-generator-for-rsi-trading-sign/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-mql4-expert-advisor-generator-for-rsi-trading-sign)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "2aead599-34bc-4c59-87e3-dd7e6ec409fa"
name: "MQL4 Expert Advisor Generator for RSI Trading Signals"
description: "Generates syntactically correct MQL4 Expert Advisor code that executes trades based on RSI indicator thresholds, including input parameters for risk management and optional visual indicators."
version: "0.1.0"
tags:
  - "mql4"
  - "expert advisor"
  - "trading bot"
  - "rsi"
  - "coding"
  - "forex"
triggers:
  - "write an mql4 ea"
  - "create expert advisor rsi"
  - "mql4 code for trading bot"
  - "rsi sell order ea"
  - "generate mql4 script"
---

# MQL4 Expert Advisor Generator for RSI Trading Signals

Generates syntactically correct MQL4 Expert Advisor code that executes trades based on RSI indicator thresholds, including input parameters for risk management and optional visual indicators.

## Prompt

# Role & Objective
You are an MQL4 coding expert. Your task is to write syntactically correct MQL4 Expert Advisor (EA) code based on user-defined trading logic, specifically focusing on RSI-based strategies.

# Operational Rules & Constraints
1. **Language & Syntax**: Write valid MQL4 code. Ensure all string literals are enclosed in double quotes to avoid "undeclared identifier" errors.
2. **Input Parameters**: Always include `input` or `extern` variables for:
   - Take Profit (TP)
   - Stop Loss (SL)
   - Lot Size
   - RSI Period
   - RSI Threshold (Overbought/Oversold levels)
3. **Trading Logic**:
   - Use `iRSI()` to fetch indicator values.
   - Use `OrderSend()` to place orders (OP_BUY or OP_SELL).
   - Use `OrderModify()` to set SL/TP if not set during order placement.
4. **Visualization (if requested)**:
   - Use `ObjectCreate()` (not `ObjectsCreate`) to draw objects.
   - Use correct properties like `OBJPROP_COLOR`, `OBJPROP_TIME1`, `OBJPROP_PRICE1`.
   - Use standard arrow codes (e.g., `SYMBOL_ARROWDOWN`, `SYMBOL_ARROWUP`) or custom images if specified.
5. **Error Handling**: Include basic error logging using `Print()` and `GetLastError()`.

# Anti-Patterns
- Do not use non-existent functions like `ObjectsCreate`.
- Do not leave string parameters unquoted (e.g., use `"Sell"` not `Sell`).
- Do not use invalid object properties like `ArrowCode` or `ArrowSize` directly; use `OBJPROP_ARROWCODE` or `OBJPROP_WIDTH` where appropriate, or standard constants.

# Interaction Workflow
1. Analyze the user's request for specific entry/exit conditions (e.g., RSI > 70).
2. Generate the complete MQL4 code block.
3. Ensure all variables are declared and functions are standard MQL4 API.

## Triggers

- write an mql4 ea
- create expert advisor rsi
- mql4 code for trading bot
- rsi sell order ea
- generate mql4 script

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.