Pending Order Repeater MT5
- Experts
-
Mario Jemic
Analista Certificado de Mercados de Capitais e Valores Mobiliários
Investidor profissional.
Engenheiro desenvolvedor por trás da FXCM Trading Station.
Tenho a oportunidade de trabalhar com algumas das tecnologias mais avançadas disponíveis hoje.
Localização atual: Zagreb, Croácia - Versão: 1.0
- Ativações: 5
Places your Buy Stop or Sell Stop again, at the same price with the same SL, every time the trade is stopped out.
## Description
Pending Order Repeater is a trade utility for traders who want to keep a level in play. You set the pending order once. Each time the trade it opens closes at the Stop Loss, the EA places the same order again: same symbol, type, price, lot size, Stop Loss and Take Profit.
How it works
- Place a Buy Stop or Sell Stop with a Stop Loss by hand, on any symbol. The EA, attached to one chart, watches all symbols.
- When the order fills and the trade closes at its Stop Loss, the order is placed again at once.
- If the price is still beyond the entry level and the broker does not allow the order yet, the EA waits and places it as soon as it can.
- The cycle repeats until you end it: delete the pending order or close the trade by hand.
- Optional: end the cycle after a Take Profit, or after a maximum number of repeats.
- Buy Limit and Sell Limit orders can be included with one input.
Details
- Only orders you place by hand are picked up (magic number 0). Orders from other EAs are left alone.
- Pending orders without a Stop Loss are ignored.
- The cycles are saved to a file, so they survive a terminal restart.
- A panel lists every active cycle: symbol, order type, lots, price, stop, number of repeats and state (order placed, position open, waiting for the price).
- On the chart of the symbol, the entry and stop levels of each cycle are drawn with the repeat count.
- Every action is written to the Experts log.
- It has no strategy of its own and opens no trades you did not set up.
Inputs
- Start cycles only from hand-placed orders; include Limit orders.
- End the cycle at the Take Profit; maximum repeats per cycle.
- Magic number of the re-placed orders.
Risk note: every repeat is a new trade with the same risk. Use the maximum repeats input if you want a limit.
In the Strategy Tester the EA places a sample Buy Stop and Sell Stop near the price, so you can watch the repeats in visual mode.
