Enclosed new CloseTrades EA to address the issue in the post above. Zip file in Post #443 also amended.
Attached File(s)
CloseTrades.mq4
2 KB
|
151 downloads
Screen shot indicator free gift 0 replies
DECEMA - Xmas gift! 6 replies
Vegas 1HR GIFT: Big opportunity coming! 5 replies
Disliked{quote} Good morning Dave and thanks for your reply. But I plan to use candle HA price crosses EMA 5 shift 2 RSI 14 70/30 levels above 200 EMA long and short below 200 EMA. If I put 200 EMA where you indicated can not put EMA 5 shift 2. Annex table to see if what I want is correct. {image} {image}Ignored
Disliked{quote} I am baffled as to how you got 2 Price/EMA cross references in the example you sent me. The reference you make to the price being above or below the Long MA cannot be combined with a Price/EMA cross. Only a single instance of a particular strategy can be used. If there is enough demand, I may separate the 2 concepts but in the meantime use another filter method for your trades.Ignored
Disliked{quote} if you interested then you can check my thread all details are there http://www.forexfactory.com/showthre...26#post8053226Ignored
Disliked{quote} I think he should also add on a continuous straddle using ADX filter (*joke). Dave, you might want to add to the tradershelp.pdf the following: Keep it Simple There is so much in one strategy to tinker with i could not even think of adding a second filterIgnored
if (StartingEquity > 0 && StopTrading == 0 && (((AccountEquity() - StartingEquity) >= ProfitTarget) || (StartingEquity - AccountEquity())>= LossTarget)) { res=OrderSend(Symbol(),OP_BUYLIMIT,1,0.1,1,0,0,"",99999,0,Green); for (int i = OrdersTotal()-1; i >= 0; i--) { if (OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break; if(OrderType() == OP_BUYLIMIT || OrderType() == OP_SELLLIMIT || OrderType() == OP_BUYSTOP || OrderType() == OP_SELLSTOP) StopTrading = 1; } }
(StartingEquity - AccountEquity())>= LossTarget)
DislikedHuh? You are sending a pending order with 1 lot on 0.1 price? Oh it's a dummy order... if (StartingEquity > 0 && StopTrading == 0 && (((AccountEquity() - StartingEquity) >= ProfitTarget) || (StartingEquity - AccountEquity())>= LossTarget)) { res=OrderSend(Symbol(),OP_BUYLIMIT,1,0.1,1,0,0,"",99999,0,Green); for (int i = OrdersTotal()-1; i >= 0; i--) { if (OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break; if(OrderType() == OP_BUYLIMIT || OrderType() == OP_SELLLIMIT || OrderType() == OP_BUYSTOP || OrderType() == OP_SELLSTOP) StopTrading...Ignored
DislikedHello Dave_C sir, i have created a robo...its working..but i am having only one problem in this robot...trailing stop modify error is the only problem...can u rectify that problem sir???if u correct that problem means it willbe very usefull sir.. so i hope that, u will help me please sir.....thanks in advance sir {file}Ignored
Dislikedhello dave sir, i am not the programmer...i am having strategy and i am having a website to create this EA...from that website i have created this EA..this is my own strategy i created sir....i dont know how to rectify this problem?...please give me the suggestion sir...Ignored
Disliked{quote} People if you don't know how to use a srewdriver don't blame it. After several days of testing you have done so major conclusion. I really don't believe the stupidity level of some people's . Do a favor to you STOP trading at all.Ignored