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
Io, d'altra parte, l'ho preso da un mucchio di codice:
Una domanda: perché scivola? E 10 (numero di ripetizioni) dovrebbe essere spostato nelle variabili globali.
Che ne dite di questo?
Ci sono diversi slittamenti. Quelli nel circuito sono... Quando hai una ragazza seduta lì, devi ripeterlo dieci volte e aspettare che si metta il rossetto. Quando una ragazza è seduta, deve ripeterlo dieci volte e aspettare che si trucchi. E a volte il server rallenta. Questo è tutto per la "vera DC".
Scivola dopo PlaySound, in modo che altri suoni non mettano in ombra, PlaySound interrompe il suono del precedente.
Levariabili globali sono abilmente ponderate dal terminale. E non ce n'è bisogno, l'algoritmo esterno dovrebbe funzionare normalmente con ordini che non sono chiusi.
Le variabili globali sono abilmente ponderate dal terminale.
Oh, dimenticavo -- RefreshRates all'inizio del ciclo dopo la cattura del contesto, allora non avrete bisogno di armeggiare con Ask e Bid. E anche altri valori.
RefreshRates non è lì per altro. Questo è il modo in cui ho cercato di gestire le situazioni in cui OrderClose restituisce false, ma l'ordine si chiude effettivamente. Dopo la pausa e RefreshRates arriva OrderSelect(). Non so come sia lì, ma sembra funzionare.
Ask e Bid sono una vera meraviglia, a volte hanno bisogno di essere normalizzati :)
---
Circa dieci ripetizioni e per cosa nelle variabili globali, non capisco. Ce ne sono dieci, con un margine sufficiente. È esterno?
E se l'ordine si chiude tra un minuto? Non si può battere con un codice. Questo è un errore di comunicazione del terminale.
gip:
Non capisco circa dieci ripetizioni e per cosa nelle variabili globali.
Riduce semplicemente il numero di fallimenti di un fattore due. Naturalmente, non tutte le situazioni sono gestite esattamente in questo blocco. Se un ordine è chiuso per un minuto, il programma deve aspettare tutto questo tempo. Queste attese, anche se interrotte, ritardano il ciclo e alla fine tutto funziona come dovrebbe.
---
> Per evitare i numeri magici e la sintonizzazione facile.
Regolare questo dieci? Sì, è con un tale margine che è più facile cambiare il DC :) E per il bene di megalot, se così ha dovuto, e può essere nel codice per correggere.
C'è un consigliere. Dobbiamo farlo sembrare decente.
Queste sono le funzioni di esso. C'è un modo per farlo sembrare decenteHo aggiunto due funzioni per semplificare il lavoro
Uno controlla il tipo di ordine e il secondo cerca l'ultimo ordine aperto
Parte delle funzioni rielaborate dall'autore