No description
Find a file
Nique_372 068528a915 Correcion de parser
Ahora se puede elegir el caracter separador
2026-01-15 10:37:02 -05:00
Defines new files added 2025-11-28 20:22:21 -05:00
Examples 2026-01-15 07:47:58 -05:00
Images new files added 2025-11-28 20:51:11 -05:00
IndicatorsCts 2026-01-13 14:49:49 -05:00
Ob 2026-01-06 06:47:46 -05:00
PosMgmt 2026-01-02 17:52:04 -05:00
RM 2026-01-07 11:00:48 -05:00
Sets/Article_19682 new files added 2025-10-26 16:42:49 -05:00
Strategy Correcion de parser 2026-01-15 10:37:02 -05:00
Utils 2026-01-13 14:49:49 -05:00
MQLArticles.mqproj Generated by MQL5 Wizard 2025-09-22 08:42:35 -05:00
README.md Actualizar README.md 2025-12-21 17:56:57 +00:00
requirements.txt Actualizar requirements.txt 2026-01-15 12:52:45 +00:00

MQLArticles

A comprehensive collection of MQL5 implementations for risk management and position management in algorithmic trading. This repository contains the source code from articles published on MQL5.com by nique_372.

Repository Contents

Project Structure

Repository Structure

Folder Description
Defines Markdown files containing optional defines to activate or increase logging verbosity for specific classes in the repository.
Examples Basic examples that implement various libraries from the MQLArticles repository, such as risk management, position management, etc.
Images Screenshots and visual assets from repository examples (breakeven manager, lot size calculator, order blocks indicator).
IndicatorsCts Wrapper library for implementing technical indicators.
Ob Order Blocks indicator implementation and example Expert Advisors from published articles (author: nique_372).
PosMgmt Position management libraries including:
- Breakeven management
- Partial position closure
- Conditional partial closure with indicator-based conditions
RM Complete Risk Management (RM) library modules.
Utils Core utility library for EAs, indicators, and libraries.
Sets Preset configuration files (.set) used in articles published by nique_372.
Strategy Strategy implementation framework for the MQLArticles ecosystem.

Implemented Article Series

Risk Management

Part Main Topic Article Link
Part 1 Risk management fundamentals [EN]
Part 2 Lot size calculation [ES]
Part 3 Base class construction [ES]
Part 4 Completing key functions of the CRiskManagement class [ES]
Part 5 Integrating risk management into an EA (Order Block) [ES]

Important Update: The RiskManagement library has been completely renovated since the last publication (part 5).

Position Management - Breakeven

Part Focus Article Link
Part 1 Base class and breakeven by fixed points [ES]
Part 2 Breakeven by ATR and RRR [ES]

Position Management - Partial Closes

Focus Article Link
Implementation of partial closes in MQL5 [ES]

Position Management - Conditional partial closure

Focus Article Link
Implementation of the base class in MQL5 [ES]

Order Block Indicator

Part Focus Article Link
Part 1 Initial implementation of Order Blocks in an indicator [EN]
Part 2 Signal implementation in the Order Block indicator [EN]

Examples

  • Examples\GUI\BE\Ea.mq5

Imagen

  • Examples\GUI\Risk_Management_Panel.mq5

Imagen

  • Ob\Indicator\OrderBlockIndPart2.mq5

Imagen

Installation Methods

  • Clone the git repository into shared projects via cmd.
  • Contact me privately on MQL5 chats (user: nique_372) to be added as a collaborator with your MQL5 nickname (read-only access), which will make the repository automatically appear in your Shared Projects folder.
  • Fork the repository.