Техническое задание
Please see bellow the spec of GEA5:
1. Imagine that the whole price spectrum is divided to infinite number of discrete levels and the
distance between each 2 consecutive levels is D (Distance). D is a Process parameter.
Each level is marked Li, where
L0 is the first level where the EA is initiated.
2. A Process is like in previous versions of GTR,a series of trades that are being executed
according to the logic that is described herein.
3. GEA5 is, like previous versions, a multi-process EA. The focus will be to describe how a
process behaves. Each process will have its own parameters defined under [Process Type
n]. PipsGap will be included in the Process parameters like in GTR4.
Here is a Process acts:
4. On each level the Process opens N trades (N is a Process parameter)
marked as T1,T2,T3…..Tn
5. All trades on a certain level have the same order type: All are Buy or all are Sell.
6. Each of these trades has its own volume marked as V1,V2…..Vn
7. The total volume on each level is therefore V1+V2+…+Vn=V
8. These volumes are described by a Volume Vector (VV) : VV=V1, V2….Vn
9. The trades on the first level L0 depends on the Initial Trade parameter (Process parameter)
10. The trades on all the other levels depends on the direction: If the price went downwards and
reached a certain level Li, then all V trades on this level will be Sell. Similarly if the price
went upwards and reached a certain level Li, then all V trades will be Buy.
11. The Take Profit values for the T trades are described also as a vector and described as
multiplications of the D. It will look like this: TakeProfitVector=TP1, TP2....TPn. A typical
TakeProfit vector may look like this: TakeProfit=2, 3, 1, 5, 5…, Meaning TP for T1 is 2*D,
TP for T2 is 3*D, and so on and so forth.
12. Same for stop loss: StopLossVector=SL1, SL2,…..SLn
13. If due to market movements the EA reaches a level where T trades where already opened in
a previous “visit” of this level, then the EA acts according to the following 3 rules:
i. It there are N open trades on this level – don’t do anything
ii. If certain T trades where already closed before due to TP or SL, and the EA reaches this
level from the “right” direction (upwards or downwards), then open these missing trades
again to complete a full series of N trades. If for example N=5 and the price moved upwards
and reaches a level where there are 3 Buy trades: T1, T2, T5, then another new 2 Buy
trades will be opened: T3, and T4, to complete the full series.
iii. If the price reaches this level from the “wrong” direction, meaning it hits this level in an
upwards movement but the trades that are already open in this level are Sells – don’t do
anything.
14. Header parameters:
1. GlobalTP
2. GlobalSL
3. GlobalAuturestart
4. Number of processes
15. Process parameters:
1. D
2. N
3. ProcessTP
4. ProcessSL
5. VV (N components)
6. TakeProfitVector (N components)
7. StopLossVector (N components)
8. PipsGap
More detailed spec will be provided to the qualified candidates
Please let me know of any questions you may have.
Menachem