仕事が完了した
指定
Eu por exemplo, opero dólar no mercado brasileiro, eu definiria que ao entrar comprado quero que ele marque automaticamente:
** 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.