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
Buon pomeriggio!
Un broker è costantemente (una o due volte al giorno) MarketInfo() vola via, ottiene il valore 0 ( specificamente MODE_MARGINREQUIRED). È abbastanza normale, ma allo stesso tempo non c'è nessun tentativo di raggiungere l'indicatore iCustom() (collegato attraverso una risorsa). Anche dopo che MarketInfo() riceve i dati, iCustom() rimane in silenzio. Solo il riavvio del terminale aiuta. Come accedere all'indicatore senza riavviare il terminale, qualche idea? L'indicatore può sparire da qualche parte da una risorsa?
Dopo un mese di test di ogni tipo posso già dire con sicurezza che c'è un problema, solo che non posso dire se la risorsa manca o se iCustom() è rotto. Il problema viene rilevato solo in un broker, il che è molto spiacevole per il trading reale. Prima di buttare in giro parole come MT4 o MQL è un bug, vi darò l'ultimo e più semplice codice ed esecuzione di test. Pubblicherò anche i risultati. Forse c'è un bug nel mio codice, che non conosco. Ancora una volta vi ricordo che il problema viene rilevato solo con un broker (vedrete nel registro).
Indicatore:
Esperto:
Riceve gli ultimi dati dell'indicatore.
L'indicatore non risponde più.
Diario dell'esperto:
Log di MT4 in questo momento:
Dopo un mese di test di ogni tipo posso già dire con sicurezza che c'è un problema, solo che non posso dire se manca la risorsa o se iCustom() è rotto. Il problema viene rilevato solo in un broker, il che è molto spiacevole per il trading reale. Prima di buttare in giro parole come MT4 o MQL è un bug, vi darò l'ultimo e più semplice codice ed esecuzione di test. Pubblicherò anche i risultati. Forse c'è un errore nel mio codice, che non conosco. Ancora una volta vi ricordo che il problema viene rilevato solo con un broker (vedrete nel registro).
Indicatore:
Esperto:
Riceve gli ultimi dati dell'indicatore.
L'indicatore non risponde più.
Diario dell'esperto:
Registro MT4 in questo momento:
TimeCurrent() nell'indicatore chiamato da iCustom smette di funzionare quando si rifà il login?
Perché avete bisogno diTimeCurrent() nell'indicatore?
Le serie temporali (time[], open[], ecc.) sono aggiornate?
TimeCurrent() in un indicatore chiamato da iCustom smette di funzionare quando si rifà il login?
A cosa serveTimeCurrent() nell'indicatore?
Le serie temporali (time[], open[], ecc.) sono aggiornate?
Tutto smette di funzionare, come se non ci fosse più un indicatore. TimeCurrent() solo per controllare, l'ultima volta per vedere. Niente (non time[], open[], ecc.) funziona perché l'indicatore non risponde più. Questa è l'ultima stampa dell'indicatore, non ce ne sono altre:
Per aggirare la limitazione di MQL4, devo scriverlo in questo modo.
La religione è certamente una buona cosa (intendo esplicitamente questo.*), ma è meglio lasciarla per la chiesa.
Penso che sarebbe più sintetico.
La religione è certamente una buona cosa (intendo esplicitamente questo.*), ma è meglio lasciarla per la chiesa.
Penso che sarebbe più sintetico.
Questo è sotto i 5 anni.
Chiedete agli sviluppatori: perché viene chiamato il metodo template della zona protetta?
UPD: è quello che il compilatore sostituisce nella chiamata, non B::f(const A*)
Aiuta a bypassare un bug del compilatore MQL4 che non è più in fase di sviluppo.
Stringa di ricerca: Oshibka 021.
Aiuta ad aggirare un bug del compilatore MQL4 che non viene più sviluppato.
questo è il modo in cui MQL4 compila:
UPD:
Fondamentalmente compila anche senza typename T2
Ecco come si compila in MQL4 :
UPD:
Fondamentalmente compila anche senza typename T2
Grazie!