Peaky on Steroids

The place for Peaky and Peaky-related stuff.
Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Peaky on Steroids

Post by SteveHopwood »

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:
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Peaky on Steroids

Post by renexxxx »

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....
ALoveSvpreme
Trader
Posts: 94
Joined: Fri Dec 05, 2014 8:46 am
Location: Vancouver, BC, Canada

Peaky on Steroids

Post by ALoveSvpreme »

Great stuff going on here 8-)
jade768
Posts: 8
Joined: Thu Jul 13, 2017 6:48 am

Peaky on Steroids

Post by jade768 »

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)
capmojo

Peaky on Steroids

Post by capmojo »

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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Peaky on Steroids

Post by SteveHopwood »

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.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Peaky on Steroids

Post by Gertje »

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!
:!!:
You do not have the required permissions to view the files attached to this post.
User avatar
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

Peaky on Steroids

Post by TraderJoeForex »

Nice results Gertje :cheer:
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Peaky on Steroids

Post by Gertje »

:hi:
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

Peaky on Steroids

Post by thomasmore »

Well done !
Post Reply

Return to “Peaky forum”