Peaky on Steroids

The place for Peaky and Peaky-related stuff.
Post Reply
User avatar
PaulBeck
Posts: 9
Joined: Tue Sep 27, 2016 1:39 am
Location: Down under

Peaky on Steroids

Post by PaulBeck »

Your coder will have to be happy to have his/her work circulated widely. Please ask him/her to add an appreciation of his/her work to the code. If it works, I will adopt it into my version in post 1 and I always want coding contributions from outside sources to gain their recognition.

It will have to be proven to be robust first.
Hi Steve

May I request then for the attached version become the official. It has PositiveSwapOnly removed and replaced with MinSwapToTrade. Something that has helped me in the past few months and no doubt will help in the current climate where most are experiencing DD.

Code: Select all

   
//extern bool    Trade1PositiveSwapTradesOnly=true;
  extern double  Trade1MinSwapToTrade= -5.0;


   //Look for a sell.
   if (MarketSellsCount == 0)//LookForTradingOpportunities() is for the starting trade only
      if (MarketDirection[pairIndex] == shortdirection) //Market must be falling from a PH.
         if (SixthsTradingStatus[pairIndex] == tradableshort)//And must be in the trading area.
            if (TradeShort)//User can control the trading direction
               if (shortSwap >= MinSwapToTrade[pairIndex])
                  if (BrokerAllowsHedging || MarketBuysCount == 0)//Either 'hedging' is allowed or there are no market buys open. See note below.
                  {
                     SendShort = true;
                  }//if (BrokerAllowsHedging || MarketBuysCount == 0)//Either 'hedging' ios allowed or there are no market buys open. See note below.
               
   //Look for a buy.
   if (MarketBuysCount == 0)//LookForTradingOpportunities() is for the starting trade only
      if (MarketDirection[pairIndex] == longdirection) //Market must be rising from a PL.
         if (SixthsTradingStatus[pairIndex] == tradablelong)//And must be in the trading area.
            if (TradeLong)//User can control the trading direction
               if (longSwap >= MinSwapToTrade[pairIndex])
                  if (BrokerAllowsHedging || MarketSellsCount == 0)//Either 'hedging' is allowed or there are no market buys open. See note below.
                  {
                     SendLong = true;
                  }
You do not have the required permissions to view the files attached to this post.
Searching the forth quadrant, in pursuit of what I don't know that I don't know....
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 »

PaulBeck » Mon Aug 20, 2018 3:03 am wrote:
Your coder will have to be happy to have his/her work circulated widely. Please ask him/her to add an appreciation of his/her work to the code. If it works, I will adopt it into my version in post 1 and I always want coding contributions from outside sources to gain their recognition.

It will have to be proven to be robust first.
Hi Steve

May I request then for the attached version become the official. It has PositiveSwapOnly removed and replaced with MinSwapToTrade. Something that has helped me in the past few months and no doubt will help in the current climate where most are experiencing DD.

Code: Select all

   
//extern bool    Trade1PositiveSwapTradesOnly=true;
  extern double  Trade1MinSwapToTrade= -5.0;


   //Look for a sell.
   if (MarketSellsCount == 0)//LookForTradingOpportunities() is for the starting trade only
      if (MarketDirection[pairIndex] == shortdirection) //Market must be falling from a PH.
         if (SixthsTradingStatus[pairIndex] == tradableshort)//And must be in the trading area.
            if (TradeShort)//User can control the trading direction
               if (shortSwap >= MinSwapToTrade[pairIndex])
                  if (BrokerAllowsHedging || MarketBuysCount == 0)//Either 'hedging' is allowed or there are no market buys open. See note below.
                  {
                     SendShort = true;
                  }//if (BrokerAllowsHedging || MarketBuysCount == 0)//Either 'hedging' ios allowed or there are no market buys open. See note below.
               
   //Look for a buy.
   if (MarketBuysCount == 0)//LookForTradingOpportunities() is for the starting trade only
      if (MarketDirection[pairIndex] == longdirection) //Market must be rising from a PL.
         if (SixthsTradingStatus[pairIndex] == tradablelong)//And must be in the trading area.
            if (TradeLong)//User can control the trading direction
               if (longSwap >= MinSwapToTrade[pairIndex])
                  if (BrokerAllowsHedging || MarketSellsCount == 0)//Either 'hedging' is allowed or there are no market buys open. See note below.
                  {
                     SendLong = true;
                  }
Does this version contain Gertje's ideas from earlier?

:xm: :rocket:
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
PaulBeck
Posts: 9
Joined: Tue Sep 27, 2016 1:39 am
Location: Down under

Peaky on Steroids

Post by PaulBeck »

Does this version contain Gertje's ideas from earlier?
Hi Steve

I've looked back to start of June and cannot determine which of Gertje's ideas you are referring to. I also cannot locate my post where it was mentioned. Of my meager 5 posts, I can only locate 4.

The idea was discussed here in POS and in SPB in June and made it into SPB as MaximumAcceptableNegativeSwap June 18th but not POS. I've been adding to my POS since I started using and this version is simply my merge into the latest version "1L"

I also have tried to post my results to the test DB, I get a success message on upload but my results are never published. I assumed it was because I was not using an official version and thus being filtered.

Cheers
Searching the forth quadrant, in pursuit of what I don't know that I don't know....
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Peaky on Steroids

Post by tomele »

PaulBeck » 21 Aug 2018, 00:19 wrote:
I also have tried to post my results to the test DB, I get a success message on upload but my results are never published. I assumed it was because I was not using an official version and thus being filtered.
Hi Paul,

nothing gets filtered in the database this way. Please PM me with details (template write statement, transmit dates etc.)

Cheers
Thomas
Happy pippin, Thomas :-BD

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

Keep the coder going: Donate
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 »

PaulBeck » Mon Aug 20, 2018 11:19 pm wrote:
Does this version contain Gertje's ideas from earlier?
Hi Steve

I've looked back to start of June and cannot determine which of Gertje's ideas you are referring to. I also cannot locate my post where it was mentioned. Of my meager 5 posts, I can only locate 4.

The idea was discussed here in POS and in SPB in June and made it into SPB as MaximumAcceptableNegativeSwap June 18th but not POS. I've been adding to my POS since I started using and this version is simply my merge into the latest version "1L"

I also have tried to post my results to the test DB, I get a success message on upload but my results are never published. I assumed it was because I was not using an official version and thus being filtered.

Cheers
I am no taking this any further. The idea that I should replace my version with yours in post 1 is ridiculous.
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
PaulBeck
Posts: 9
Joined: Tue Sep 27, 2016 1:39 am
Location: Down under

Peaky on Steroids

Post by PaulBeck »

Hi Paul,

nothing gets filtered in the database this way. Please PM me with details (template write statement, transmit dates etc.)

Cheers
Thomas
Thanks Thomas
Will do tonight when home...
Searching the forth quadrant, in pursuit of what I don't know that I don't know....
User avatar
PaulBeck
Posts: 9
Joined: Tue Sep 27, 2016 1:39 am
Location: Down under

Peaky on Steroids

Post by PaulBeck »

I am no taking this any further. The idea that I should replace my version with yours in post 1 is ridiculous
Steve

I'm just asking for a more flexible use of the swap filter that was agreed as a great idea in SPB to be included in POS.

//extern bool Trade1PositiveSwapTradesOnly=true;
extern double Trade1MinSwapToTrade= -5.0;

Is the fact that I supplied modified code to save you the effort, a step too far? I'm confused, you request, encourage and promote user input. Accept and praised this improvement for SPB but not POS. Using DiffMerge or similar you can see I've changed nothing accept the parameters, the array processing and pre-trade checks.

No offense intended :hi:
Searching the forth quadrant, in pursuit of what I don't know that I don't know....
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 »

PaulBeck » Tue Aug 21, 2018 12:37 am wrote:
I am no taking this any further. The idea that I should replace my version with yours in post 1 is ridiculous
Steve

I'm just asking for a more flexible use of the swap filter that was agreed as a great idea in SPB to be included in POS.

//extern bool Trade1PositiveSwapTradesOnly=true;
extern double Trade1MinSwapToTrade= -5.0;

Is the fact that I supplied modified code to save you the effort, a step too far? I'm confused, you request, encourage and promote user input. Accept and praised this improvement for SPB but not POS. Using DiffMerge or similar you can see I've changed nothing accept the parameters, the array processing and pre-trade checks.

No offense intended :hi:
You have perhaps noticed over the years that I can get stuff horribly wrong and so be very rude without reason? I am always prepared to apologise when I am proven to have done so; it is one of my few redeeming features.

Please point me to where I agreed to this. For sure, it is not a feature of SPB.

:xm: :rocket:
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
PaulBeck
Posts: 9
Joined: Tue Sep 27, 2016 1:39 am
Location: Down under

Peaky on Steroids

Post by PaulBeck »

Please point me to where I agreed to this. For sure, it is not a feature of SPB.
Slopey Peaky Bob
Postby Redboros » Thu Jun 14, 2018 3:32 pm
Postby SteveHopwood » Thu Jun 14, 2018 7:21 pm
Postby PaulBeck » Fri Jun 15, 2018 3:34 pm
Postby SteveHopwood » Mon Jun 18, 2018 3:17 am

You just chose a different name "MaximumAcceptableNegativeSwap"

Like most, I'm not happy seeing a trade go south with a huge negative swap, but can live with small negative swap in the same situation.

I also use this in AwesomeSS_1d.mq4 if you and c1borg agree...
Searching the forth quadrant, in pursuit of what I don't know that I don't know....
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 »

PaulBeck » Wed Aug 22, 2018 12:03 am wrote:
Please point me to where I agreed to this. For sure, it is not a feature of SPB.
Slopey Peaky Bob
Postby Redboros » Thu Jun 14, 2018 3:32 pm
Postby SteveHopwood » Thu Jun 14, 2018 7:21 pm
Postby PaulBeck » Fri Jun 15, 2018 3:34 pm
Postby SteveHopwood » Mon Jun 18, 2018 3:17 am

You just chose a different name "MaximumAcceptableNegativeSwap"

Like most, I'm not happy seeing a trade go south with a huge negative swap, but can live with small negative swap in the same situation.

I also use this in AwesomeSS_1d.mq4 if you and c1borg agree...
It is still not a feature of SPB. Nor is it going to bo so.

I am sorry that my attention to detail lacks that of yours. Fact is, it doesn't. I am quite good at this stuff though, so you may care to consider my experience here.

Post as may versions of whatever you want wherever you want. They will not reach post 1 here and I may well delete them. All that different versions of the same EA in the same thread do is cause chaos and I do not allow this.

You are free to start your own sub-forum to promote your own ideas. I will back them if they appear intelligent.

I have deleted your version of Awesome from you previous post; this thread is not about Awesone.

:xm: :rocket:
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.
Post Reply

Return to “Peaky forum”