Awesome - original version

The place for Peaky and Peaky-related stuff.
Post Reply
Javajames
Trader
Posts: 19
Joined: Mon Nov 05, 2012 1:57 pm

Awesome

Post by Javajames »

Hi TJF,
At first a big thank you for your valuable contribution to Awesome....would you please post your 2nd indy on your last post the one which shows a good summary of your account
Thanks a lot I have already TradeReport but not the other one
User avatar
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

Awesome

Post by TraderJoeForex »

Javajames » Fri Aug 04, 2017 6:41 am wrote:Hi TJF,
At first a big thank you for your valuable contribution to Awesome....would you please post your 2nd indy on your last post the one which shows a good summary of your account
Thanks a lot I have already TradeReport but not the other one
You will find it here, thanks to Rene :smile:

http://www.stevehopwoodforex.com/phpBB3 ... =95&t=4389
Johann
Posts: 4
Joined: Sat Sep 24, 2016 12:08 pm

Awesome

Post by Johann »

EDIT :
Thanks for the latest release Steve (v1a), for those who are using the TJF setfile M1 basket, I suggest you turn off the positive swap filter if you want to keep the same behavior otherwise you will have a slight decrease in trade taken compared to before.

hi all,

Somehow, the recovery for buys trade is still broken.
I have set it to 10 pips and the pair didn't close although I have 6 trades open with a total pips exceeding 10 pips. I am suspecting the following code but struggle to understand it correctly. Do someone have the same issues ?

Code: Select all

bool HaveWeHitRecoveryTarget(string symbol, int type, int index)
{
   //Calculate the Recovery target and close the trades if the target price is reached.
   
   int cc = 0;
   RecoveryTargetPrice = 0;
   
   if (type == OP_BUY)
   {
      //Add together the price of all the market trades
      for (cc = 0; cc < ArraySize(BuyTickets); cc++)
      {
         if (!BetterOrderSelect(BuyTickets[cc], SELECT_BY_TICKET, MODE_TRADES) )
            continue;//Just in case
         
         RecoveryTargetPrice+= OrderOpenPrice();
      }//for (cc = 0; cc < ArraySize(BuyTickets); cc++)
      
      //Divide this figure by the ticket array size to arrivc at the breakeven price
      RecoveryTargetPrice/= ArraySize(BuyTickets);
      RecoveryTargetPrice+= (RecoveryProfitPips[index] / factor);
      
      //Has the market reached this target?
      if (bid >= RecoveryTargetPrice)
         return(true);
   
   }//if (type == OP_BUY)
You do not have the required permissions to view the files attached to this post.
zaguy
Trader
Posts: 43
Joined: Wed Feb 03, 2016 7:42 am

Awesome

Post by zaguy »

Hi All,

Firstly a great thank you to Steve and the other contributors to a great piece of coding art.

Just a thought in respect of the Recovery function where the market rapidly drops (or gains) 100 pips or more (such as the GBPUSD pair yesterday): why not also have an option to trade the stoporders in the same direction as the market drop or gain, i.e. place sell stoporders at specified Market Distance if the market drops and vice versa - of course if there is a quick recovery to previous higher or lower levels, then DD will once again be adversely affected.

It is just a thought - though I am sure Steve (and the other coders) already considered this - and it might just be a waste of time?
User avatar
1Direction
Trader
Posts: 97
Joined: Sun Jan 29, 2017 8:37 pm
Location: London

Awesome

Post by 1Direction »

Johann » Fri Aug 04, 2017 7:51 am wrote:EDIT :
Thanks for the latest release Steve (v1a), for those who are using the TJF setfile M1 basket, I suggest you turn off the positive swap filter if you want to keep the same behavior otherwise you will have a slight decrease in trade taken compared to before.

hi all,

Somehow, the recovery for buys trade is still broken.
I have set it to 10 pips and the pair didn't close although I have 6 trades open with a total pips exceeding 10 pips. I am suspecting the following code but struggle to understand it correctly. Do someone have the same issues ?

Code: Select all

bool HaveWeHitRecoveryTarget(string symbol, int type, int index)
{
   //Calculate the Recovery target and close the trades if the target price is reached.
   
   int cc = 0;
   RecoveryTargetPrice = 0;
   
   if (type == OP_BUY)
   {
      //Add together the price of all the market trades
      for (cc = 0; cc < ArraySize(BuyTickets); cc++)
      {
         if (!BetterOrderSelect(BuyTickets[cc], SELECT_BY_TICKET, MODE_TRADES) )
            continue;//Just in case
         
         RecoveryTargetPrice+= OrderOpenPrice();
      }//for (cc = 0; cc < ArraySize(BuyTickets); cc++)
      
      //Divide this figure by the ticket array size to arrivc at the breakeven price
      RecoveryTargetPrice/= ArraySize(BuyTickets);
      RecoveryTargetPrice+= (RecoveryProfitPips[index] / factor);
      
      //Has the market reached this target?
      if (bid >= RecoveryTargetPrice)
         return(true);
   
   }//if (type == OP_BUY)
I just had a recovery buy trades closed in euraud containing 3 positions on version 1a seems to be working for me.

EDIT: Checking other open pairs in recovery with >10 pips but that did not close yet I noticed that I ended up with different lot size for the positions maybe the reason they are not closing. I'll now close them manually.
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.

Awesome

Post by SteveHopwood »

Gary's FIFO version for you US guys is up and running http://www.stevehopwoodforex.com/phpBB3 ... 102&t=5237

: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.
FxFoil
Trader
Posts: 42
Joined: Wed Dec 07, 2011 5:40 am

Awesome

Post by FxFoil »

Some clarification please.
The duplicate trades in picture have different M# and Comment. However I was not expecting SS pendings to occurr when 'Trade Short" = False. (Likewise BS pendings even though 'Trade Long' = False.) Is that right?

Thanks for checking
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.

Awesome

Post by SteveHopwood »

FxFoil » Fri Aug 04, 2017 9:31 am wrote:Some clarification please.
The duplicate trades in picture have different M# and Comment. However I was not expecting SS pendings to occurr when 'Trade Short" = False. (Likewise BS pendings even though 'Trade Long' = False.) Is that right?

Thanks for checking
That is a timely bloop spot. The inputs are there but I forgot to code the appropriate filter. I am about to release 1b and have added a fix for this bloop.

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

Awesome

Post by SteveHopwood »

V 1b is in post 1. This is a contribution by odrisb (Brenden), that allows us to group all the trades open on individual pairs into a basket, across all the time frames we are trading. The inputs are pretty obvious but details are in the updated user guide. You will find the inputs just above the rollover time inputs.

Brilliant contribution Brenden. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

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

Awesome

Post by SteveHopwood »

Sorry folks. You need to redownload 1b if you downloaded it before reading this. Paul has just emailed to point out that his Flying Buddha went missing. No idea how that happened. I have added it back in. Thanks Paul.

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

Return to “Peaky forum”