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

Awesome - original version
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5232
Page 20 of 46
Author:  spyderman [ Sat Aug 12, 2017 4:59 pm ]
Post subject:  Awesome

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



Just an update. So I've had this running just since Wednesday night. The demo account started at 3,000 but I was mainly wanting to see how it would do at the minimum lot size of .01 lots for use on a smaller account.

Pretty good so far. DD is only $7.52 but wish there was a way to tell maximum floating loss. Anyone have any ideas on that?
Statement.png
Author:  Domanov [ Sat Aug 12, 2017 5:02 pm ]
Post subject:  Awesome

http://www.stevehopwoodforex.com/phpBB3 ... 70#p126170 ?
Author:  SteveHopwood [ Sat Aug 12, 2017 5:17 pm ]
Post subject:  Awesome

V 1d is in post 1, with a fix to stop Awesome hanging up her hat when loaded onto a newly created demo account.

The starting balance shows up as a trade when code iterates through trades in the History tab, with an OrderType() of 6 so I have told her only to consider closed market trades.

Easy DIY. Copy this over the top of double AccumulatedProfit(int tf):

Code: Select all

double AccumulatedProfit(int tf)
{
   bool OnlyClosedOrders=False;
   datetime starttime = iTime(Symbol(), tf, 0);//Define a starting time based on the passed parameter
   double profit = 0; //initialize the profit to calculate
   
   //Iterate through the orders in History and calculate the accumulated profit/loss.
   for (int cc = OrdersHistoryTotal() -1; cc >= 0; cc--)
   {      
      if(BetterOrderSelect(cc, SELECT_BY_POS, MODE_HISTORY) )
         if(OrderCloseTime() >= starttime)
            if (OrderType() < 2)//We are only interested in market trades
               profit += (OrderProfit() + OrderSwap() + OrderCommission() );
   }//for (int cc = OrdersHistoryTotal() -1; cc >= 0; cc--)
   
   
   return(profit);
}//End double AccumulatedProfit(int tf)
I suggest holding off downloading the latest just in case something else crops up that I have forgotten. Download it a few hours before the markets open after the weekend.

:xm:
Author:  davek [ Mon Aug 14, 2017 12:16 am ]
Post subject:  Awesome

Hi:

My Awesome is not taking trades either. I saw this error in the dependencies tab of the EA, is that an error or not?

davek
Author:  renexxxx [ Mon Aug 14, 2017 12:28 am ]
Post subject:  Awesome

davek » Mon Aug 14, 2017 10:16 am wrote:I saw this error in the dependencies tab of the EA, is that an error or not?
No, this is not an error. It merely states that the EA uses (i.e. is dependent on) the ErrorDescription() function that resides in the stdlib.ex4 library.
Author:  finalpremium [ Mon Aug 14, 2017 10:21 am ]
Post subject:  Awesome

Hi all,

When I try to utilize the trading hours feature I get the error shown at the screenshot, I write the input as instructed by Steve and tried with another Empty4 installation and the same error was reproduced :arrrg:
Screenshot (135).png
Author:  lbs48 [ Mon Aug 14, 2017 2:12 pm ]
Post subject:  Awesome

Hello.

Many thanks for a fix EA Steve.

Today I´m testing, but only CHF/JPY (5x sell) trades opened. No others pairs. Is possible, that others pairs not in tradable conditions, or is any mistake on my side?

Many thanks in advance.
Lubos
Author:  1Direction [ Mon Aug 14, 2017 2:14 pm ]
Post subject:  Awesome

lbs48 » Mon Aug 14, 2017 3:12 pm wrote:Hello.

Many thanks for a fix EA Steve.

Today i test, but only CHF/JPY (5x sell) trades opened. No others pairs. Is possible, that others pairs not in tradable conditions, or is any mistake on my side?

Many thanks in advance.
Lubos
Check this http://www.stevehopwoodforex.com/phpBB3 ... 50#p155640

EDIT: download ForceLoadHistoricalData script from here http://www.stevehopwoodforex.com/phpBB3 ... oricalData
Author:  lbs48 [ Mon Aug 14, 2017 2:34 pm ]
Post subject:  Awesome

1Direction » Mon Aug 14, 2017 3:14 pm wrote:
lbs48 » Mon Aug 14, 2017 3:12 pm wrote:Hello.

Many thanks for a fix EA Steve.

Today i test, but only CHF/JPY (5x sell) trades opened. No others pairs. Is possible, that others pairs not in tradable conditions, or is any mistake on my side?

Many thanks in advance.
Lubos
Check this http://www.stevehopwoodforex.com/phpBB3 ... 50#p155640

EDIT: download ForceLoadHistoricalData script from here http://www.stevehopwoodforex.com/phpBB3 ... oricalData

Many thanks 1Direction.
But I think, that mistake must be elsewhere.
I use script for load historical data before I place EA on chart.
Chart is USDCHF, but only for CHFJPY is trades triggered.
Now I ran script again, so it depends...
Author:  1Direction [ Mon Aug 14, 2017 2:43 pm ]
Post subject:  Awesome

lbs48 » Mon Aug 14, 2017 3:34 pm wrote:
1Direction » Mon Aug 14, 2017 3:14 pm wrote:
lbs48 » Mon Aug 14, 2017 3:12 pm wrote:Hello.

Many thanks for a fix EA Steve.

Today i test, but only CHF/JPY (5x sell) trades opened. No others pairs. Is possible, that others pairs not in tradable conditions, or is any mistake on my side?

Many thanks in advance.
Lubos
Check this http://www.stevehopwoodforex.com/phpBB3 ... 50#p155640

EDIT: download ForceLoadHistoricalData script from here http://www.stevehopwoodforex.com/phpBB3 ... oricalData

Many thanks 1Direction.
But I think, that mistake must be elsewhere.
I use script for load historical data before I place EA on chart.
Chart is USDCHF, but only for CHFJPY is trades triggered.
Now I ran script again, so it depends...
Try to open each pair you want to trade in the Empty4 Market Watch panel open for each pair (drag drop symbol in the same open chart window) a D1 chart and scroll back see if this change things for you.
All times are UTC Page 20 of 46