Hello, how is it possible that i see trades on the chart that are not done in backtesting . For instance, the highest trade number in my backtest report is #13 but on the chart opened after backtest i see trades #313 etc. with a size nowhere used in
Hello community, when open symbol information from market view, i can see trading hours for symbol. But i do not find a corresponding function to fetch this information. How do i know, if am currently in trading hours for symbol ? Thank you
Hello, 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 oder, i
Hello community, i have an expert which can create horizontal lines . When detach expert, they get deleted but very often (not always) remain in chart. When delete object, i get error 4207. ResetLastError (); if (
Hello, when i call this function with a ticket of a pending order int check_ticket_status( ulong ticket) { if ( OrderSelect ( ticket, SELECT_BY_TICKET , MODE_TRADES ) == true ) {
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 on
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 thy
Hello, 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 in
Hello, 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
Hello, how to detect stop or take profit ? It seems that transaction is not providing this information. This is a transaction protocol of a single in and out by stop loss: HK 0
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 should
Hi community, 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. The code
Hello, 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 played
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 for
Hello community, i just wonder about MetaTrader 5 is handling positions like MetaTrader 4. Example: 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 net