仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
I want an EA with the following specification
I)When the Expert Advisor is place on a chart on any time frame, it should immediately create two horizontal lines(upper line for buy order and lower line for a sell order ). In the EA’s setting, there should be two fields for entering the upper and lower prices for these lines.
II)Trade positions are opened based on price closing above or below these lines. For example, if price closes above the upper line, a buy position is opened of x lot. As long as price doesn’t close below the lower( sell line) no sell position is opened. If price closes below the lower line, a sell position of y lot should be opened and so on. Basically, each time price crosses either of the lines, the lot size is increased and a new position is opened.
Please note that, positions are opened, alternately. that is if a buy position is opened, then no buy position is opened until a sell position is opened. and then after that no sell position can be opened until a buy position is opened and so on. Basically, you can not open two back to back buy or sell others.
III).In the EA settings, there should be 25 fields were the lot sizes can be entered. Values for lots size should be entered manually. In a trade, the first position should use the values in the first field, the second position should use the values in the second field, the 3rd positon should use the value in the 3rd fields and so on .
IV) There should be a field for take profit. When the value entered for take profit is reached, all opened positions in the trade should be automatically closed at he same time( there should be no delay)
V) In the EA setting, There should be a field were value for trailing stop can be entered. This field should accept a zero value
VI) After take profit is reached and all positons closed. the EA should be disabled, so should not start a new trade until it is manually enabled using an enable button in the settings
VII)At any time in a trade, the upper and lower horizontal lines can be adjusted by changing the values in the price field in the EA settings. When this is done, the EA should start using this only this new upper and lower prices value for buy and sell
VIII) The EA MUST have continuity and memory. By this I mean, if it is taken off the chart , if any type of interruption takes place, if trading stops on Friday or on holiday, or if for any reason there is an interruption, when the interruption is over, it should immediately recognise all trade it started before the interruption and should continue monitoring it again like there was no interruption. This is very important
IX) The EA should be able to work independently even if other EAs are attached on the same graph
Budget is $100. Completion time is 4 working days( this includes testing time)