Virtual pending order EA addition to existing EA

MQL4 专家 积分

指定

Overview.
Existing EA with below logic #1 shows high potential for positive trades as a standalone.  Added logic #1 allows a bad trade to hedge and up positive by adding hidden pending orders in the direction of trend or during a breakout..  This EA alone with this logic before pending orders shows nearly 90% win rate.
 


Trade Logic #1      
User Input Trade Logic 1=Enable or disable.  Enable would allow( EA to be used alone with below criteria)
For a buy trade  Volume    
Trade# Type  Distance from trigger(Points) Order Type TP SL
1 Buy Custom Lot 0-Market  Input already in existing EA 
2 Buy Custom Lot Input Value 1 Hidden Pending Order same as calculated TP for 1 
3 Buy Custom Lot Input Value 5 Hidden Pending Order same as calculated TP for 1 
4 Sell Custom Lot Input Value 30 Hidden Pending Order when trade comes back into contact with Line 2 in Keltner Indicator. *Same as Profit for Trade#1
5 Sell Custom Lot Input Value 35 Hidden Pending Order when trade comes back into contact with Line 2 in Keltner Indicator. **
6 Sell Custom Lot Input Value 40 Hidden Pending Order when trade comes back into contact with Line 2 in Keltner Indicator. ***
7 Sell Custom Lot Input Value 45 Hidden Pending Order when trade comes back into contact with Line 2 in Keltner Indicator. ****
      
      
      
Logic behind trading.       
As you can see basic hedging for controlling the loss of a breakout and possibly capitalizing heavy on the breakout.       
Using close by command to  ie close Trade  4 with trade 1 when profitable. 5 close 2 etc. Thise code has been included in file Closeby test.mq4     
**Once Trade #5 is executed, change SL of trade 4to breakeven of 4.      
***Once Trade #6 is executed, change SL of trade 4&5 to breakeven of 5.      
****Once Trade #7 is executed, change SL of trade 4,5,6 to breakeven of 6.      
Close basket when "breakout" comes back into contact with #2 Line of Keltner Indicator.      
Close all and delete pending orders when trade sequence complete.      
Opposite also holds true for sell trade. 

Volume of custom Lot=(Current Profit of existing opposite trades/OPen lots for those trades)*10
-This calaculation can be done from existing variables in EA.

附加的文件:

ZIP
HFT_scalper.zip
232.2 Kb

反馈

1
开发者 1
等级
(40)
项目
58
22%
仲裁
10
10% / 70%
逾期
13
22%
空闲
2
开发者 2
等级
(8)
项目
9
0%
仲裁
6
0% / 100%
逾期
4
44%
空闲
3
开发者 3
等级
(493)
项目
1022
58%
仲裁
30
27% / 23%
逾期
133
13%
工作中
4
开发者 4
等级
(49)
项目
74
18%
仲裁
30
17% / 53%
逾期
31
42%
空闲
5
开发者 5
等级
(90)
项目
159
61%
仲裁
40
18% / 63%
逾期
70
44%
空闲
6
开发者 6
等级
(219)
项目
370
42%
仲裁
145
17% / 41%
逾期
124
34%
空闲
发布者: 38 代码
7
开发者 7
等级
(54)
项目
164
43%
仲裁
43
47% / 16%
逾期
58
35%
空闲
发布者: 1 代码
8
开发者 8
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
空闲

项目信息

预算
100 - 200 USD
开发人员
90 - 180 USD
截止日期
 1  3 天