Peaky on Steroids

The place for Peaky and Peaky-related stuff.
Post Reply
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 »

SteveHopwood wrote:One for the mathematicians to check for me. bool HaveWeReachedFullBasketTP() has this forumla:
BasketProfitTarget = (AccountBalance() * BasketCashPercentageTarget) / 100;

BasketCashPercentageTarget is an extern double. Is my formula correct?

:xm:
Hi Steve.

If BasketCashPercentageTarget is something like 5.0, your formula is correct.

If BasketCashPercentageTarget is something like 0.05, it should IMHO be
BasketProfitTarget = (AccountBalance() * BasketCashPercentageTarget)

EDIT. I could have checked the inputs before writing. The formula is correct.

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 »

tomele » Sat Oct 14, 2017 11:14 am wrote:
SteveHopwood wrote:One for the mathematicians to check for me. bool HaveWeReachedFullBasketTP() has this forumla:
BasketProfitTarget = (AccountBalance() * BasketCashPercentageTarget) / 100;

BasketCashPercentageTarget is an extern double. Is my formula correct?

:xm:
Hi Steve.

If BasketCashPercentageTarget is something like 5.0, your formula is correct.

If BasketCashPercentageTarget is something like 0.05, it should IMHO be
BasketProfitTarget = (AccountBalance() * BasketCashPercentageTarget)

EDIT. I could have checked the inputs before writing. The formula is correct.

Cheers, Thomas
Thanks Thomas.

The problem is at your end Spy.

: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.
User avatar
spyderman
Trader
Posts: 338
Joined: Sun Dec 11, 2011 1:39 pm

Peaky on Steroids

Post by spyderman »

SteveHopwood » Sat Oct 14, 2017 6:14 am wrote: Thanks Thomas.

The problem is at your end Spy.

:xm:
Thanks for checking guys. I'll keep running sims on my end with different settings to try and isolate problem. In the meantime I'll use MPTM for basket closure.
As mentioned before...can't complain about the results. Thanks for all your efforts.

:jump:
Snaggin' some pips
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 »

Results are great indeed.
In the previous three weeks I made;
2.469
6.271 (the GBPJPY basket closed with big $$$)
2.196

Last week, the 2.196 was purely closing some recoverytrades before the weekend.
None of the trades had really reached TP yet.
Floating profit loss is between 1-10%, with some spikes.

Below I will post screenshots of the weekendsituation, note the open profit in GBPCAD and GBPCHF during these 3 weeks. :arrrg:
This part is the hardest to handle, sitting on my hands while 300 pips disappear with just a slight hope/ thrust that EVENTUALLY It will come back.... :smile:
IMG_0385.PNG
IMG_0387.PNG
IMG_0388.PNG
You do not have the required permissions to view the files attached to this post.
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 14, 2017 1:19 pm wrote: This part is the hardest to handle, sitting on my hands while 300 pips disappear with just a slight hope/ trust that EVENTUALLY It will come back.... :smile:
I know your pain. :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: Remember my love of Masterly British Understatement? Boy oh boy, but EVENTUALLY can take a while to arrive.

This is definitely not one to trade on the wrong side of the high swap pairs.

Guess how I know? :arrrg:

: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.
jade768
Posts: 8
Joined: Thu Jul 13, 2017 6:48 am

Peaky on Steroids

Post by jade768 »

I'm going to try this one live with Gertjes suggestions. Currently 2 trades open. Let's see coming weeks.
open.png
pos.set
You do not have the required permissions to view the files attached to this post.
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 »

Last week I went from floating $1.500 positive to $12.000 negative, there goes abandoning basket TP.... :arrrg:
Curious when stuff turns around.

Friday I manually closed USDCAD, to get it off the table.
It has been the only closed trade last week.
IMG_0391.PNG
For anyone following me, I have 3 instances of PoS running with 100, 150 and 200 marketdistancepips, depending on their 6-th distance.
The 100 MDP has dollup 0.01/$1.000
The 150 MDP has dollup 0.01/$1.500
The 200 MDP has dollup 0.01/$2.000

All this to manage risk, and have decent returns.
It's a thin line to balance upon.
You do not have the required permissions to view the files attached to this post.
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 »

IMG_0392.PNG
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:
You do not have the required permissions to view the files attached to this post.
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: Of course it will scream upwards mondaymorning.... :smile:
You bet it will. :arrrg: :arrrg: :arrrg:

Never mind. Profits are profits and nobody ever went bust banking them.

: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.
capmojo

Peaky on Steroids

Post by capmojo »

SteveHopwood » Mon Oct 02, 2017 2:03 pm wrote:
Gertje » Mon Oct 02, 2017 12:06 pm wrote: Hi Steve,

I don't know about the ATR bit, the 6th feature causes havoc on the account. Even when disabled, it keeps opening new orders at the same price level over and over again.


Maybe 1Direction can tell about the ATR feature?
I had forgotten to multiply the sixths calculation to make MarketDistance into the full pips value that is used in the distance between trades calculation.

I have altered the code that checks for an existing order so that it is more like the successful code in Candle Power. Let me know if it is still not working properly.

:xm:
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 ...
You do not have the required permissions to view the files attached to this post.
Last edited by capmojo on Thu Oct 26, 2017 7:47 am, edited 1 time in total.
Post Reply

Return to “Peaky forum”