Gertje plus Squalou plus Forexhard EA

Post Reply
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by winsteadglenn »

Profits in one day are huge on multiple crims: 11% instaforex and Tadawul, 12% hotforex & smartforex, 16% forexoma & sigtrader, up to 46%finfx.; all OOTB; max pairs 20. leverage 1/200 or 1/100. Whatever you are doing, Steve, just keep doing it. :mrgreen:
Last edited by winsteadglenn on Tue Apr 17, 2012 5:20 pm, edited 1 time in total.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Gertje plus Squalou plus Forexhard EA

Post by SWG123 »

winsteadglenn wrote:Profits in one day are huge on multiple crims: 11% instaforex and Tadawul, 12% hotforex & smartforex, 16% forexoma & sigtrader, up to 46%finfx.; all OOTB; max pairs 20. Whatever you are doing, Steve, just keep doing it. :mrgreen:
When conditions are right it just coins it. But OOTB is a full lot per trade on a $10k account - I don't think I'd have the balls for that :D
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by winsteadglenn »

Newest OOTB is 0.2 lots/10K. I used that. No balls here, either.

Revision: There were some left over 1 lot trades in several pairs cited; New accounts were a mix due to some sort Empty4 memory thing, but mostly .2 lots. So the results are exaggerated, as you suggested. Apologies.
Last edited by winsteadglenn on Wed Apr 18, 2012 2:10 am, edited 1 time in total.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Gertje plus Squalou plus Forexhard EA

Post by SWG123 »

winsteadglenn wrote:Newest OOTB is 0.2 lots/10K. I used that. No balls here, either.
Must have missed the update - thanks, Glenn.
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by kwchau »

winsteadglenn wrote:Profits in one day are huge on multiple crims: 11% instaforex and Tadawul, 12% hotforex & smartforex, 16% forexoma & sigtrader, up to 46%finfx.; all OOTB; max pairs 20. leverage 1/200 or 1/100. Whatever you are doing, Steve, just keep doing it. :mrgreen:
Very impressive results. I am also doing demo but no where near getting what you've got. Could you kindly share your settings such as pips between trades, no of trades and cash profit target ?
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by winsteadglenn »

Kwchau: My results were exaggerated. See above revision of post. Numerous pairs were 1 lot closures.
Careless of me not to check such astonding results in account history. Just luck that the accounts did not blow up, using more than 20 pairs with many 1 lot trades. I did see that FinFx took it all in stride, with essentially no DD. I had already placed an order for the new Bugatti Veyron.
laharjaya
Trader
Posts: 45
Joined: Wed Nov 16, 2011 4:11 am

Re: Gertje plus Squalou plus Forexhard EA

Post by laharjaya »

winsteadglenn wrote:Profits in one day are huge on multiple crims: 11% instaforex and Tadawul, 12% hotforex & smartforex, 16% forexoma & sigtrader, up to 46%finfx.; all OOTB; max pairs 20. leverage 1/200 or 1/100. Whatever you are doing, Steve, just keep doing it. :mrgreen:
so hard to believe .....
Bader
Trader
Posts: 20
Joined: Fri Mar 23, 2012 8:46 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by Bader »

Also had huge returns on demo account, but suffered blow up. EA insists on taking multiple trades at once on one pair at the same time. Could this be the trade "engine" that needs to complete the trade and is mistakenly submitting multiple orders as a result of a timing issue?
plateman
Trader
Posts: 43
Joined: Wed Nov 16, 2011 9:25 am

Re: Gertje plus Squalou plus Forexhard EA

Post by plateman »

SteveHopwood wrote:Latest update in post 1, fixing the multiple-trades thingy. It was the usual, a copy/paste/forgot-to-edit bloop.

Coders, to save a re-download go to
void HasSellFilled()

and find this line of code:
string name = NextBuyLineName;

and change the highlighted bit then recompile
string name = NextSellLineName;

I have reintroduced the BB0, BB1 etc value displays until we are sure the code is watertight.

I ran a visual backtest, M15 Open prices; this is what pointed me to the bloop. Allowing the test to continue, I noticed that there are occasional double trades at the same level. It looks as though the pending trade line deletion fails from time to time, but I have no idea why.

Here is the void HasBuyFilled() function with additional comments to explain my logic more fully:

Code: Select all

void HasBuyFilled()
{
   //This function examines the Bid to see if a pending Buy price has been reached, and sends the trade if so.
   //Uses the Bid for buys also, as this is the price we see on the chart

   double take, stop, price;
   int type;
   bool CancelTrade = false;

   
   //Set pending price 
   string name = NextBuyLineName;
   if (name != "")
   {
      if (ObjectFind(name) > -1) double PendingPrice = ObjectGet(name, OBJPROP_PRICE1);
   }//if (name != "")
   
   //Initial trade. If risetoline exists, meaning that the first trade has yet to be sent.
   if (ObjectFind(risetoline) > -1) 
   {
      name = risetoline;
      PendingPrice = ObjectGet(name, OBJPROP_PRICE1);
   }//if (ObjectFind(risetoline) > -1) 
   
   RefreshRates();
   if (Bid >= PendingPrice && PendingPrice > 0)
   {
      //Ensure that OpenTrades + 1 is < ((NoOfTrades * 2) -1). If it is == ((NoOfTrades * 2) -1),
      //a further trade would leave the grid fully populated with hedged trades achieving nothing but
      //paying the crim shed-loads of swap. In this case, close the position.
      if (IsBasketStopLossHit(OP_BUY) )
      {
         CloseAllTrades();
         if (ForceTradeClosure) CloseAllTrades();
         DeleteRemainingPendingLines();//Remove pending price lines         
         return;
      }//if (IsBasketStopLossHit(OP_BUY) )
      
      //If we are looking for an initial trade, only take it if the previous candle closed below the line
      if (name == risetoline)
      {
         if (iOpen(NULL, BoxTimeFrame, 1) >= PendingPrice) return;
      }//if (name == risetoline)
            
      price = Ask;
      type = OP_BUY;
      
      
      bool result = SendSingleTrade(type, TradeComment, SendLot, price, stop, take);
      if (result)
      {
         if (name == risetoline) SetUpBuyGrid();
         //Move the pending sell to half-way up the CZ box.
         if (ObjectFind(falltoline) > -1 && OpenTrades == 0)
         {
            double ltarget = ObjectGet(falltoline, OBJPROP_PRICE1);
            double extent = (PendingPrice - ltarget) / 2;
            price = NormalizeDouble(ltarget + extent, Digits);
            ObjectMove(falltoline, 0, Time[0], price);
         }//if (ObjectFind(falltoline) > -1)
         //Delete the pending trade line
         ObjectDelete(name);         
      }//if (result)
   }//if (Bid >= PendingPrice && PendingPrice > 0)
   

}//End void HasBuyFilled()
:D
Always helpful to read through the thread to see if a bug has already been fixed.
winsteadglenn
Trader
Posts: 101
Joined: Tue Nov 15, 2011 10:40 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by winsteadglenn »

If I try to use the MM function, I still get some multiple trade thingies.
Post Reply

Return to “Automated trading systems”