Tâche terminée
Spécifications
TERMOS DE REFERÊNCIA
Implementar 2 Stops Móveis no EA N Candles V9 Renko:
1. Máximas e Mínimas da vela anterior: neste item coloque a opção de escolhermos a qual vela se refere. Deixar um campo aberto e parametrizável para inserirmos um número de indicação de vela. A lógica do número da vela é a mesma de programação, sendo a vela em aberto a vela zero e a vela fechada imediatamente anterior ao que está aberto é a vela 1, o próximo é a vela 2 e assim sucessivamente.
2. Oscilação mínima do ativo: neste item coloque um Stop que se mova sempre que haja oscilação mínima do ativo. Por exemplo, no caso do índice (WIN, utilizado na B3 do Brasil) o mesmo se movimenta de 5 em 5 pontos, dessa forma, independentemente de outros Stops sendo acionados ou não, este Stop deve se movimentar sempre na direção do movimento, sempre que ele se mova o seu movimento mínimo. Deixar um campo aberto e parametrizável para inserirmos um número de indicação de quantos pontos o ativo tem que andar para que o Stop ande também. Ou seja, este Stop pode andar na oscilação mínima e também pode andar na oscilação que o usuário quiser indicar.
OBS:
· Este EA trabalha(Lê) com gráficos de Renko e gráficos personalizados como mostrados nas imagens abaixo. Onde se Lê vela, na verdade é Vela ou BOX Renko.
· Existe um Stop Móvel neste EA, mas não consegui configurá-lo de forma que ele reconheça o fundo do BOX anterior ou que ele seja acionado ou fique a um distanciamento desconfortável.
· Devem ser disponibilizados os arquivos mq5 e ex5 com código fonte aberto para que seja possível realizar novas alterações no EA em outros momentos.
Gráficos personalizados, Renko e outros modelos em que o EA funciona normalmente, são apenas com problema na execução correta do Stop Móvel, por isso a necessidade de implementar mais esses 2 Stops móveis. Os Stops devem seguir apenas na direção do movimento, nunca regredir.