Job finished
Specification
Hello,
I need an EA that works as follows:
1. Current turnover greater than previous turnover = EA issues an order in the direction of price.
2. Current turnover lower than previous turnover = EA issues an order in the opposite direction to price.
3. Current turnover as before = EA issues an order in the price direction.
The price direction will be determined as follows: difference in values between the current candle and the previous candle, if positive, the price goes up, if negative, the price goes down. The candle values should be adjustable, and should be: close, open, high, low, HL / 2, HLC / 3, HLCC / 4.
Whenever a new candle is formed, the EA closes the current position and opens a new position. Volume bar to analyze will always be the last closed bar.
The price levels for performing an operation will be adjustable in points between negative and positive values. Negative value, the EA issues a STOP order, positive value the EA issues a limit order. Zero value, the EA issues an order at market price.
The EA will still have a time filter.
The order lot calculation will be defined by the fixed volume, regardless of profit or loss.
The adjustable parameters will be as follows:
1.Price level to execute a deal (in points)
2.Stop Loss Level (in points)
3.Take Profit Level (in points)
4. Expiration of pending orders (in bars)
5. Price Series (close, open, high, low ...)
6. Intraday Time Filter (-1,0,1 ...) Good hour
7. Intraday Time Filter (-1,0,1 ...) Bad hours (bit-map)
8. Intraday Time Filter (-1,0,1 ...) Good day of week
9. Intraday Time Filter (-1,0,1 ...) Bad days of week (bit-map)
10. Stop Loss trailing level (in points)
11. Take Profit trailing level (in points)
12. Percent
13. Fixed Volume
The EA should work on any chart time and any symbol and should also be tested on the strategy tester.