Codes

Volume Calculator Based on Risk To Reward for MetaTrader 5

This EA can Calculate each trade volume base on received TP and SL Prices and Risk percent of account in each trade

Forum

Implementing NSGA-II with Complex Constraints in Strategy Tester

Hello everyone, I'm working on optimizing a trading strategy using the Strategy Tester in MetaTrader, and I'm facing some challenges implementing a custom multi-objective optimization algorithm (NSGA-II) due to complex constraints. Specifically, my model has several constraints that make it

Leak In Documentation

This is an MQL5 documentation page. I was trying to work with function pointers and understand the differences between MQL5 and C++. However, the logic explained in the MQL5 documentation doesn’t even work in their own compiler. This is a formal documentation—how can they make such a major mistake

Store Custom Backtest Data in MQL5 Strategy Tester

I am developing a multi-strategy expert advisor and need to implement an effective money management system. My approach is to first define all strategies within a single expert and then run the strategy tester separately for each strategy. The results should be stored in a database or file so that

How to upload indicator to market which uses iCustom (other indicators)

Hi there, I want to upload my new indicator to market but I keep getting error. I tried to use #resources but it just doest work. Any ideas