Auftrag beendet
Spezifikation
Modification of EA3
Part 1: Specific
In the previous version of EA, only one parameter (X) was used. In the modification it will be changed to 3 as follows:
“X “: distance of create a pending order
“Y”: distance of stop loss
“Z”: distance of modification (trailing) of the pending orders
1- Add ( Y ) as a Parameter to the input list for stop loss setting and Change the parameter of stop loss setting in the old EA program to Y
2- Add (Z) as a parameter to the input list for distance of pending modification.
3- Remove stop loss for the last active position in previous EA (see attached diagrams).
4- If trend changed to the opposite then the TP of the last active position (that has no stop loss) will be set to start price of position. (Take profit = price of position). (see the attached diagram.)
Part 2: General
5- Add “Pending Multiplier: 0.0” to the input list for multiply (coefficient) the size of the pending orders.
6- Add “Reverse Key: true/false “to input list. The true reverse will make opposite pending order.
7- Add “Use SL: true/false “to input list. False means: disable stop loss for all active positions.
8- Add “Enable Target Dollars: true/false” and “Target $ size: 00.0”. It is calculating all related positions if the sum is equal to the target $ size then close all.
9- Add ”Trailing start:00.0 ,trailing step:00.0 and Trailing stop:00.0 “ to input list . the value = 0 means no trailing
10- Add " Take Profit : 00.0 "
Part 3: Info and report
11- Add “Stop level: 00.0” to the account info text list. The stop level value is in the contract specification of each currency.
12- Send notification for the important items ,as follows:
- When EA create a new pending
- When a pending order is activated
- When the trend direction is changed
- When and Why a position is closed