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

Awesome + SS version
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5447
Page 35 of 40
Author:  foolishdog [ Wed Aug 08, 2018 3:25 pm ]
Post subject:  Awesome + SS version

c1borg » Mon Aug 06, 2018 3:35 pm wrote:Too early for any solid conclusions (or for that matter adding to FXTestify), but I have arrived at some settings which I think are important. I am currently testing 4 versions with interesting and varying results. Btw my SPB test failed completely today probably due to the low starting balance :? .

However on the brighter side, all my AwesomeSS experiments made good profits. :yahoo:



You will note all are using version 1c, which is the one Steve Hopwood kindly provided. Many thanks to Isabek for version 1d which allowed me to prove beyond doubt not to use stop losses! Unless that is you quickly want to loose all your money :hi:

Here are the various settings I have used...



Version 1a has the GBPJPY problem but still posts healthy profits each day and has limited DD to around 12% so far. This should mean you can bank money while you wait for the bad pair(s) to recover.

Version 1c seems to be performing well 1.74% per day with pretty low DD :smile:

More news to follow when I have it.....
Hi ciborg,

that's a great result up to now. i use the same setup in my VPS but doesn't has so prefect result and DD is terrible. Not sure it's configuration issue or VPS difference. if possible, would you please share the conf file here? Test in VPS should more close to real situation. thanks.
Author:  c1borg [ Wed Aug 08, 2018 5:36 pm ]
Post subject:  Awesome + SS version

foolishdog » Wed Aug 08, 2018 3:25 pm wrote:
Hi ciborg,

that's a great result up to now. i use the same setup in my VPS but doesn't has so prefect result and DD is terrible. Not sure it's configuration issue or VPS difference. if possible, would you please share the conf file here? Test in VPS should more close to real situation. thanks.
Amazing results today 12.83% up over the 4 accounts in 1 day! :smile: and DD not increasing as in the past but holding steady. I will only post my results via FXTestify when I settle on a stable setfile/EA, as im still tinkering its pointless posting the results. However the table above tells you each setting which varies from ootb, so not hard to replicate.

Edit: Interesting chart worth showing the latest settings compared over the last few days
Capture.PNG
Author:  c1borg [ Sat Aug 11, 2018 11:51 am ]
Post subject:  Awesome + SS version

This setup seems to be turning into a winner :good:
Capture.PNG
Author:  smilee89 [ Sun Aug 12, 2018 11:09 pm ]
Post subject:  Awesome + SS version

Duplicate orders.
Is that Ok?
Author:  c1borg [ Mon Aug 13, 2018 3:28 pm ]
Post subject:  Awesome + SS version

smilee89 » Sun Aug 12, 2018 11:09 pm wrote:Duplicate orders.
Is that Ok?
Yes you will get trades on both the 5m and 15m timeframes sometimes they match. However I have spotted this before viewtopic.php?f=102&t=5447&start=300#p162859. Unfortunately I am learning MQ4 so bit beyond me atm.
Author:  Letsarb [ Mon Aug 13, 2018 5:09 pm ]
Post subject:  Awesome + SS version

c1borg » Mon Aug 13, 2018 3:28 pm wrote:
smilee89 » Sun Aug 12, 2018 11:09 pm wrote:Duplicate orders.
Is that Ok?
Yes you will get trades on both the 5m and 15m timeframes sometimes they match. However I have spotted this before viewtopic.php?f=102&t=5447&start=300#p162859. Unfortunately I am learning MQ4 so bit beyond me atm.
You have just to add the black following two lines in your code

At the beginning of the code :

extern double MinimumDistanceBetweenAllTrades=25;

And in the SendSingle function:

bool SendSingleTrade(string symbol,int type,string comment,double lotsize,double price,double stop,double take, int magic)
{

int ticket = -1;
double pips=0;
for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
{
if (!BetterOrderSelect(cc, SELECT_BY_POS, MODE_TRADES) ) return false;
if (OrderSymbol() != symbol ) continue;
pips = MathAbs(price - OrderOpenPrice() ) * factor;
if (pips < MinimumDistanceBetweenAllTrades)
return(false);
}
Author:  c1borg [ Mon Aug 13, 2018 6:06 pm ]
Post subject:  Awesome + SS version

Letsarb » Mon Aug 13, 2018 5:09 pm wrote:
You have just to add the black following two lines in your code

At the beginning of the code :

extern double MinimumDistanceBetweenAllTrades=25;

And in the SendSingle function:

bool SendSingleTrade(string symbol,int type,string comment,double lotsize,double price,double stop,double take, int magic)
{

int ticket = -1;
double pips=0;
for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
{
if (!BetterOrderSelect(cc, SELECT_BY_POS, MODE_TRADES) ) return false;
if (OrderSymbol() != symbol ) continue;
pips = MathAbs(price - OrderOpenPrice() ) * factor;
if (pips < MinimumDistanceBetweenAllTrades)
return(false);
}
Thanks Letsarb but Iam using version 1c in post 1 and it has different code

pips = MathAbs(price - OrderOpenPrice() ) * factor;
if (pips < MinimumDistanceBetweenSignalsPips[tfIndex])
return(false);

So if I change this input for trades 1 and 2 from
sinput int Trade1MinimumDistanceBetweenSignalsPips=10;
to
sinput int Trade1MinimumDistanceBetweenSignalsPips=25;
will that give the same result?
Author:  Letsarb [ Mon Aug 13, 2018 6:15 pm ]
Post subject:  Awesome + SS version

Not exactly.

In 1c you have :

Code: Select all

bool SendSingleTrade(string symbol,int type,string comment,double lotsize,double price,double stop,double take, int magic)
{

   int ticket = -1;


   
   datetime expiry=0;
   //if (SendPendingTrades) expiry = TimeCurrent() + (PendingExpiryMinutes * 60);

   //RetryCount is declared as 10 in the Trading variables section at the top of this file
   for(int cc=0; cc<RetryCount; cc++)
     {
      //for (int d = 0; (d < RetryCount) && IsTradeContextBusy(); d++) Sleep(100);

      while(IsTradeContextBusy()) Sleep(100);//Put here so that excess slippage will cancel the trade if the ea has to wait for some time.
      
      ticket=OrderSend(symbol,type,lotsize,price,0,stop,take,comment,magic,expiry,clrNONE);
and you need :

Code: Select all

bool SendSingleTrade(string symbol,int type,string comment,double lotsize,double price,double stop,double take, int magic)
{

   int ticket = -1;
      double pips=0;
   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      if (!BetterOrderSelect(cc, SELECT_BY_POS, MODE_TRADES) ) return false;
      if (OrderSymbol() != symbol ) continue;
      pips = MathAbs(price - OrderOpenPrice() ) * factor;
      if (pips < MinimumDistanceBetweenAllTrades)
         return(false);
   }
   
   datetime expiry=0;
   //if (SendPendingTrades) expiry = TimeCurrent() + (PendingExpiryMinutes * 60);

   //RetryCount is declared as 10 in the Trading variables section at the top of this file
   for(int cc=0; cc<RetryCount; cc++)
     {
      //for (int d = 0; (d < RetryCount) && IsTradeContextBusy(); d++) Sleep(100);

      while(IsTradeContextBusy()) Sleep(100);//Put here so that excess slippage will cancel the trade if the ea has to wait for some time.
      
      ticket=OrderSend(symbol,type,lotsize,price,0,stop,take,comment,magic,expiry,clrNONE);
Author:  c1borg [ Mon Aug 13, 2018 6:26 pm ]
Post subject:  Awesome + SS version

Many thanks :hi: done :good:

I am currently learning Empty4 coding so on a long and complicated journey :shock:
Author:  smilee89 [ Mon Aug 13, 2018 9:36 pm ]
Post subject:  Awesome + SS version

c1borg » Mon Aug 13, 2018 4:28 pm wrote:
smilee89 » Sun Aug 12, 2018 11:09 pm wrote:Duplicate orders.
Is that Ok?
Yes you will get trades on both the 5m and 15m timeframes sometimes they match. However I have spotted this before viewtopic.php?f=102&t=5447&start=300#p162859. Unfortunately I am learning MQ4 so bit beyond me atm.
Mind that I am not talking only about trades from both 5m and 15m on same time/price, but also duplicate orders for same TF, i.e. 2 trades from 5m and also 2 trades from 15m - altogether 4 trades for same currency pair placed on same time and same price (about 2-5 pips difference) - one version at one platform.
All times are UTC Page 35 of 40