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
Anton:
Esecuzione del tuo EA su Idle-CPU, RannForex-Server, 6 grafici con diversi simboli. Quando sono tornato al mio computer ho visto molti di questi.
Ho una pessima condizione di tempo come questa.
SZZ Ho allegato il codice per obiettività da parte dei membri del forum.
Esecuzione del tuo EA su Idle-CPU, RannForex-Server, 6 grafici con diversi simboli. Quando sono tornato al mio computer ho visto molto di questo.
Se ho capito bene, in questo test ci sono 6 EA in loop che girano su 4 core della CPU, e ognuno cerca di caricare un core al 100%. Cioè questo è sicuramente uno stress test, molto lontano dalle condizioni operative normali.
In queste condizioni 1 o 2 espulsioni di 1-2ms per 10 milioni di interrogazioni è un risultato eccellente.
E ancora una volta, lasciate che vi ricordi: maggiore è il carico, più si testa l'efficienza del task scheduler del sistema operativo, non il terminale. Non fatevi ingannare.
Ho una domanda sulla rilevanza dei tick dati da SymbolInfoTick.
Situazione:
1. Facciamo TimeCurretn(); otteniamo il tempo 18:00:00
2. Eseguire SymbolInfoTick su un simbolo senza etichetta. Abbiamo un segno di spunta con il tempo 17:58:00.
3. Dormire(1)
4. Aggiunge un SymbolInfoTick per il simbolo non a sinistra. Otteniamo un segno di spunta con l'ora 17:59:00.
Cioè, nel quarto elemento abbiamo un nuovo tick, che è un minuto diverso da TimeCurretn().
Vede un problema in questa situazione?
Come entrare in questa situazione più raramente?
Test EA.
Non ho Alertite. Risultato (l'ha eseguito su sei grafici).
C'è un problema. È difficile dire quanto sia grave.
Se ho capito bene, in questo test ci sono 6 EA in loop che girano su 4 core della CPU, e ognuno sta cercando di caricare un core al 100%. Cioè questo è sicuramente uno stress test, molto lontano dalle condizioni operative normali.
Questa EA è uno stress test? Te lo chiedo perché sta misurando
sta dando un mare di avvisi.
C'è un bug nell'output del log seriale di ArrayPrint.
È chiaro che si tratta di un errore, poiché questo è il codice sorgente.
Forum sul trading, sistemi di trading automatico e test di strategia
MT5 e la velocità in azione
fxsaber, 2020.10.30 15:04
Ho innescato Alert ogni secondo molte volte.
19 ms e 48 ms per l'esecuzione di SymbolInfoTick. C'erano diverse decine di casi in cui la durata era di centinaia di microsecondi. Ma non li ho citati.
A quanto pare, per riprodurlo, abbiamo bisogno di eseguire consiglieri di combattimento per 24 ore, e poi solo guardare. A mio parere, non è realistico capire cosa dia inizio a tali ritardi.
Ho guardato il codice di Test9 all'inizio della pagina. Perché 10 milioni di volte senza alcuno Sleep per richiedere i tick di un simbolo? Cosa ha a che fare questo test con il trading reale?
Penso che il test dovrebbe assomigliare a questo: richiediamo il tick di ogni simbolo nella revisione del mercato. Mettiamo in pausa Sleep(1) e così via. Rielabora leggermente il tuo codice:
Prova 55 simboli nella panoramica.
Ora testiamo temp++ invece di SymbolInfoTick;
Ho guardato il codice di Test9 all'inizio della pagina. Perché 10 milioni di volte senza alcuno Sleep per richiedere le zecche di un personaggio?
Niente affatto. Leggete il ramo per i dettagli.
Non a parità di condizioni. Leggete il thread per i dettagli.
Non siete confusi dal fatto che anche il tempo massimo di esecuzione di temp++ richiede decine di microsecondi, con questa tecnica di misurazione?