forked from nique_372/MQLArticles
No description
| Examples | ||
| IndicatorsCts | ||
| Ob | ||
| PosManagement | ||
| RM | ||
| Sets/Article_19682 | ||
| Utils | ||
| MQLArticles.mqproj | ||
| README.md | ||
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
| Folder | Files | Description |
|---|---|---|
| Examples | - Get_Lot_By_Risk_Per_Trade_and_SL.mq5 - Get_Sl_by_risk_per_operation_and_lot.mq5 - Risk_Management_Panel.mq5 |
Practical examples of using the Risk Management (RM) library. |
| IndicatorsCts | - IndicatorsBases.mqh | Wrapper library for implementing simple indicators using classes. |
| Ob | - Ea/ - Ob_artc_19682.mq5 - Indicator/ - Main.mqh - OrderBlockIndPart2.mq5 |
Includes the Order Blocks indicator, as well as the Expert Advisors used as examples in other articles published by the author (nique_372). |
| PosManagement | - ConditionalPartial/ - Base.mqh - Defines.mqh - Breakeven.mqh - Partials.mqh |
Contains libraries for position management: - Breakeven - Partial closure - Conditional partial closure. |
| RM | - AccountStatus.mqh - LossProfit.mqh - LoteSizeCalc.mqh - Modificators.mqh - OcoOrder.mqh - OrdersGestor.mqh - RiskManagement.mqh - RiskManagementBases.mqh - RM_Defines.mqh - RM_Functions.mqh |
All modules that make up the RM risk management library. |
| Utils | - FA/ - Atr.mqh - AtrCts.ex5 - BarControler.mqh - ClasesBases.mqh - Events.mqh - FuncionesBases.mqh - Managers.mqh - SimpleLogger.mqh - Sort.mqh - StringToArray.mqh - CustomOptimization.mqh - Fibonacci.mqh - File.mqh - Funciones Array.mqh - GraphicObjects.mqh - RandomSimple.mqh |
Utility library for creating libraries, EAs, and indicators. Includes functions for working with arrays, time, conversions, strings, simple mathematics, and classes for candlestick pattern handling, optimized ATR, PC suspension validation, among others. |
| Sets | - Article_19682/ ARTICLE_PARTIAL_SET_TEST_2_OB_WITHOUT_PARTIALS.set - ARTICLE_PARTIAL_SET_OB_TEST_2_WITH_PARTIALS.set - ARTICLE_PARTIAL_SET_TEST_1_WITH_PARTIALS.set - ARTICLE_PARTIAL_SET_TEST_1_WITHOUT_PARTIALS.set |
Sets used in other articles published by the author (nique_372). |
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] |
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] |
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 sharedprojects folder.
- Fork the repository.