Awesome - original version

The place for Peaky and Peaky-related stuff.
Post Reply
User avatar
spyderman
Trader
Posts: 338
Joined: Sun Dec 11, 2011 1:39 pm

Awesome

Post by spyderman »

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
You do not have the required permissions to view the files attached to this post.
Snaggin' some pips
Domanov
Trader
Posts: 11
Joined: Thu Mar 24, 2016 3:10 pm

Awesome

Post by Domanov »

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 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:
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.
davek
Trader
Posts: 45
Joined: Wed Nov 28, 2012 10:02 am
Location: Wisconsin

Awesome

Post by davek »

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
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Awesome

Post by renexxxx »

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.
finalpremium
Posts: 9
Joined: Tue May 09, 2017 6:36 am

Awesome

Post by finalpremium »

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
You do not have the required permissions to view the files attached to this post.
lbs48
Trader
Posts: 106
Joined: Thu May 22, 2014 8:02 am
Location: Prague, Czech Republic

Awesome

Post by lbs48 »

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
Last edited by lbs48 on Mon Aug 14, 2017 2:15 pm, edited 1 time in total.
User avatar
1Direction
Trader
Posts: 97
Joined: Sun Jan 29, 2017 8:37 pm
Location: London

Awesome

Post by 1Direction »

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
lbs48
Trader
Posts: 106
Joined: Thu May 22, 2014 8:02 am
Location: Prague, Czech Republic

Awesome

Post by lbs48 »

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...
User avatar
1Direction
Trader
Posts: 97
Joined: Sun Jan 29, 2017 8:37 pm
Location: London

Awesome

Post by 1Direction »

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

Return to “Peaky forum”