작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
Hello,
I would like to automate my manual trading strategy into an automated strategy.
I know exactly and precisely what I want, but it is sometimes difficult for me to explain it because I do not speak good English.
I'm looking for a programmer who has knowledge of forex, not just programing.
I need him to understand what I want, because what we want and what can be done is different.
I wish he could advise me if he has a better idea than what I'm going to propose.
I have already done EAs by programmers, but often EAs is
unusable, because the programmer simply does what I ask, without warning me of
the problems I will encounter (even if he is aware of it)
Here are the technical specifications:
An EA with a simple bollinger band strategy
The EA will have to have:
-- Basic setting of the Bollinger band strategy
-- Opening of position when the price crosses the high line, and the low line
The upper line opens a SELL position, the lower line a BUY position
-- Adjustment of position opening after the price and crosses the line of: xxx PIPS (adjustable PIPS)
Same thing for the high and low line
-- adjustment lot size
-- and adjustment by Risk: %.
I would like to have 3 choices of position openings:
-- First position: in xx PIPS (after crossing the high or low line)
-- Second position: in xx PIPS (after crossing the high or low line)
-- Third position: in xx PIPS (after crossing the high or low line)
For each position I must be able to adjust:
-- Number of pips after the line for opening
-- The SL
-- The TP
-- Break Even
-- Trailling SL: fixed start setting in PIPS, with the choice of correction in PIPS
-- Possibility of TP closure (enable/disable setting) with the Bollinger band center line
Martingale strategy:
-- this strategy should be able to be enabled / disable
** In the case where the "disable" position is used, the EA uses the strategy of the 3 positions I explained above.
** In case the strategy is on "Enable" I must have 4 choices
1) the strategy of the 3 positions is automatically deactivated, and we start
immediately by a martingale strategy
2) The martingale strategy starts after the first position
3) from the second position of the first strategy
4) from the third open position
We must have in this section all the basic settings of a martingale strategy
-- Position opening after "xxx" pips (number of PIPS adjustable exactly as in the strategy above), after crossing the high or low line.
Always a SELL position if you cross the top line, and a BUY position if you cross the bottom line.
-- start lot size
-- In risk %
-- TP in pips
-- SL in PIPS after the last open position
-- number of authorized positions
-- Position intervals in PIPS
-- multiplication coefficients of the following position
-- Closing by equity after a number of "adjustable" open positions
General protection:
-- Sl by equity (in case the EA had to open 3 positions (or more if using martingale, see below))
-- Protection by SL in % of loss on the account
-- SL protection by entering a specific authorized loss amount
The protection parameters must be independent for this magic number, and in no case influence the EA that will be installed on another currency pair.
Protection on orders:
-- Max slippage
-- Max Spread
General :
-- Adjustable commentary
-- Magic number adjustable
News filter:
--- Currency: EUR, GBP, USD, JPY, XAU,............. ( all the other)
--- independent settings for, LOW, MEDIUM, HIGH
--- For each type of news the pause time before and after the news in minutes
Adjustable trading time and days
-- each trading player sets enable / disable, per day
-- And the schedules where the EA must work in hours and minutes
I have to be able to start and stop several times during the day (I need 3 different times, or if it's easier, 3 choices of schedules or the EA will be paused)
There must also be a section for manual trading (with buttons that will be visible on the panel, on the graph)
-- BUY, SELL, CLOSE ALL button (which only closes positions with this magic number, for this currency pair only, and not all open positions)
-- Martingale ON/OFF button
Using the buttons manually, it will use the strategy of the 3 positions of the EA, or the martingale strategy preset in the EA, if the "martingale ON" button is selected on the panel, on the graph in manual trading.
In fact, trading manually will simply start the EA, but at any time, and not necessarily after the automated setting (after XX PIPS) in the settings.
In the EA, I should be able to disable automatic trading, but keep the manual trading function, which will activate all the automation set in the SETUP.
I wish to have a colored arrow indicating the moment when I have to sell or buy (Indication that I would use in case I would disable the automatic mode, but the arrows can be displayed in both modes, it is not important) .
I need to have a panel on the graph with visible, summary:
-- Libra
Equity -- Equity
-- Magic number
-- Start lot size
-- Next batch size ( next position)
-- Current spread
-- DD Maximum reached for this currency pair
-- GAIN/LOSS for this currency pair (not for the account in general, only for this specific magic number, and that it keeps it in memory in case MT4 is closed and reopened)
- The panel and the buttons BUY / SELL ... must be able to be moved on the chart independently.
An additional feature, in some difficult cases, and bad situation, it is convenient to be able to close some positions manually.
For example, let's take an idea where 3 positions 1 / 2 / 2 / 3 would have been open for purchase.
The price frequently goes down, position 3 is often in negative, but does not cover position 1+2.
THE EA in this case does not close the positions.
I need to take control and close position number 3, and maybe even position 2.
I want the EA to be able to open these positions again when the price exceeds the levels normally set in the EA
This function must also be adjustable (Enable/Disable) for automatic reopening of positions
In EA, each part
should be distinct and logically grouped together
- Position part
- Protection part
- News Party
- Indicating part ......
......
I would give
examples of layout in the settings, type of news, schedules .... and type of
panel on the chart
But I'm not closed, I of course accept the proposal and modification at all
levels of the EA if you see things easier, or improved at the design level
We will just have to be agree
I have been working with this strategy for a very long time, manually, when it is applied it is extremely reliable, and takes little risk.
But I don't know how to automate it, it's complicated.
So I expect the programmer to help me with a discussion, an exchange of ideas thanks to his experience in programming, I want him to invest himself so that everything works perfectly.
I'm in no hurry, it may take time.
I would ask in return for time to test this EA, as some functions cannot be implemented on the same day.
I look forward to your proposals
Thank you!!!