İş Gereklilikleri
Dear Friends,
i have an EA in this need to fine tune in that.
The working method as per attached EA, but it is problem in placing pending order.
Also need to change the parameter as per mentioned in the txt file
(A) Order_Placement_Immediate : True / False
(B) Follow_Distance_Between_Each_Open_Order_From_Current_Market_Price : 100
(C) Use_Place_First_Order_Buy : True / False
(D) Use_Place_First_Order_Sell : True / False
(E) Distance_Between_Each_Set_Off_Orders : 100
(F) IF_Buy_First_Intial_Buy_Lot_Size : 30
(G) IF_Buy_First_Intial_Sell_Lot_Size : 3
(H) IF_Sell_First_Intial_Buy_Lot_Size : 3
(I) IF_Sell_First_Intial_Sell_Lot_Size : 30
(J) BuyStop_Lot_Increment : -1
(K) BuyLimit_Lot_Increment : 1
(L) Selllimit_Lot_Increment : 1
(M) SellStop_Lot_Increment : -1
No_Of_BuyStop_Pending_Orders : 5
No_Of_Buylimit_Pending_Orders : 5
No_Of_Sellstop_Pending_Orders : 5
No_Of_Selllimit_Pending_Orders : 5
Use_Auto_Increment_Lot_Size : True / False
Lot_Increment_amount_In_USD : 1000
Lot_Increment_Size : 0.001
Account_No_Lock : 111111
Expiery_Date_Month_Yeat :14:04:2018
Follow_Individual_Take_Profit_for_every_Order :
Follow_Individual_Trailing_for_every_Order :
Follow_Individual_StopLoss_for_every_Order :
Average_Take_Profit :
Average_Trailing :
Average_StopLoss :
WORKING METHOD
(A) Order_Placement_Immediate : True / False
If this paremeter is true then EA has to open the order imidetaly.
If this Parameter is false then EA has to wait to place the order until the following paremeter meets
(B) Follow_Distance_Between_Each_Open_Order_From_Current_Market_Price : 100
If this parameter is true then Ea has to OPen pending order in both side of the market above 50 Points and below 50 Points
If the Market Price is 1.11000, then Pending Order has to Open for Buy_Stop of 30 Lot & Sell_Limit of 3 Lot at a price of 1.11050 and the
Pending Order for Sell_Stop of 30 Lot & Buy_Limit of 3 Lot at a price of 1.10950.
(C) Use_Place_First_Order_Buy : True / False
If this paramter is true then EA has to open first order of Buy Lot.
(D) Use_Place_First_Order_Sell : True / False
If this paramter is true then EA has to open first order of Sell Lot.
(E) Distance_Between_Each_Set_Off_Orders : 100
If the Inital order is placed at the price of 1.11050 Buy 30 Lot & Sell 3 Lot, the next pending order distance is 1.11150, 1.11250, 1.11350 respectively for
Buy_Stop & Sell_Limit pending Orders and for distance of Sell_Stop & Buy_Limit pending Orders are 1.10950, 1.10850, 1.10750 respectively.
(F) IF_Buy_First_Intial_Buy_Lot_Size : 30
(G) IF_Buy_First_Intial_Sell_Lot_Size : 3
If the first order opening as a Buy then the lotsize is 30 and for sell lotsize is 3
(H) IF_Sell_First_Intial_Buy_Lot_Size : 1
(I) IF_Sell_First_Intial_Sell_Lot_Size : 30
If the first order opening as a Sell then the lotsize is 30 and for Buy lotsize is 3
(J) BuyStop_Lot_Increment : -1
(K) BuyLimit_Lot_Increment : 1
(L) Selllimit_Lot_Increment : 1
(M) SellStop_Lot_Increment : -1
For this parameter the calculation method is as below,
BuyStop_Lot_Increment : (F) IF_Buy_First_Intial_Buy_Lot_Size : 30 + ((G) IF_Buy_First_Intial_Sell_Lot_Size : 3 x -1) Eg : 30 +(3x-1) = 30 -3 = 27
BuyLimit_Lot_Increment : (H) IF_Sell_First_Intial_Buy_Lot_Size : 3 + ((G) IF_Buy_First_Intial_Sell_Lot_Size : 3 x 1) Eg : 3 + (3x1) = 3+3 = 6
Selllimit_Lot_Increment : (I) IF_Sell_First_Intial_Sell_Lot_Size : 30 + ((H) IF_Sell_First_Intial_Buy_Lot_Size : 3 x -1) Eg : 30 +(3x-1) = 30 -3 = 27
SellStop_Lot_Increment : (G) IF_Buy_First_Intial_Sell_Lot_Size : 3 + ((H) IF_Sell_First_Intial_Buy_Lot_Size : 3 x 1) Eg : 3 + (3x1) = 3+3 = 6
IMPORTANT NOTE : ONCE THE OPEN ORDER IS TRIGERRED WITH TP OR SL. THEN IMEDIATLY CLOSE LAST PENDING ORDER OF PREVIOUSLY OPNED AND PLACE
THE PENDING ORDER IN THE SAME PRICE WITH THE SAME LOTSIZE IN THE ALREADY OPEN PRICE
FOR REFERENCE PURPOSE EA ATTACHED.
The details enclosed,