Qualsiasi domanda da principiante, per non ingombrare il forum. Professionisti, non passate oltre. Da nessuna parte senza di te - 6. - pagina 1153
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
Ciao, non riesco ad autorizzare mql5 in metatrader4 per sottoscrivere i segnali...cosa fare!
Scrivi una richiesta a servicedesk (nel profilo a sinistra), con dettagli e screenshot.
I gufi dovrebbero arare su diverse coppie e preferibilmente due gufi per tabella d'acquisto separatamente dai sé.
Così com'è, si apre all'infinito
int _OrdersTotal=OrdersTotal();
for (int i=_OrdersTotal-1; i>=0; i--) {
se (OrderSelect(i,SELECT_BY_POS)) {
if (OrderMagicNumber() == Magic) {
se (OrderSymbol() == Symbol()) {
se (OrderType() == OP_BUY) {
}}}}}
se(MaPrevious>MaPrevious1)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-StopLoss*Point ,Ask+TakeProfit*Point, "macd sample",Magic,0,Green);
se(biglietto>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
Print("Ordine BUY aperto: ",OrderOpenPrice());
}
else
Print("Error opening BUY order : ",GetLastError());
ritorno;
}
aiutare chi può
Buon pomeriggio a tutti!
So che è possibile implementare l'uscita del segnale nell'indicatore:
a) Quando appare sulla barra corrente senza aspettare che si chiuda. In questo caso, dopo la chiusura della barra il segnale può essere cancellato;
b) Dopo la chiusura della barra su cui appare il segnale.
Sono interessato alla variante a). Come implementare l'allarme in un indicatore, senza aspettare la chiusura della barra?
Ho cercato di implementarlo come scelta di parametri nella linea 39 del codice dell'indicatore, ma non ha funzionato. Come farlo correttamente?
extern int shift = 0; // su quale barra viene considerato il segnale: 0 - sulla barra corrente; 1 - sulla barra chiusa
Sarei molto grato per l'aiuto!
Buon pomeriggio a tutti!
So che è possibile implementare l'uscita del segnale nell'indicatore:
a) Quando appare sulla barra corrente senza aspettare che si chiuda. In questo caso, dopo la chiusura della barra il segnale può essere cancellato;
b) Dopo la chiusura della barra su cui appare il segnale.
Sono interessato alla variante a). Come implementare l'allarme in un indicatore, senza aspettare la chiusura della barra?
Ho cercato di implementarlo come scelta di parametri nella linea 39 del codice dell'indicatore, ma non ha funzionato. Come farlo correttamente?
extern int shift = 0; // su quale barra viene considerato il segnale: 0 - sulla barra corrente; 1 - sulla barra chiusa
Vi sarei molto grato per il vostro aiuto!
L'ho ottenuto approssimativamente così
Ho rimosso alcune cose inutili. Ho semplificato alcune cose
Questo è più o meno quello che ho ottenuto.
Ho rimosso alcune cose inutili. Semplificato alcune cose.
Grazie mille! Farò un tentativo.
Questo è più o meno quello che ho ottenuto.
Ho rimosso alcune cose inutili. Semplificato alcune cose.
È spiacevole, ma non funziona. L'ho provato su M5 timeframe per controllarlo più velocemente. Il segnale è apparso solo quando la barra è stata chiusa e non quando le medie sono state incrociate sulla barra corrente. Test su telai di grandi dimensioni.
Se decommentiamo le linee rimanenti in OnStart() otteniamo "newObjArray - parameter conversion not allowed".
Due domande: perché e come risolvere il problema?
È spiacevole, ma non funziona. Provato su M5 timeframe per controllare più velocemente. Il segnale è apparso solo dopo la chiusura della barra e non quando le medie sono state incrociate sulla barra corrente. L'ho testato su grandi timeframe.
Sembra che non ci capiamo.
Ciao amici.
Come fare in modo che i valori di stop loss, tekprofit e trailing siano visualizzati in percentuale invece che in pip.
Questa formula è troppo ingombrante e non funziona affatto
StopLoss=NormalizeDouble(Bid-(Bid-TrailingStop)/100*TRAL_PERCENT,Digits);
Vorrei avere la forma più semplice di percentuale.
Doppio Stoploss = 0,05;
--------
Profit=Bid-Stoploss in percentuale (è un esempio disordinato, ma solo per chiarezza)
Grazie.