Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

CloseAgent - expert for MetaTrader 5

Views:
3974
Rating:
(5)
Published:
2024.11.29 21:42
Updated:
2025.02.25 23:15
CloseAgent.mq5 (4.97 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This is a free example of an automated tool designed to close open positions at the optimal moment, combining two of the most effective technical analysis indicators: Bollinger Bands and RSI. It is particularly useful for closing residual trades at the end of the day or session, identifying overbought and oversold levels to find the best exit points, especially in low volatility conditions. It's also useful during the uncertainty leading up to high-impact news.

Update: added CloseAll function for all positions at specified profit.


Get min margin in to csv Get min margin in to csv

The script MinMargins.mq5 is designed to help traders quickly calculate and document the minimum amount of money required to open a position with the smallest lot size for all symbols available in the Market Watch. This data is saved to a CSV file for easy review and analysis.

MT4 to MT5 Convertor (MT5Compat.mqh) MT4 to MT5 Convertor (MT5Compat.mqh)

A new interface library has been developed to simplify the process of converting MT4 indicators and Expert Advisors (EAs) to MT5. This library supports most of the MetaTrader 4 functions, offering developers a unified solution for cross-platform compatibility.

Converted from Pine Script - Fibonacci Bollinger Bands Converted from Pine Script - Fibonacci Bollinger Bands

This Fibonacci Bollinger Bands indicator is a conversion from Pine Script (by Rashad) to the MQL5 language.

High-Performance Time Functions (TimeUtils) High-Performance Time Functions (TimeUtils)

High-performmance functions for dealing with time.