Tâche terminée
Spécifications
- Se após três velas consecutivas de queda, a quarta for de alta com o seu fechamento maior ou igual a abertura da primeira vela de baixa, o indicador colocaria uma seta para cima no gráfico. ( Foto EURUSDM30 SELL)
- O mesmo funcionaria ao contrário, se após três velas consecutivas de alta, a quarta for de baixa com o seu fechamento menor ou igual a abertura da primeira vela de alta, o indicador colocaria uma seta para baixo no gráfico. ( Foto EURUSDM30 SELL)
Algumas observações:
- O indicador deve dar o sinal assim que a quarta vela fechar e formar um dos o padrões descritos acima.
- As setas tem que ter buffers ( exemplo: 0 para buy e 1 para sell) para que eu possa automatizar. Anexei um indicador que faz a conexão com o programa que eu uso, ele precisa ser reconhecido por esse indicador ( anexo MT2Trading_Auto ) como na foto em anexo NZDUSDM30.
- Verificar se o indicador está levando em consideração velas Doji para dar o sinal, pois fazendo o backtest percebi que tem algumas situações em que o doji aparece e o indicador poderia dar um falso sinal.
- Gostaria de duas versões do indicador, uma com a seta aparecendo no quarta e última vela do padrão (shift 1) e outra com a seta aparecendo na vela atual do gráfico (shift 0, a vela seguinte à formações do padrão).
- Enviar o código aberto do indicador, o arquivo MQL4 editável.