stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Peaky on Steroids
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5204
Page 33 of 97
Author:  SteveHopwood [ Wed Oct 25, 2017 11:19 pm ]
Post subject:  Peaky on Steroids

Gertje » Sat Oct 21, 2017 6:12 pm wrote: This USDCAD trade is a textbook trade, according to this strategy.
Once it triggered NEARLY A MONTH AGO on the 25th of september, it never went in DD but stayed in floating profit.
A few times it nearly went to TP, reason for me to close it at this point.
Of course it will scream upwards mondaymorning.... :smile:
I forgot when I posted my original, "Of course it will" response, that I am also heavily exposed to UCad.

Ok, so it took until today to scream upwards, but it didn't muck around. It is now at a previous resistance level, so it is probably going to bounce around annoyingly for several more weeks before penetrating. After that, one more resistance and it is a free ride up to my take profit.

The whole bloody exercise started on 23rd June. Boy oh boy, but I am glad the swap is positive. Here is a pic of the chart:
USDCADH4.png
You can see at least two more resistances in between me and my TP? Shut up and leave me will my delusions.

At least the swap is positive. Imagine the agony on the other side of the equation. :arrrg: :arrrg: :arrrg:

:xm:
Author:  renexxxx [ Thu Oct 26, 2017 1:53 am ]
Post subject:  Peaky on Steroids

I am exactly in the same position as you, Steve, with UCad.

My BE-level is at 1.31 and we are still a long way away from there. It didn't help that the Canadians put there interest rate up twice, since June. Trouble is that they are thinking about another rise in December. Hopefully, the US will put up their interest rate before the Canadians and we can get out of our trade without too much of a loss.

Indeed, the positive swap is a little consolation....
Author:  ALoveSvpreme [ Thu Oct 26, 2017 7:14 am ]
Post subject:  Peaky on Steroids

Great stuff going on here 8-)
Author:  jade768 [ Thu Oct 26, 2017 12:07 pm ]
Post subject:  Peaky on Steroids

capmojo » Wed Oct 25, 2017 10:54 pm wrote:
Hi everyone,
I had great success with PoS version 1e during the last couple of months, the one which is still in the first post.
However, since the beginning of October I was struggling with the new version 1f to get it work properly. The main issue was that, on one hand it fixed the multiple entries issue from 1e, but on the other side the recovery trades weren't working correctly anymore compared to the previous version.
After some headaches going through the code and formula validations, I found a potential error in the DoesStopOrderExist function. The pips calculations should be changed as below in the print, as "price" isn't the current market price, but instead the price of already open order + market distance pips. In this case the results were always the same = no pendings ...

Steve, If your ok with that, I am attaching here a version 1g with my suggested fix. It's tested and the recovery trades are working now correctly. I tested also market distance pips using one sixth for recovery trades and it seems also ok now. ATR I can't confirm yet. Please have a look ...
Seems to spawn lots of trades EURAUD for me. I've taken the code from Awesome which seems to do the trick.

Code: Select all

bool DoesStopOrderExist(string symbol, int type, double price, int dd)
{

   //Checks that there is not already a stop order in place before sending a gap filling trade.
   
   if (OrdersTotal() == 0)
      return(false);
   if (OpenTrades == 0)
      return(false);
   
   
   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      if (!OrderSelect(cc, SELECT_BY_POS) ) continue;
      if (OrderSymbol() != symbol ) continue;
      if (OrderMagicNumber() != MagicNumbers[dd]) continue;
      if (OrderType() != type) continue;
      if (!CloseEnough(OrderOpenPrice(), price) ) continue;
      if (OrderComment() != TradeComments[dd] ) continue;
      
      //Got to here, so we have found a trade
      return(true);

   }//for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   
   
   //Got this far, so no trade found
   return(false);   

}//End bool DoesStopOrderExist(int type, double price, int cc)
Author:  capmojo [ Thu Oct 26, 2017 5:44 pm ]
Post subject:  Peaky on Steroids

jade768 » Thu Oct 26, 2017 12:07 pm wrote:
Seems to spawn lots of trades EURAUD for me. I've taken the code from Awesome which seems to do the trick.

Code: Select all

bool DoesStopOrderExist(string symbol, int type, double price, int dd)
{

   //Checks that there is not already a stop order in place before sending a gap filling trade.
   
   if (OrdersTotal() == 0)
      return(false);
   if (OpenTrades == 0)
      return(false);
   
   
   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      if (!OrderSelect(cc, SELECT_BY_POS) ) continue;
      if (OrderSymbol() != symbol ) continue;
      if (OrderMagicNumber() != MagicNumbers[dd]) continue;
      if (OrderType() != type) continue;
      if (!CloseEnough(OrderOpenPrice(), price) ) continue;
      if (OrderComment() != TradeComments[dd] ) continue;
      
      //Got to here, so we have found a trade
      return(true);

   }//for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   
   
   //Got this far, so no trade found
   return(false);   

}//End bool DoesStopOrderExist(int type, double price, int cc)
Filling the GAP with dynamic pip distance, using sixths i.e, will work only on higher timeframes in my opinion. UseSixthsForMdp must be set to false when running this EA on lower TFs like M1, M5, M15 or M30. Accidentally I tested it first on M1 and it opened right away several pendings with only a couple of pips distance, which is not advisable I think. But on H4 it is working great.
Setting UseSixthsForMdp to false and it will trade with the fixed MarketDistancePips distance.
Author:  SteveHopwood [ Thu Oct 26, 2017 11:48 pm ]
Post subject:  Peaky on Steroids

Tread VERY carefully when questioning the coding guys. There is a staggering amount of expertise drawn into it.

You think the fantastic coders involved in this project have missed something?

Prove it.

Otherwise shut up.
Author:  Gertje [ Thu Nov 02, 2017 10:27 am ]
Post subject:  Peaky on Steroids

This week is the 13th week I'm trading PoS live on a cent-account.

I deposited $400,- and slammed PoS on a chart, with little knowledge about the ins and outs of the EA; I demo-ed it for a week or so before.

In the early stages of using PoS I discovered that the lower timeframes gain a lot, but also create much DD. Initially I dropped the M5 and M15, keeping the H1 and H4 running. Still, the H1 created too much DD for my comfort, so I dropped H1 as well. In the meantime I added D1 to the template.

The EA [with little manual assistance] gained over 90% during these 13 weeks with max DD of 44%.
PoS 13 weeks performance.png
Like you can see, all pairs added to the party.

The weekly performance measured by FXBlue;
Week 41: 3.41%
Week 42: 0.93%
Week 43: 5.31%
Week 44: 7.87% [till now]

The last changes I made were dividing the pairs in 3 groups, depending on their 6-th distance.
Group 1; H4 sixth < 250 pips, dollup 1:$1.000, marketdistancepips 100, recoverypips 25
Group 2; H4 sixth 250 < 350 pips, dollup 1:$1.500, marketdistancepips 150, recoverypips 40
Group 3; H4 sixth > 350 pips, dollup 1:$2.000, marketdistancepips 200, recoverypips 50

All groups, TP@ 6-th, no SL, recovery kicks in after 4 trades [most of the time, sometimes it closes the bunch with 3 trades on the table].
The manual part is mainly closing some recoverytrades when I see the need, and sometimes adding a trade where I feel the EA missed it, or I see a possibility. Also closing and re-open a trade with higher lotsize when the balance is much higher than when the trade started.

This is for me the best EA that I used in my ' FX-career', and am planning to let the balance grow some more.
When it reaches $2.000 or something I transfer the funds to GP to make use of the better executiontimes they offer. Till then I monitor the margin closely, since the current account is running on 1:1.000 leverage and GP will provide 1:200 at the most.

Interesting times ahead!
:!!:
Author:  TraderJoeForex [ Thu Nov 02, 2017 11:33 am ]
Post subject:  Peaky on Steroids

Nice results Gertje :cheer:
Author:  Gertje [ Thu Nov 02, 2017 11:37 am ]
Post subject:  Peaky on Steroids

:hi:
Author:  thomasmore [ Thu Nov 02, 2017 12:11 pm ]
Post subject:  Peaky on Steroids

Well done !
All times are UTC Page 33 of 97