Errors, bugs, questions - page 1420
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Question for the developers. Does the exchange broadcast open interest synchronously with volumes for each transaction (in times&sales) or asynchronously?
If synchronously, then it would be nice to put it in MqlTick... instead of getting it through SymbolInfoDouble.
I am waiting for update to build 1200. To checkCopyTicks
Afternoon
Can you please advise why the SL and TP columns in the orders section are not filled in the report from the MT5 terminal?
Afternoon
Can you please tell me why in the report from the MT5 terminal the columns SL and TP are not filled in the orders section?
Not true. The fields in the report are filled in:
Error in MT5 terminal, build 1200 from 23.10.15 (alpari).
In previous build everything was working correctly (!).
The CopyRates() function started to indicate dates incorrectly (probably, other bar data as well).
Here is an example of a short test program (Expert Advisor):
==================================================
datetime c_DStart=D'01.01.2015';
datetime c_DEnd=D'26.10.2015';
int i;
int MaxBars;
MqlRates a_RatesAll[];
//----------------------------------
//+------------------------------------------------------------------+
//| Expert initialization function|
//+------------------------------------------------------------------+
int OnInit()
{
//---
ArraySetAsSeries(a_RatesAll,true);
//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| ChartEvent function|
//+------------------------------------------------------------------+
void OnChartEvent(const int id,
const long &lparam,
const double &dparam,
const string &sparam)
{
//---
//output
if(id==CHARTEVENT_KEYDOWN && lparam==45) // output "Insert"
{
ExpertRemove();
}
else if(id==CHARTEVENT_KEYDOWN && lparam==48) // "0"
{
DateTimeRates(c_DStart,c_DEnd);
}
}
//+------------------------------------------------------------------+
//| My functions|
//+------------------------------------------------------------------+
//====================================================================
void DateTimeRates(datetime DStart, datetime DEnd)
{
if ((DStart>0) && (DEnd>0))
{
MaxBars=CopyRates(Symbol(),0,DStart,DEnd,a_RatesAll);
if(MaxBars<=0) Print("Error of price data copying ",GetLastError());
else
{
Print(" ");
Print(EnumToString(ChartPeriod(0));
Print("Copied ",ArraySize(a_RatesAll)," bars);
}
}
for (i=MaxBars-1;i>=0;i--)
{
Print(a_RatesAll[i].time);
}
}
//====================================================================
==================================================
If I specify a start date of the time series later than 14.10.15, all bar dates are reset:
HS 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5)
PM 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) PERIOD_M5
LE 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) 2406 bars copied
IM 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) 1970.01.01 00:00:00
CD 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) 1970.01.01 00:00:00
MK 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) 1970.01.01 00:00:00
GS 0 09:49:42.561 DateTimeCopyRates (EURUSD,M5) 1970.01.01 00:00:00
...
etc.
If I specify an start date of 14.10.15 or earlier, the time-series dates start a few weeks to a few months late.
Here's an example with a start date of 14.10.15, the time series starts on 26.10.15:
CS 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5)
KM 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) PERIOD_M5
GE 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2695 bars copied
QM 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2015.10.26 15:50:00
PD 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2015.10.26 15:55:00
GK 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2015.10.26 16:00:00
RS 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2015.10.26 16:05:00
DJ 0 09:53:02.383 DateTimeCopyRates (EURUSD,M5) 2015.10.26 16:10:00
...
Here is an example with a start date of 01.01.15, the series starts from 12.05.15:
PS 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5)
HM 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) PERIOD_M5
FF 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 60958 bars copied
OL 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 21:55:00
HD 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 22:00:00
QK 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 22:05:00
CS 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 22:10:00
FJ 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 22:15:00
RQ 0 09:54:47.726 DateTimeCopyRates (EURUSD,M5) 2015.05.12 22:20:00
...
Please ask the developers to correct this error.
Error in MT5 terminal, build 1200 from 23.10.15 (alpari).
In previous build everything was working correctly (!).
CopyRates() function started to indicate dates incorrectly (maybe other bar data as well).
Unable to retrieve SeriesInfoInteger() data from INDICATOR! MT4
Please look at request#1337152
Not true. In the report the fields are filled in:
Yes, I'm sorry, at first the order leaves with zero TP and SL
but then I modify the position (SL and TP)
and this data is not included in the report.
Unable to retrieve SeriesInfoInteger() data from INDICATOR! MT4
Please look at request#1337152
Yes, I'm sorry, at first the order leaves with zero TP and SL
but then I modify the position (SL and TP)
and this data will not be included in the report.
What exactly doesn't show up in the report (and is this about the pending order or the position?)
Are MT5 functions supposed to work in MT4?