Pipcruiser's Pipmasher on Steroids

Post your derivatives/discussion threads here.
Locked
Louisetano
Trader
Posts: 68
Joined: Thu Jan 01, 2015 9:42 am

Pipcruiser's Pipmasher on Steroids

Post by Louisetano »

AnotherBrian » Sat May 09, 2015 6:12 pm wrote:
I reduced the multi trades to 2. This decision was based on watching price action on a few of the trades. I don't want to push it to hard as the stops can give back too much. Plus it's on a live account.
I've just reduced to 3 on the demo without ATR, but it might be even better to reduce to 2 like you. ;) , but I´ll try with 3 this month and see how it goes :)
The ATR version, using the different sets, only had 1 multi to go to SL in April. So I'll keep that going as is :D
User avatar
eltax100
Trader
Posts: 70
Joined: Wed Nov 16, 2011 11:12 pm
Location: Warwickshire UK

Pipcruiser's Pipmasher on Steroids

Post by eltax100 »

This is still holding up
over 8000 pips in the last 2.5 months , just changed the sl on the multi trades to 100 as 300 was leaving it a bit too exposed to drawdown. Winning an average of 87% of trades
:good:

Bloody simple it shouldn't work ............


http://www.myfxbook.com/members/eltax10 ... ds/1149990
User avatar
rosst
Trader
Posts: 280
Joined: Wed Feb 27, 2013 1:11 pm
Location: Austin, Texas

Pipcruiser's Pipmasher on Steroids

Post by rosst »

eltax100 » Thu May 14, 2015 4:38 am wrote:This is still holding up
over 8000 pips in the last 2.5 months , just changed the sl on the multi trades to 100 as 300 was leaving it a bit too exposed to drawdown. Winning an average of 87% of trades
:good:

Bloody simple it shouldn't work ............


http://www.myfxbook.com/members/eltax10 ... ds/1149990
WOW! you are doing great! Are you trading all the pairs? Would you mind posting your latest set file?
Thanks for sharing!
almartins
Trader
Posts: 20
Joined: Fri Sep 12, 2014 10:42 am

Pipcruiser's Pipmasher on Steroids

Post by almartins »

Hi Steve and friends,

Last PPoS version ( I've made download just a few minutes) have a problem with brokers with a Sunday candle bar. I found that because checking conditions to open positions Tuesday and Wednesday PPoS fail to open in two charts and that because it was looking not last D1 candle closed but penultimate D1 candle. I've look at the code and find that "shift" variable (I put it blue below) it's value was "2" and must be "1" (last closed candle).

4126___//D1 candle by default
______ static datetime OldTradingBarTime = 0;
______ if (OldTradingBarTime != iTime(Symbol(), TradingTF, 0) )
______ {
______ OldTradingBarTime = iTime(Symbol(), TradingTF, 0);
______ AlreadyTradedToday = false;//New trading period
______ copen = iOpen(Symbol(), TradingTF, shift);
______ cclose = iClose(Symbol(), TradingTF, shift);
______ if (cclose > copen)
________ TradingDirection = up;
_________ else
__________ if (cclose < copen)
__________ TradingDirection = down;
______________ else
__________ if (CloseEnough(copen, cclose))
__________ TradingDirection = flat;
4142____ }//if (OldTradingBarTime != iTime(Symbol(), TradingTF, 0) )

I think the problem is caused here:

4021__//Calculate the directions of the previous relevant candles
______ double copen = 0, cclose = 0;
______ int shift = 1;
______ if (BrokerHasSundayCandle)
_________ if (TradingTF == PERIOD_D1)
4026______ shift = 2;

In my broker with a Sunday candle all days PPoS is locking two candles behind and not last one closed.
Please check.

Cheers
almartins
ffxbettor
Trader
Posts: 12
Joined: Thu Feb 02, 2012 12:08 pm
Location: France

Pipcruiser's Pipmasher on Steroids

Post by ffxbettor »

almartins » Thu May 14, 2015 5:01 pm wrote:
4021__//Calculate the directions of the previous relevant candles
______ double copen = 0, cclose = 0;
______ int shift = 1;
______ if (BrokerHasSundayCandle)
_________ if (TradingTF == PERIOD_D1)
4026______ shift = 2;

In my broker with a Sunday candle all days PPoS is locking two candles behind and not last one closed.
Please check.

Cheers
almartins

Replace this code :

Code: Select all

   int shift = 1;
   if (BrokerHasSundayCandle)
      if (TradingTF == PERIOD_D1)
        shift = 2;
with the following :

Code: Select all

   int shift = 1;
   if (BrokerHasSundayCandle)
      if (TradingTF == PERIOD_D1 && TimeDayOfWeek(TimeCurrent()) == 1)
         // we are Monday : set the shift = 2 to skip the Sunday candle
         shift = 2;
N.B. : the bug is also in the Zennor's Piproid EA.


Cheers,
Didier.
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.

Pipcruiser's Pipmasher on Steroids

Post by SteveHopwood »

That is one heck of a bloop you guys spotted. Thanks. :clap: I intended the extra check - just forgot to add it. :arrrg:

V 1i in post 1.

:xm:
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.
almartins
Trader
Posts: 20
Joined: Fri Sep 12, 2014 10:42 am

Pipcruiser's Pipmasher on Steroids

Post by almartins »

:good:
I'm glad to help. I'm going to make "PPoS" work flawlessly. Thank you Steve and Didier.
:clap:
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Pipcruiser's Pipmasher on Steroids

Post by SWG123 »

Also noticed typo in line 1791:-

if (PendingOrder)
{
stype = " Suy stop ";
price = NormalizeDouble(Ask + (PendingBuffer / factor ), Digits );
AnotherBrian

Pipcruiser's Pipmasher on Steroids

Post by AnotherBrian »

I'm happy more people are reading code now and adding to the quality control process. After all, we're putting real money at risk here.
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.

Pipcruiser's Pipmasher on Steroids

Post by SteveHopwood »

SWG123 » Thu May 14, 2015 9:31 pm wrote:Also noticed typo in line 1791:-

if (PendingOrder)
{
stype = " Suy stop ";
price = NormalizeDouble(Ask + (PendingBuffer / factor ), Digits );
'tis an insignificant typo in the code that sends an email alert instead of a trade. I will correct it but it does not matter.

I will echo what Brian just wrote though. It is really helpful when you guys spot stuff like this. For the coder, spotting these thingies is like spotting a spelling mistake in an essay we wrote in school. Remember how hard that was when you did not know there was a mistake? Same mental process, I imagine. We see what is supposed to be there, rather than what is actually there.

:xm:
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.
Locked

Return to “Pipcruiser's Pipmasher forum”