i newly have the problem, that my expert which runs in debug mode, is closed.
The uninit reason is 4 -> Chart removed. No error else in the expert log.
The chart in fact has been removed.
This happens, when there is a pending...
Please do not move this thread. There is a problem and it would be nice to clarify it.
My Backtester tells me 11 % quality ticks. I don't know why ticks mentioned here because i set OHCL 1 Minute and the backtest is based on hour bars.
When i go...
As you know, the MetaQuotes concept makes only sense with good historical data.
The system is focused on expert which can be evaluated when it is not possible
to backtest them.
I have bad data from my broker, i called the support for this and...
in my backtest result is see a relative drawdown maximal of 24.24 %.
The backest is over 259 trades.
The problem: I can't reproduce this value visually in the equity, balance curve.
Find attached 3 files zipped : The backtest results...
when i place a file into folder files i can open this file when running or debug my expert.
But when i run the backtest, the file is not found.
Ok, after some research, i found the property tester_file.
When i add this to my code...
A question for z-order.
I have a rectangle and within the rectangle an edit field. The rectangle should be moveable.
It is created with z-order 0. The edit field with z-order 1.
When i click into the edit, the rectangle moves sometimes, what...
i have an expert with some gui objects, buttons, editfields, arranged below a rectangle.
When the rectangle is dragged, all the objects in it are moved accordingly.
I run this on MetaTrader 4 as well as on MetaTrader 5.
i just want to code a rectangle which should be moveable, when dragged.
Unfortunately, i get no CHARTEVENT_OBJECT_DRAG called.
Is there any setting in MetaTrader 5 or a "ChartSetInteger" to be called in order to get it work?
I have problem when debugging. This occurs somethimes but not always.
MetaTrader 5, vs 1755.
I Press F5 in order debug a script.
Script is running in Chart A, GBPUSD. All fine.
I click in chart B,EURUSD, want to place an order. I press F9...
i just wonder about MetaTrader 5 is handling positions like MetaTrader 4.
Buy EURUSD 1 lot
SELL EURUSD 1 lot
In the end you have 2 different positions, one long, one short.
I remember in previous versions you had a...
i have a problem that i can't set the text for an OBJ_EDIT when being within chart event.
The goal: When the edit field is clicked, i want to set a new text. This is not working.
Please check the script. How to accomplish this ?...
i want to provide a click button in my expert which behaviour is the same as any normal button.
So, when mouse is over button and left mouse button pressed, the button should change into pressed state.
Unfortunately, i get no such...