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
Hi GumRai, thanks for your time. I've already tried with your changes, but orders keep closing at 1. In other words, profitable orders are not waiting to reach 25.
Anche usando la linea di codice precedentemente fornita da DeVries e Raptor?
Speriamo che tu non abbia cambiato questa linea, la stavi considerando
Se l'hai cambiato a 25.00, allora avrai tutti i trade profittevoli di $1+ chiusi
Anche usando la linea di codice precedentemente fornita da DeVries e Raptor?
Speriamo che tu non abbia cambiato questa linea, la stavi considerando
Se l'hai cambiato a 25.00, allora avrai tutti i trade profittevoli di $1+ chiusi
Ho provato tutti i suggerimenti, ma ancora non si chiude bene.
Ho provato tutti i suggerimenti, ma ancora non si chiude bene.
Forse puoi mostrare il codice completo che stai usando al momento
Forse puoi mostrare il codice completo che stai usando al momento
Si prega di fare riferimento al mio post
https://forum.mql4.com/56959/page2#822980
Non state sommando solo i trade redditizi. Stai calcolando il profitto o la perdita netta
Si prega di fare riferimento al mio post
https://forum.mql4.com/56959/page2#822980
Non stai sommando solo i trade redditizi. Stai calcolando il profitto o la perdita netta
GumRai, ho fatto le modifiche al codice suggerite da Raptor e da te:
https://www.mql5.com/en/forum/146091
https://www.mql5.com/en/forum/146091/page2#822980
E ora sembra chiudere bene. Grazie per questo!
Solo un'altra cosa. Se voglio calcolare solo le compravendite redditizie, o solo le compravendite redditizie, invece di calcolare tutte le compravendite redditizie, cosa devo cambiare?
Sto pensando a questo cambiamento per calcolare solo gli acquisti, ma non sono sicuro. È corretto?
da questo:
a questo:
Credo che si potrebbero aggiungere 2 bool esterni ai parametri di input, chiamati qualcosa come "BuyTradesOnly" e "SellTradesOnly" entrambi impostati inizialmente su false
poi
Credo che si potrebbero aggiungere 2 bool esterni ai parametri di input, chiamati qualcosa come "BuyTradesOnly" e "SellTradesOnly" entrambi impostati inizialmente su false
poi
Non ho aggiunto i 2 extern bool, ho solo cambiato questo per chiudere "solo gli ordini di acquisto"
e cambiare questo per chiudere "solo ordini di vendita"
Così ora ho due EA. Uno per chiudere gli acquisti e uno per chiudere le vendite. Per me va bene.
Ho testato su entrambi gli account, demo e reale. Sulla demo funziona bene, ma sul conto reale, una volta raggiunto l'obiettivo di profitto, inizierà a chiudere le posizioni, ma poi si fermerà chiudendo le posizioni quando gli ordini rimanenti scendono sotto l'obiettivo di profitto. Questo succede se il prezzo sta cambiando al momento della chiusura. Quindi tende a lasciare aperti gli ordini redditizi, invece di chiuderli tutti (ordini redditizi).
Ho letto questo post di RaptorUK https://www.mql5.com/en/forum/139654. È qualcosa del genere, ma non so davvero quale potrebbe essere la soluzione migliore per questo problema.
Ho letto questo post da RaptorUK https://www.mql5.com/en/forum/139654. È qualcosa del genere, ma non so davvero quale potrebbe essere la soluzione migliore per questo problema.
La soluzione è data nel thread...è per questo che l'ho creato. Conto alla rovescia nel ciclo non in alto.
Ok Raptor, proverò a fare quel ciclo, ma prima di farlo, cosa succede se cambio solo
Da questo:
A questo:
Questo potrebbe fare il lavoro?