Errori, bug, domande - pagina 1807
Ti stai perdendo delle opportunità di trading:
- App di trading gratuite
- Oltre 8.000 segnali per il copy trading
- Notizie economiche per esplorare i mercati finanziari
Registrazione
Accedi
Accetti la politica del sito e le condizioni d’uso
Se non hai un account, registrati
solo per essere chiari:
aprire una compravendita
2017.02.15 15:16:40.944 Trades '5246495': accepted instant buy 1.00 EURUSD at 1.05572
2017.02.15 15:16:40.944 Trades '5246495': deal #117730573 buy 1.00 EURUSD at 1.05572 done (based on order #134121208)
2017.02.15 15:16:40.944 Trades '5246495': order #134121208 buy 1.00 / 1.00 EURUSD at 1.05572 done in 1284.090 ms
l'esperto lo moltiplica
2017.02.15 15:16:41.720 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05574 (deviation: 16) [No prices]
2017.02.15 15:16:42.735 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05575 (deviation: 16) [No prices]
2017.02.15 15:16:43.749 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05575 (deviation: 16) [No prices]
2017.02.15 15:16:44.760 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05577 (deviation: 16) [No prices]
2017.02.15 15:16:45.774 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05577 (deviation: 16) [No prices]
2017.02.15 15:16:46.789 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05575 (deviation: 16) [No prices]
2017.02.15 15:16:47.804 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05577 (deviation: 16) [No prices]
2017.02.15 15:16:48.818 Trades '5246495': failed instant buy 1.00 EURUSD at 1.05577 (deviation: 16) [No prices]
2017.02.15 15:16:49.831 Trades '5246495': instant buy 1.00 EURUSD at 1.05577 (deviation: 18)
2017.02.15 15:16:49.891 Trades '5246495': accepted instant buy 1.00 EURUSD at 1.05577 (deviation: 18)
2017.02.15 15:16:49.892 Trades '5246495': order #134121233 buy 1.00 / 1.00 EURUSD at 1.05577 done in 61.372 ms
2017.02.15 15:16:49.893 Trades '5246495': deal #117730596 buy 1.00 EURUSD at 1.05577 done (based on order #134121233)
solo per essere chiari:
OK, aggiunto al BOD.
I bug commerciali sono più allarmanti che altro. Aggiornare a 1531+ in modo che i registri siano più completi.
2017.02.16 08:53:03.285 MQL5 wrong type, loading of Test failed
2017.02.16 08:53:03.813 Network '5122740': authorized on MetaQuotes-Demo through Access Point EU Amsterdam (ping: 50.93 ms)
Che cos'è?
Non c'è niente che gira sull'unico grafico. Questo messaggio appare ogni volta che si cambia account.
@Slawa, la sincronizzazione si estende a TimeCurrent()? Ora ho il seguente quadro: ieri sera alle 22.45 ho spento il terminale. L'ho acceso questa mattina. Il mercato è ancora chiuso. FORTI. I ticchettii arrivano prima dell'apertura del mercato alle 10:00 ora di Mosca. Le informazioni di ogni tick sono elaborate in OnBookEvent(). Il problema è che nonostante il controllo di sincronizzazione ridondante:
{
//--- Проверка переданного значения
if( rates_total > 0 ) // Если передано корректное значение
return( true ); // Возвращаем истину
//--- Проверка синхронизации
bool isSync = SymbolIsSynchronized( _Symbol );
bool sync = (bool)SeriesInfoInteger( _Symbol, _Period, SERIES_SYNCHRONIZED );
//---
if( !isSync || !sync ) // Если история не синхронизирована
{
Print( __FUNCTION__,": ОШИБКА РАССИНХРОНИЗАЦИИ! isSync = ",isSync,", sync = ",sync,", rt = ",rates_total );
return( false ); // Выходим с ошибкой
}
//--- Определим число просчитанных баров
rates_total = Bars( _Symbol, _Period ); // Определяем число баров
if( rates_total <= 0 ) // Если синхронизация не произведена
{
Print( __FUNCTION__,": ОШИБКА #",GetLastError(),": Синхронизация по Bars() не пройдена!" );
return( false ); // Возвращаем ложь
}
else // Если значение получено
return( true ); // Возвращаем истину
}
seguito da una richiesta di tempo e corrente SYMBOL_SESSION_... valore - ORA NON CORRETTA = ORARIO CHIUSO DEL TERMINALE, cioè 22:45! Di conseguenza, l'entrata nel file è storta e le letture sono confuse. Controllare TimeCurrent() per la sincronizzazione!
Aggiunto:
Il valore dell'argomento rates_total passato alla funzione è sempre = 0! Cioè la sincronizzazione è controllata!
TIME IS NOT CORRECT = TERMINAL CLOSED TIME, cioè 22:45
Forum sul trading, sistemi di trading automatico e test di strategie di trading
Bug, bug, domande
fxsaber, 2017.02.14 15:40
Se lasciate solo i simboli MOEX su Metaquotes-Demo nel Market Watch, TimeCurrent sarà indietro di 15 minuti. Non appena viene aggiunto un singolo simbolo FOREX, TimeCurrent salta avanti di 15 minuti in una volta sola.Questa è una vera apertura, è improbabile che si possano aggiungere caratteri FOREX lì... Ma se è così, TimeCurrent() deve essere davvero storto ora, e anche lui non può essere sincronizzato con tutti i mezzi disponibili!
Di nuovo, se dovessimo aggiungere SYMBOL_SESSION_... i dati verrebbero aggiunti al loro tempo di arrivo reale, non avremmo questo problema! E non dovremmo fare stampelle con TimeCurrent().
A proposito, il caso che descrivi è abbastanza logico, perché il ritardo di quotazione della borsa è di 15 minuti. Non c'è ritardo dal forex, quindi il tempo è regolato in base al forex. Ma, ovviamente, questo è un errore. Cioè TimeCurrent() "non naviga" tra diversi mercati.
È anche possibile che TimeCurrent() provenga dal fornitore di liquidità. E la liquidità viene raccolta da diversi luoghi.
A proposito, il caso che descrivi è abbastanza logico, perché il ritardo di quotazione della borsa è di 15 minuti. Non c'è ritardo dal forex, quindi il tempo è regolato in base al forex. Ma, ovviamente, questo è un errore. Cioè TimeCurrent() "non naviga" tra diversi mercati.
È anche possibile che TimeCurrent() provenga dal fornitore di liquidità. E la liquidità viene raccolta da diversi luoghi.
Grazie per l'idea, dovrò confrontare SYMBOL_TIME e TimeCurrent(). Forse ci saranno delle differenze...
Ooh... Non pensavo che sarebbe successo così in fretta:
2017.02.16 12:47:37.575 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:35 2017.02.16 10:47:36)
2017.02.16 12:47:37.575 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:35 2017.02.16 10:47:36)
2017.02.16 12:47:37.575 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:35 2017.02.16 10:47:36)
2017.02.16 12:47:37.575 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:35 2017.02.16 10:47:36)
2017.02.16 12:47:37.575 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:35 2017.02.16 10:47:36)
2017.02.16 12:47:52.889 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:47:52.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:47:52.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:47:52.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:47:52.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:47:52.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:47:51 2017.02.16 10:47:52)
2017.02.16 12:48:06.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
2017.02.16 12:48:06.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
2017.02.16 12:48:06.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
2017.02.16 12:48:06.890 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
2017.02.16 12:48:06.891 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
2017.02.16 12:48:06.891 GetTimeCurrent: ВНИМАНИЕ! timeCurrent < timeSymbol (2017.02.16 10:48:05 2017.02.16 10:48:06)
Quando il terminale è acceso, spento. Un ovvio errore di TimeCurrent()!