Job finished
Specification
Requirement:
1. The idea of this EA is based on a time series strategy.
2. This will work on the 1hr time frame on MT4.
3. A particular candle is selected based on time and it will be the focus of the strategy.
4. Once that candle closes, a pending buy order is placed x pips above the high of the candle and then a pending sell order is placed x pips below the low of the candle.
5. Stop loss is placed either above the high or low of the candle of focus.
6. When an order is triggered, the other pending order is cancelled.
7. If length of candle is 200 pips or more, then no trade at all.
8. As part of the input parameters, I should be able to select what lot size to trade.
9. I should also be able to select a lot size to close part position with.
10. I should be able to select how many pips in profit at which I can close part of my position and automatically move stop to breakeven
Input Parameters:
1. Select time for candle of focus Eg. 18:00 server time
2. Enter pip amount used for entry above or below the candle E.g 10 pips above the high and 10 pips below the low of the candle.
3. Input lot size to trade
4. Input lot size to close partial position
5. Input pips to close partial position
6. Input take profit pips
7. Enter pips for which stop loss can be moved to breakeven
8. Should allow manual adjustments of trade ie. Moving to breakeven, closing partial positions,
9. If length of candle is equal to or greater than x pips, then no order entry. Allow input for x.
10. Should be able to have two input panels for two settings to allow for another candle of focus.(Eg. settings 1 for Candle at 18:00 and then another settings for candle at 3:00am)