Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
Need a simple EA that will place limit orders at intervals when previous order is filled. For index futures symbols; EP, ENQ, YM, RTY, also Crude Light and Gold futures. Netting account.
INPUTS:
Lot size (whole integer)
Next buy/sell Interval spacing (Points (for example 1.75 Points, not pips)
Max Lots open
Total Position Stoploss in USD
Total Position Take Profit in USD
Daily Drawdown Max in USD
Daily Profit Max in USD
Daily Start/Stop Trading times - able to start at 18:00 and stop 16:30 following day
Operation:
If position is zero, buy market order.
If position is 1x lot long, sell limit 2x lot at interval above position, and buy limit 1x at interval below position. If price continues to drop, continue at interval, 1x lot buy limit below and 1x lot sell limit above from last filled order
If position is 1x lot short, buy limit 2x lot at interval below position, and sell limit 1x at interval above position. If price continues to rise, continue at interval 1x lot buy limit below and 1x lot sell limit above from last filled order
Money Management
Total Position Stoploss in USD - can disable
Total Position Take Profit in USD - can disable
Daily Drawdown Max in USD - Flatten until restarted or next trading time start - can disable
Daily Profit Max in USD- Flatten - Flatten until restarted or next trading time start -can disable
Demo and backtestable
Need source code
That is all