Termos de Referência
I´m lokking for an EA which is handeling orders (several orders - each for his own) opend by other EA or manual (this orders are called in descriptioen BASIS order).
As long as the Basis orders (order from other EAs or Manual is open this new EA should manage) as long does new EA open several orders on different distance levels (Note on each Distanc Level EA is opening just one Order), if distance Level is reached, EA does deside on each distance Level, if placing one of 4 possible orders. Order can be
first. one order in direction,
or second an order in direction + multipieled ,
or third an order against direction (Hedge)
or an order against direction (hedge) + multipied.
Incloud this explanation I will deliver a Video to explain again
Parameters
Distance Pips (for example 6 pips) – distance is calculated always from Basis Level - ther will be for example 3 distanc levels better (better is in direction of profit) from basis and there will be 15 distance Levels against (minus) were EA normal open an order and deside what kind of order EA should place - see above 4 oportunities.
Distance in trend max: 3 - I want to definate - So if order goes in plus I want to definate Xlevels were EA should place an market order - In the direction of profit is no Hedge order possible - just order in direction and + mulipile.
Distance against Trend max :
15 levels I want to definate - so if order goes in Minus I want to
definate on
how many distanc levels EA is open an order. every x pips against trend
calculated from Basis EA should open an order. The first Xlevels in
Minus
there is only Order in direction and order in direction Multipieled
possible. Below that all 4 explaind opening functions should work.
Multipiler – works always from Basis order lots - so if there is 2 lots - Opening order is basis lots * 2
TP – Is always same as Basis TP – this should be checked
every minutes for all alredy opend level
orders. Note TP works only for Orders in Trend of Basis - Hedge orders does not have an TP
SL – I definate.
The logic for opening the orders in direction, Hedge, with Multipiler ore without Multipiler on each distance Level as follows.
Under normal conditions EA does open same lots (as basis order) on definated
distance (calculated from basis) away in direction of basis. All
entries for distance levels are
calculated form Basis order. So If distance is 6 - first order will be
opend 6 pips away from basis. second order will open 12 pips away thrid order will open 18 pips from basis order away and
so on.
EA does now before opening Basis order Check alredy open buy and sell orders in System (and shows this in chart) with differenz or oversice. If there are more orders against direction EA does opend orders in combination with multipiler.
If there are more Orders in Trend EA does open an Hedge with lots of basis or an with Hedge Multipied with Lots of basis. Multipiler woks only if oversice is bigger as Xlots of Basis order.
In chart should shown
Buy order - Summ all lots opend in Terminal
Sell order - Summ of all Lots opend in Terminal
= differenz
On base of this Differenz EA deside to open an order Mulitpield or Hedg or an normal order or an normal hedge.
How to place Hedge wiht normal Lots and how to place Hedge with Multipiler:
EA does check differenz of buy and sell orders and if there not more orders in direction of Basis *3 EA does place an normal Hedge on the Level with normal Lots of Basis.
If there are more orders in direction as Basis *4 EA does place Hedge orders from basis with Multipiler.
Hedge and Hedge multipiler works only form Level X - so if there is inputet 6 - Level 1 to 6 can only place oders in direction and in direction Multipieled - from Level 7 on, EA can place also Hedge and Hedge Multipiled.
Hedge Multipieled does also not work in Levels better entry price.
Parameter:
Levels Long - Definat hov many distance Levels from Basis order long - I want to definat how many Level long (if price goes better than opening price of Basis) EA should open on each distanc Level an order
Levels short - Definate
how many sitanc Level from Basis order short - I want to definat how
many Level short (if price goes worser than opening price of Basis) EA
should open on each distanc Level an order.
Differenz Lots more against
: More than Basis lots * 4 – So if there more as 4 times more lots as Basis
order opend against Trend, EA place Order right now with Multipiler
Diffrenz orders in direction Place Hedge – EA checking buy
and sell orders form EA and if there are Xmore lots in direction of Basis Order, EA
does place an hedge.
Differenz order ins direction Place
Hedge Multipiled - If there are more as xlots in direction (Basis lots * Multipiler) EA place hedge
with Multipiler.
Price goes Down: Start Hedge Multipieled on LevelX- I want to definate from which level on if price goes down Hedge and Multipiler works also - so from 1 to 4 should not work Hedge and Hedge Multipiler - than should work from Level 5
Note for - Up orders works only normal Lots and Multipiler - not hedge and Hedge Multipiler.
-------------------------
Magic number excluding- EA should not Handel orders from this EA
2-Magic number excluding- EA should not Handel orders from this EA
3-Magic number excluding- EA should not Handel orders from this EA
4-Magic number excluding- EA should not Handel orders from this EA
5-Magic number excluding- EA should not Handel orders from this EA
-----------------------------------------------
Magic number of EA
Important Notes:
When Basis is closed all other Levels are closed too
EA musst handel more basis orders.
In Comments I want the informations Order number from Basis and witch Level this order is.
EA has to check every xseconds if TP is the same as in Basis order.