Já vi alguns aqui no market mas a certeza que tenho é que foram feitos para forex e não mercado brasileiro, logo não há certeza de que funcionará.
- Ferramenta deve somar a saída e o stop móvel com a minha entrada e ir monitorando a distância.
Imagino que seria contabilizado em quantidade de ticks (ja vi chamarem de pips no mql5) que é o menor movimento no gráfico do preço.
Eu por exemplo, opero dólar no mercado brasileiro, eu definiria que ao entrar comprado quero que ele marque automaticamente:
Take Profit em 6 ticks
Stop Loss em 2 ticks
Stop Móvel (trailling stop) comece a contar com 3 ticks de TP
A distancia entre o stop móvel e o TP seja de 4 ticks.
Dessa forma eu tenho uma posição inicial de entrada e saída, eles são necessário caso haja uma oscilação rápida a ponto de o script não executar a operação em tempo hábil.
De acordo que a operação for evoluindo, ela bate os 3 ticks de TP e dá inicio ao stop móvel, como o stop loss está configurado para 2 ticks, neste momento ele move o SL para 1tick de ganho e o TP para 7 ticks e assim ele vai reajustando o stop e o gain e ganhando posição na operação.
Quando a operação bater no SL ou no TP ele executa a venda
* Opcional de parâmetro:
- Caso todos os contratos não tenham sido zerados ele executa uma segunda ordem de venda/compra a mercado para zerar posição.
- Inserir como opção (deixando livre para a pessoa escolher) é o TP baseado em HiLo, se o candle virar, sai da operação.
** Importante lembrar que ele tem que identificar a quantidade de contratos que estiver no jogo.
---------- English Version -----------
I've seen some here in the market but the certainty I have is that were made to forex and not Brazilian market, so there is no certainty that it will work.
- Tool to add the output and the trailing stop with my input and go the distance monitoring.
I imagine it would be counted in number of ticks (already seen call of pips in MQL5) which is the smallest movement in the price chart.
I for example, operate dollar in Brazil, I would provide that upon entering purchased want it to automatically check:
Take Profit 6 ticks
Stop Loss in 2 ticks
Trailling stop start counting with 3 ticks TP
The distance between the movable stop and the PT 4 is ticks.
Thus I have a starting position of input and output, they are necessary if there is a rapid oscillation to point the script does not perform the operation in a timely manner.
According to the operation evolves, it hits the 3 ticks TP and initiates the trailing stop as the stop loss is set for 2 ticks at this time it moves the SL to 1tick gain and TP 7 ticks and so it will reset the stop and the gain and gaining position in the operation.
When the operation hit the SL or TP it performs sale
* Optional parameter:
- If all contracts have not been zeroed it performs a second order of sale / purchase market for zero position.
- Insert as an option (leaving the person free to choose) is the TP based on HiLo if the candle turn, leaves the operation.
** Important to remember that he has to identify the number of contracts that are in the game.
Ordini simili
Buscamos um desenvolvedor MQL5 experiente para revisar e corrigir um código operacional utilizado em estratégias com derivativos na B3. É Necessário enviar comprovação de experiência real em MQL5 (portfólio, repositórios, cases, etc.). O profissional também assumirá manutenção mensal do código. Tarefas principais • Revisão completa do código, correção de inconsistências e otimizações. • Redução de latência e melhoria
Criterios de entrada: 1 stochastico em um tempo gráfico maior, por ex: 1h 1 stochastico em um tempo grafico menor, por ex: 5m *venda: quando o stoch do tempo maior estiver vendido, espera-se o stochastico do tempo menor entrar na zona de overbought e cruzar pra venda, a venda deve ser a mercado na abertura do candle seguinte ao candle que fez o stoch virar pra venda, ou seja a ordem só deve ser aberta quando o candle