İş tamamlandı
İş Gereklilikleri
hello
i need a EA that will manage my trades that i will put manually
A kind of semi-automatic robot.
** When attaching the EA to the chart, all the specified things below will take action to that same exact chart's symbol that the EA has been attached to.
_________________________________________________________________
The EA that will have those parameters:
ENTRY_PRICE: [ X ]
TP1: [ TP1_Price ]
TP2: [ TP2_Price ]
TP3: [ TP3_Price ]
SL: [ SL_Price ]
RISK_IN_USD: [ 200 ]
ENTRY_REGION_IN_PERCENT: [ 5 ]
_________________________________________________________________
Rules:
When entering those parameters in and clicking OK, the EA will open only 1 trade on the selected parameters above on the attached symbol of the chart,
the SL will be server-sided (an actual SL), however all the 3 TP values would be Virtual.
EXAMPLE:
We opened a new chart of NZDCHF, we attach the EA, we set the following values:
ENTRY_PRICE = 0.58780
TP1 = 0.58980
TP2 = 0.59280
TP3 = 0.59780
SL = 0.58180
RISK_IN_USD: 200
ENTRY_REGION_IN_PERCENT = 5
The EA should understand that we are planning to BUY because TP values are higher than the ENTRY_PRICE, and the SL is lower then the ENTRY_PRICE,
however i want an a mechanism that will understand that if the Current real time price is HIGHER than the ENTRY_PRICE value in 5% for example (ENTRY_REGION_IN_PERCENT = 5), the EA will place a MARKET order,
otherwise place a PENDING LIMIT order at the specified price (ENTRY_PRICE = 0.58780).
**if the for this example we need to open a BUY position, but the Current real time price is already passed or equal to the SL/TP1/TP2/TP3 values, then DO NOT ENTER ANY ORDER, because it is already irrelevant.
RISK_IN_USD, this parameter will calculate automatically the lot size value that needed for the position if i want to only risk 200$ of my EQUITY as my SL.
Managment:
When the price hit the TP1 price value, Then close (TP1_ClosePercent) of the lot size & Move the SL will be set to the Entry Price value (Move to BreakEven),
When the price hit the TP2 price value, Then close (TP2_ClosePercent) of the lot size & Move the SL to the TP1 price value.
**When the position is closed by hitting TP3 or SL, then UNLOAD the EA from the chart.
_________________________________________________________________
** If for some reason the MT4 platform will be closed and reopened again, the EA hopefully will remember that it got Virtual TP values and continue to manage the orders like nothing happened.
** Each order will have its own automated MagicNumber so if i will want to open another position on the same symbol the new order wont interfere with the other order.
I say in advance that there may be bugs or minor changes
Please be patient and fair