Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Você concorda com a política do site e com os termos de uso
Se você não tem uma conta, por favor registre-se
Obrigado por tudo, Massimo.
Obrigado eevviill, mas minhas habilidades são muito complicadas. Estou começando com a programação, eles são autodidatas e é difícil para mim entender algumas coisas.
Obrigado por tudo, Massimo.
Por enquanto o código que mais se aproxima é aquele que sugeriu I GumRai, mas me dá o sinal e define a abertura da vela e não depois de 3 segundos.
Obrigado por tudo, Massimo.
mas eu nãosou dosinal apóstrês segundosque abriua vela
É melhor escrever primeiro e não "preciso de alerta a cada 3 segundos".
Isto deve ser verificado no primeiro tick recebido que é pelo menos 3 segundos após o tempo de abertura do bar
Observe que se a barra tiver sido aberta n segundos quando o indicador for inicializado e n for >3, ela será verificada nesse momento. Também, obviamente, não funcionará com barras históricas.
Isto deve ser verificado no primeiro tick recebido que é pelo menos 3 segundos após o tempo de abertura do bar
Observe que se a barra tiver sido aberta n segundos quando o indicador for inicializado e n for >3, ela será verificada nesse momento. Também, obviamente, não funcionará com barras históricas.
:))))
1)Gostaria de modificar este código para que o alerta, em vez de aparecer na abertura da vela, detecte as condições após alguns segundos.
2)Mas nãosou dosinal depois detrês segundosque abriua vela
P.S. Não usar Tempo[0], usar Barras
:))))
1)Gostaria de modificar este código para que o alerta, em vez de aparecer na abertura da vela, detecte as condições após alguns segundos.
2)Mas nãosou dosinal apóstrês segundosque abriua vela
Qual é o seu objetivo?
:))))
P.S. Não usar Tempo[0], usar Barras
Por que não? Não há nada de errado em usar o Time[0] para detectar uma nova barra.
Não sei como agradecer a vocês por sua colaboração.
O código postado eevviill funciona muito bem, foi o que eu quis dizer.
O código GumRai , ao invés disso, faz repintar e dar o sinal sempre que o RSI cruza os níveis 30/70.
Eu inseri o código de trabalho de acordo com as sugestões do eevviill, esperando que ele sirva mais.
Obrigado por tudo, Massimo.