Codes

Candle Analysis Report for MetaTrader 5

This script helps traders understand the distribution and range of candles in a specific period, which can be useful for making trading decisions such as determining which historical values to use for Take Profit or Stop Loss

Forum

Optimization Automation in MQL5

I'm wondering if there is any way or tool to schedule an optimization process in MT5. My idea is to select, for example, 10 symbols, activate the process and allow once completed with one symbol, to automatically continue with the next, and then analyze the results later. Any hint is welcome. Thanks

Broker or Metaquotes data?

Please, a clarification. When requesting history data, is it broker data or metaquotes? (MT5) When I did this on MT4, this notification came out

Analyze profile data

Does anyone know of a way to analyze the data of visits and interactions to your mql5 profile ? To know things such as number of visits, visit time, or most frequent clicks, origin, browser,... thanks in advance

Pip Value Script

Can someone tell me if this script is 100% correct? I am having some doubts because, for example, I was not taking into account that in the indices 1 pips is not the minimum unit of change, that is, it is not a decimal, but rather the change of 1 integer. And that has confused me // Define the

Systems that perform well in backtest

Discussion about Systems that Work in Backtest but Fail in Real Account : Why? Hello everyone, I wanted to start a discussion about systems that seem to work wonderfully in backtests but do not perform the same in a real account. I'm talking about situations where there is no overfitting involved

Market Validation Problem

Hello, has anyone seen this error when trying to validate an update to the market? test on EURUSD,H1 (netting) EURUSD: no history data from 2020.04.01 00:00 to 2020.08.01 00:00 there are no trading operations Do you know the solution to this problem? I've seen many, but never this one. Thanks in

OBJ_RECTANGLE_LABEL Problems

Good afternoon colleagues, I'm starting to think that I have some serious understanding problem, but I can't figure this out. It's a rectangle, and I want it to be built from the bottom left corner. This is the code: // ChartIdent is ChartID() ObjectCreate (ChartIdent, "BGRectangle"

50 MT4 terminals

Hello, happy Saturday! I wanted to ask you. I have a pc in which there are approximately 50 MT4 terminals. I do not use VPS in these terminals. I have noticed that from time to time some, or all of them close. I don't know what it is due to, I don't know if it's a ram problem or something. Since I

LotSize based on Centroid [SOLVED]

As you know I recently started with mq5, and it's been an exciting challenge for me, but I run into some problems along the way. This one in particular has me thinking about it for several hours. It is about calculating the size of an operation based on the centroid. The error is that the LotSize is

OrderClose with Drawdown error

I'm trying to do something very simple, but at the same time it's resisting me. I want to close the operations when the DD exceeds a value. But when the backtest ends, I check it and the value has not been respected, what could it be due to? Any ideas guys? Thank you in advance void OnTick() {