- Search Energy EXCH
-
abokwaik replied Jan 14, 2016The EA has several for lot size. 1. you can fix the lot size. 2. you can let the EA auto calculate the size based on SL. 3. you can set the max lot size used. The system is complete as defined. But yes, I have so many other systems, of course not ...
Engulfer
-
abokwaik replied Jan 13, 2016Gold trade : Target hit plus a bonus trade on retrace. I am outside now, will post chart once back.
Need4Speed Scalping
-
abokwaik replied Jan 13, 2016N4S_05 (EA), from post # 309, disable live trading and use as an indicator.
Need4Speed Scalping
-
abokwaik replied Jan 13, 2016Half Target Reached ! Defense Increasing (could be partial profit taking). image
Need4Speed Scalping
-
abokwaik replied Jan 13, 2016An indicator was requested for bar sequence. So here it is. Example Chart: image
Bar Sequence Patterns
-
abokwaik replied Jan 9, 2016I think you already found your holy grail (728% in 17 days), Live. Just Amazing

my grail system
-
abokwaik replied Jan 6, 2016What I posted are just examples on the use of OrderProfit() function, as this is what thread is about. I added commission and swap to the latest example just to prove to you that it is working perfectly as it is supposed to, and shows the exact ...
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016This is a version of the script with swap and commission added. void OnStart() { //--- int OrdProf=0,OrdLoss=0; double TotalProf=0.0,TotalLoss=0.0; int hist_count=OrdersHistoryTotal(); // loop through all orders for(int i=hist_count-1;i>-1;i--) { // ...
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016I like to be specific. I tried the code and its working fine. Let me know if it doesn't work for you.
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016int OrdProf=0,OrdLoss=0; double TotalProf=0.0,TotalLoss=0.0; int hist_count=OrdersHistoryTotal(); // loop through all orders for(int i=hist_count-1;i>-1;i--) { // each order need to be selected before refering to its data ...
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016Post 19. Its for current orders. I can modify it for closed orders if you like.
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016Depending if he wants closed or open orders. If closed, then yes, he needs to replace OrdersTotal() with OrdersHistoryTotal() and MODE_TRADES with MODE_HISTORY .
Adding Orderprofit()
-
abokwaik replied Jan 6, 2016/// declarations int OrdProf=0,OrdLoss=0; double TotalProf=0.0,TotalLoss=0.0; // loop through all orders for(int i=0;i<OrdersTotal();i++) { // each order need to be selected before refering to its data ...
Adding Orderprofit()
-
abokwaik replied Jan 4, 2016Thank you Sajid, I agree with your analysis. Actually if we were able to do it like that it will become a holy grail.

I am into few studies now, and will try to revisit this system soon and apply what I can. Regards, Khalil BTW:your English ...Engulfer
-
abokwaik replied Jan 2, 2016Hi refdan, Although this is not a robot work shop, I took a look at your EA which was generated using an EA generation tool. The error you're getting is clear, and it is because your calls of Print and SendMail function include repeated escape (back ...
Robot Lab Project