ScriptForOrders
- Utilitários
- Vitaly Murlenko
- Versão: 1.0
- Atualizado: 16 dezembro 2022
- Ativações: 10
O utilitário ScriptForOrders destina-se a fazer pedidos com o parâmetro Magicnumber necessário manualmente!
Ordens abertas manualmente têm Magicnumber = 0. Expert Advisors frequentemente abrem ordens com um parâmetro Magicnumber diferente de zero. Isso é feito para que o EA possa distinguir suas próprias ordens das dos outros ou aplicar diferentes algoritmos de controle a diferentes ordens.
Mais cedo ou mais tarde, o trader se depara com uma situação em que precisa intervir no trabalho do consultor e fazer um pedido manualmente (o mercado muda e os pedidos do consultor precisam ser corrigidos). Mas para definir tal ordem que o consultor assumirá como seu. Não há como fazer isso usando o terminal. É por isso que ScriptForOrders vem em socorro.
ScriptForOrders pode definir ordens: Buy, Sell, BuyStop, SellStop, BuyLimit e SellLimit. Todos os parâmetros do pedido são especificados em pontos, o que adiciona conveniência adicional.
Além do acima, ScriptForOrders tem uma capacidade integrada de usar ordens de parada atrasadas. O que é isso? Em alguns centros de negociação, não é possível abrir programaticamente uma ordem de mercado com tamanhos StopLoss e TakeProfit predefinidos. Nestes Centros de Negociação, deve primeiro abrir uma ordem de mercado e só depois pode definir a ordem stop pretendida. ScriptForOrders tem um parâmetro que permite trabalhar neste modo também.
Você pode ver tudo isso no vídeo abaixo.