chinaski / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
chinaski
Added topic Phantom Trades on backtest chart
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
chinaski
Added topic Database problem
Hello guys, this function is not inserting any values to database: void db_test( void ) { uint flags= DATABASE_OPEN_READWRITE | DATABASE_OPEN_CREATE ;
chinaski
Added topic How to know to be in trading hours of symbol
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
chinaski
Added topic How to know a symbol is a currency pair
and no CFD or future, etc. ? In mql4 and mql5. Anyone has an idea ? Thank you
chinaski
Added topic Debug mode chart closed suddenly (and expert removed with reason=4)
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
chinaski
Added topic Horizontal line not deleted
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 (
chinaski
Added topic OrderSelect(...MODE_HISTORY) returns true for pending orders
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 ) {
chinaski
Added topic Backtest [Trade disabled]
What is the cause, how to remove this ? JS 2 00 : 07 : 19.699 Core 1 2017.06 . 01 00 : 02 : 00 failed instant buy 2.20 EURUSD
chinaski
Added topic Historical data problem
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
chinaski
Added topic Historical Data MetaQuotes Concept: Who is responsible
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
chinaski
Added topic Backtest: numbers - curve discrepancy
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
chinaski
Added topic Open Files during backtest
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
chinaski
Added topic Detect stop loss or take profit
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
chinaski
Added topic Z-order meaning
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
chinaski
Added topic Visual Performance
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
chinaski
Added topic event CHARTEVENT_OBJECT_DRAG not called
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
chinaski
Added topic Problem debuggin
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
chinaski
Added topic MetaTrader 5 position handling question
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
chinaski
Added topic CHARTEVENT_KEYDOWN question
when you focus an OBJ_EDIT. Please have a look on this code: void OnChartEvent ( const int id, const long &lparam
: