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
Grazie di tutto, Massimo.
Grazie eevviill, ma le mie competenze sono troppo complicate. Sto iniziando con la programmazione, sono autodidatta ed è difficile per me capire alcune cose.
Grazie di tutto, Massimo.
Per ora il codice che si avvicina di più è quello che mi ha suggerito GumRai, ma mi dà il segnale e imposta l' apertura della candela e non dopo 3 secondi.
Grazie di tutto, Massimo.
ma nonsono dalsegnale dopotre secondiche ha apertola candela
Meglio scriverlo prima e non "ho bisogno di un allarme ogni 3 secondi".
Questo dovrebbe controllare al primo tick ricevuto che è almeno 3 secondi dopo il tempo di apertura della barra
Si noti che se la barra è stata aperta n secondi quando l'indicatore è inizializzato e n è >3, sarà controllato in quel momento. Inoltre, ovviamente, non funzionerà con le barre storiche.
Questo dovrebbe controllare al primo tick ricevuto che è almeno 3 secondi dopo il tempo di apertura della barra
Notate che se la barra è stata aperta n secondi quando l'indicatore è inizializzato e n è >3, sarà controllata in quel momento. Inoltre, ovviamente, non funzionerà con le barre storiche.
:))))
1)Vorrei modificare questo codice in modo che l'allarme, invece di apparire all'apertura della candela, rilevi le condizioni dopo alcuni secondi.
2)ma nonsono dalsegnale dopotre secondiche ha aperto lacandela
P.S. Non usare Time[0], usa Bars
:))))
1)Vorrei modificare questo codice in modo che l'allarme, invece di apparire all'apertura della candela, rilevi le condizioni dopo alcuni secondi.
2)ma nonsono dalsegnale dopotre secondiche ha aperto lacandela
Qual è il tuo punto?
:))))
P.S. Non usare Time[0], usa Bars
Perché no? Non c'è niente di sbagliato nell'usare Time[0] per rilevare una nuova barra.
Non so come ringraziarvi per la vostra collaborazione.
Il codice postato eevviill funziona molto bene, è quello che intendevo.
Il codice GumRai invece fa repaint e dà il segnale ogni volta che l' RSI attraversa i livelli 30/70.
Inserisco il codice funzionante secondo i suggerimenti di eevviill, sperando che serva ancora a qualcosa.
Grazie di tutto, Massimo.