거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

RSI Expert Advisor - Automated Trading Tool Based on RSI - MetaTrader 5용 라이브러리

조회수:
569
평가:
(1)
게시됨:
2025.05.12 08:11
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Introduction

The RSI Expert Advisor is an automated trading solution designed to assist traders in capitalizing on market opportunities using the RSI indicator. With flexible customization options, this EA is suitable for various currency pairs and financial instruments on MT5. Written in MQL5, the EA combines robust risk management and intelligent trading strategies to deliver an efficient trading experience.

Key Features

  • RSI-Based Trading Signals: The EA uses the RSI indicator to detect overbought and oversold levels, generating buy or sell signals when RSI crosses these thresholds.

  • Risk Management: Supports fixed or automatic position sizing based on risk percentage, along with flexible stop-loss and take-profit options (fixed or ATR-based).

  • Trading Hour Restrictions: Allows traders to set specific trading hours, ensuring the EA operates only during desired timeframes.

  • Partial Position Closing: Enables partial closing of positions when prices move favorably, securing profits based on ATR.

  • ATR Support: Utilizes the Average True Range (ATR) indicator to calculate dynamic stop-loss and take-profit levels, adapting to market volatility.

  • MT5 Compatibility: Written in MQL5, the EA runs seamlessly on the MetaTrader 5 platform.

How to Use

  1. Installation:

    • Download the EA file and copy it to the "Experts" folder in your MT5 installation directory.

    • Launch MT5 and drag the EA onto the desired trading chart.

  2. Parameter Configuration:

    • Open the EA settings window and adjust the parameters:

      • RSI: RSI period (RSIPeriod), overbought level (RSIOverbought), oversold level (RSIOversold).

      • Risk Management: Select position sizing mode (RiskDefaultSize), maximum risk percentage (MaxRiskPerTrade), stop-loss, and take-profit settings.

      • ATR: ATR period (ATRPeriod), multiplier for stop-loss (ATRMultiplierSL), and take-profit (ATRMultiplierTP).

      • Trading Hours: Enable/disable trading hour restrictions (UseTradingHours) and set start/end hours.

      • Partial Closing: Enable/disable partial closing (UsePartialClose) and set the closing percentage (PartialClosePerc).

  3. Activation:

    • Enable the "AutoTrading" mode in MT5 and click OK to start the EA.

Technical Details

  • Programming Language: MQL5

  • Platform: MetaTrader 5

  • Indicators Used: RSI (Relative Strength Index), ATR (Average True Range)

  • Risk Management Options:

    • Position Sizing: Fixed or automatic based on account metrics (Equity, Balance, Free Margin).

    • Stop-Loss: Fixed (in points) or dynamic (ATR-based).

    • Take-Profit: Fixed (in points) or dynamic (ATR-based).

  • Additional Features:

    • Partial position closing based on ATR.

    • Trading hour restrictions.

    • Maximum spread check (MaxSpread) to avoid trading in unfavorable conditions.

  • Customizable Parameters: Supports Magic Number, Slippage, and order comments.

Required Files

To ensure proper functionality, the following files are included and must be correctly installed:

  • RSI EA.mq5 (32.65 KB): The main Expert Advisor file. Place this file in the "Experts" folder of your MT5 installation.

  • MQLTA ErrorHandling.mqh (33.07 KB): A utility file for error handling. Place this file in the "MQL5\Include" folder.

  • MQLTA Utils.mqh: A utility file containing helpful functions. Place this file in the "MQL5\Include" folder.
    After downloading the ZIP file, extract these files and copy them to the appropriate directories in your MT5 installation before compiling the EA.


Notes

  • This EA is a template and does not guarantee profits. Thoroughly test it on a demo account before using it on a live account.

  • Knowledge of trading and risk management is essential when using this EA.

  • Ensure parameters are optimized to suit your trading strategy and market conditions.




Contact me : MQL5 Link
Version: 1.00
Updated: May 11, 2025




Custom MACD: Elevate Your Trading with Real-Time Signal Alerts to Your Phone Custom MACD: Elevate Your Trading with Real-Time Signal Alerts to Your Phone

Custom MACD for MetaTrader 5 enhances the classic MACD with real-time signal alerts sent to your phone. Detect trends and reversals with customizable parameters, intuitive visuals, and automated buy/sell notifications.

BBMA - Bollinger Band Moving Average BBMA - Bollinger Band Moving Average

All indicators required by BBMA Strategy in a single indicator.

ADX Indicator (MQL5) ADX Indicator (MQL5)

The ADX (Average Directional Index) Smoothed indicator enhances the standard ADX by applying dual exponential smoothing filters to reduce noise and provide clearer trend signals. It plots three lines: smoothed +DI (blue), -DI (red), and the main ADX line (green). This refined version helps traders identify trend strength and potential direction changes with reduced false signals. The indicator excels at confirming established trends and warning of weakening momentum before actual price reversals occur, making it valuable for both trend following strategies and determining optimal entry/exit points.

Function for converting the number of seconds to years, months, days, hours, minutes, seconds Function for converting the number of seconds to years, months, days, hours, minutes, seconds

It is taken into account that there are 30 days in a month, 365 days in a year The script demonstrates the counter of time until the beginning of the new year