Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
dear coders
i need your help to convert my arrow indicator into a semi matic ea for MT5 with some minor button needed to assist me in my trading session
1. ea is activated using pending command,
for example
when i place a
1.buylimit at price xxx00 : ea will place a buy order when there is an up arrow detected and averaging buy will take place for every up arrow that appear below the prvious buy made by EA
2. buylmit at price xxx11 : ea will place a sell order when there is a down arrow detected and averging sell will take place for every down arrow that appear above the preevious sell made by EA
note: EA will look for the last 2 digit of the buylimit order that i place
3. takeprofit will be automatically set using the opposite value of bolinger band period xx deviation x
4. all buy order will be close on the first down arrow that appear AFTER the price hitting the upper band of bb perio xx deviation xx
5. all sell order will be close on the first UP arrow that appear AFTER the price hitting the lower band of bb period xx deviation xx
6. i also need a button in the chart that contains the following
buy in timeframe 1/5/15
sell in timeframe 1/5/15
when i hit the button, ea will place order according signal that appear in the related timeframe.
for example:
when i clik the buy in timeframe 15 , ea will only execute ONLY buy signal from timeframe 15min
when i click the buy in timeframe 5minute, ea will only execute ONLY buy signal from timeframe 5minut
horizontal line for sell (when i click this button, there will be a horizontal line that i can place in the chart. and when price go above this line from below , eA will place a sell order IF there is a down arrow... and will averaging sell for every down arrow that appear above the previous sell done by EA) and the line will be deleted
horizontal line for buy (when i click this button, there will be horizontal line that i can place in the chart and when price go below this line, EA will place a buy order IF there is an UP arrow and will averaging buy for every up arrow that appear below the previous buy done by EA.. and the line will be deleted)
7. close all pending order button
8. close all orders