stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Awesome - original version
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5232
Page 19 of 46
Author:  1Direction [ Thu Aug 10, 2017 8:02 pm ]
Post subject:  Awesome

TraderJoeForex » Thu Aug 10, 2017 8:11 pm wrote:
1Direction » Thu Aug 10, 2017 4:50 pm wrote:
Yes, maybe the AllPairTradeManager(APTM) will do the trick of closing baskets that reached profit target, still studying how to set it up.

Thx
My thoughts on this led me to the set files I am testing in our forward test, which have recovery false and individual basket false so the only way the trades can close is a global basket. In theory had I been testing this set last week it might have led to a GBPJPY close before it got temporarily out of hand because all the other pairs in profit would have stayed open until they could counterbalance GBPJPY rather than closing as individual baskets.

So far this week, only closing as a global basket is working beautifully and it has now closed it's 20th basket in 4days. Just waiting for the next sudden move on a pair to see whether that pair will get closed or whether the whole basket will still get stuck for a while.

So kinda the opposite of what you are thinking, and I don't know which way will be best but we've got it covered between the set files in our test so hopefully the data will be useful once we have enough of it.

My original M1basket which still has the GBPJPY drawdown is still happily closing individual baskets on other pairs whilst waiting for GBPJPY to get back to it's long intended direction.

I think the thing to remember is that we are trading long cycles here so a few weeks drawdown from time to time can be expected and is no different to when we stuff up our manual entries. And I do plenty of that too! But trading in the direction of the yearly cycle has a certain comfort to it, even when GBPJPY has 10 recovery trades all in deep drawdown :lol:

One thing that is apparent is that my set files will need to have a wider recovery spacing. 10pips was always going to be asking for trouble but I think that helps the testing because it highlights the strengths or weaknesses of the rest of the settings rather well. Once we have found the right balance with the rest of the choices then using wider recovery should be the icing on the cake?
Very interesting, I see you guys are always a step ahead :clap:
Author:  TraderJoeForex [ Thu Aug 10, 2017 10:25 pm ]
Post subject:  Awesome

spyderman » Thu Aug 10, 2017 5:22 pm wrote:Chugging away after a couple of days using. :party:


Nice clean week this week so far.. :good:

... thinking one particular strategy might be to let Awesome loose the week following NFP every month and look to close all by end of month, miss the first week then startup again!
Author:  SteveHopwood [ Thu Aug 10, 2017 10:42 pm ]
Post subject:  Awesome

TraderJoeForex » Thu Aug 10, 2017 10:25 pm wrote:
Nice clean week this week so far.. :good:

... thinking one particular strategy might be to let Awesome loose the week following NFP every month and look to close all by end of month, miss the first week then startup again!
Yes, but what would we do for the one week of holiday a month?

Ok, here is My Official Stance: I have total faith in my EA's and check the live account once a week.

Here is my actual stance: I check it obsessively every few seconds that I am awake.

Maybe I could get used to ignoring the account for a whole week, but it would not be the same.

Ahhhhh nooooo. It is ok. I just realised. I have PoS on the 4 pip TP on the M1 to fill in the gap.

So, let's hear it for letting
Awesome loose the week following NFP every month and look to close all by end of month, miss the first week then startup again!
Absolutely support this plan 100%. :clap: :clap: :clap: :clap: :party: :party: :party: :party: :!!: :!!: :!!: :!!:

:xm:
Author:  heart1010 [ Fri Aug 11, 2017 8:46 am ]
Post subject:  Awesome

The new *target options close out every open position regardless of the set symbols and/or magic numbers from input :? Is this "by design"? If yes an option to only calculate *target cash/% for set symbols from input setting would be nice. Because now all my index cfd positions for example are also closed when *target is reached from awesome EA input setting.

Two things I noticed:
1) NuclearOption() function doesn't check symbol(s)/magic number(s) from input settings
2) In CountOpenTrades() function EntirePositionCashUpl sums up before the check for symbol(s)/magic number(s)

Code: Select all

//Iterating backwards through the orders list caters more easily for closed trades than iterating forwards
   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      bool TradeWasClosed = false;//See 'check for possible trade closure'

      //Ensure the trade is still open
      if (!OrderSelect(cc, SELECT_BY_POS, MODE_TRADES) ) continue;
      
      EntirePositionCashUpl+= OrderProfit() + OrderSwap() + OrderCommission();
      
      //Ensure the EA 'owns' this trade
      if (OrderSymbol() != symbol) continue;
      if (OrderMagicNumber() != magic) continue;
Author:  SteveHopwood [ Fri Aug 11, 2017 8:48 am ]
Post subject:  Awesome

heart1010 » Fri Aug 11, 2017 8:46 am wrote:The new *target options close out every open position regardless of the set symbols and/or magic numbers from input :? Is this "by design"? If yes an option to only calculate *target cash/% for set symbols from input setting would be nice. Because now all my index cfd positions for example are also closed when *target is reached from awesome EA input setting.

Two things I noticed:
1) NuclearOption() function doesn't check symbol(s)/magic number(s) from input settings
2) In CountOpenTrades() function EntirePositionCashUpl sums up before the check for symbol(s)/magic number(s)

Code: Select all

//Iterating backwards through the orders list caters more easily for closed trades than iterating forwards
   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      bool TradeWasClosed = false;//See 'check for possible trade closure'

      //Ensure the trade is still open
      if (!OrderSelect(cc, SELECT_BY_POS, MODE_TRADES) ) continue;
      
      EntirePositionCashUpl+= OrderProfit() + OrderSwap() + OrderCommission();
      
      //Ensure the EA 'owns' this trade
      if (OrderSymbol() != symbol) continue;
      if (OrderMagicNumber() != magic) continue;
You are missing the point. Read the user guide.

:xm:
Author:  SteveHopwood [ Fri Aug 11, 2017 11:07 am ]
Post subject:  Awesome

A tip for when loading PoS and Awesome, or when recompiling after editing the code: check the Experts tab for an error message about not being able to start the timer. The bot will be stuck with the "Initialising. Please Wait." message on the chart. You have to drag the bot onto the chart again.

:xm:
Author:  lbs48 [ Fri Aug 11, 2017 4:45 pm ]
Post subject:  Awesome

Hi to all.
Firstly endless thanks for TJF, Steve and others genial brains on this great place.

I trying test this amazing awesome thing. First day bot working perfectly. But next day I open new demo account just for Awesome EA testing. I attach EA on chart with Awesome M1 Basket.set, but EA not trading. On chart is message: "I have reached weekly profit...".
However no trade trigerred, so how can be reached weekly target?

Can anybody help me please?

Many thanks in advance.

(Hope, that my question is not clearly cretins).

Nice weekend and surplus pips in new week.

PS: Excuse my bad English please.
Author:  1Direction [ Fri Aug 11, 2017 5:32 pm ]
Post subject:  Awesome

lbs48 » Fri Aug 11, 2017 5:45 pm wrote:Hi to all.
Firstly endless thanks for TJF, Steve and others genial brains on this great place.

I trying test this amazing awesome thing. First day bot working perfectly. But next day I open new demo account just for Awesome EA testing. I attach EA on chart with Awesome M1 Basket.set, but EA not trading. On chart is message: "I have reached weekly profit...".
However no trade trigerred, so how can be reached weekly target?

Can anybody help me please?

Many thanks in advance.

(Hope, that my question is not clearly cretins).

Nice weekend and surplus pips in new week.

PS: Excuse my bad English please.
On a new account you will need to

1. force download the history data, there is a script in the thread to do it or you can open a chart for each pairs you want to trade on daily

2. set those values and close and restart Empty4
sep8=================================================================
pro=---- Daily and weekly profit targets ----
dai=-- Daily --
DailyCashProfitTarget=0.0
DailyPercentOfBalanceProfitTarget=0.0
wee=-- Weekly --
WeeklyCashProfitTarget=0.0
WeeklyPercentOfBalanceProfitTarget=0.0

this should initiate awesome
Author:  Domanov [ Fri Aug 11, 2017 8:45 pm ]
Post subject:  Awesome

lbs48 » Fri Aug 11, 2017 4:45 pm wrote:Hi to all.
Firstly endless thanks for TJF, Steve and others genial brains on this great place.

I trying test this amazing awesome thing. First day bot working perfectly. But next day I open new demo account just for Awesome EA testing. I attach EA on chart with Awesome M1 Basket.set, but EA not trading. On chart is message: "I have reached weekly profit...".
However no trade trigerred, so how can be reached weekly target?

Can anybody help me please?

Many thanks in advance.

(Hope, that my question is not clearly cretins).

Nice weekend and surplus pips in new week.

PS: Excuse my bad English please.

You can try the fix by banzak posted here:
http://www.stevehopwoodforex.com/phpBB3 ... 09#p155509

It helped me when i had this problem.
Author:  lbs48 [ Sat Aug 12, 2017 10:21 am ]
Post subject:  Awesome

Hello.

Many thanks 1Direction and Domanov for your help.
I'll try your advice on Monday.

Nice weekend!
Lubos
All times are UTC Page 19 of 46