Price Action Scalper EA

peterke
Trader
Posts: 56
Joined: Wed Nov 16, 2011 9:17 am

Price Action Scalper EA

Post by peterke »

Steve, I ran this through the tester. It was only taking long trades.

rgds
Peter
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Price Action Scalper EA

Post by DocT »

Steve
I can also confirm PAS only taking long trades. Perhaps similar problem to scalp the little gits?
Thanks
Doc
User avatar
zader
Trader
Posts: 90
Joined: Fri Jul 06, 2012 8:46 am
Location: Rundown NW England

Price Action Scalper EA

Post by zader »

I think the sell problem is at line 1417, just change

Code: Select all

   double target = ObjectGet(buyline, OBJPROP_PRICE1);
to

Code: Select all

   double target = ObjectGet(sellline, OBJPROP_PRICE1);
I could be wrong I often am :oops: but its taking shorts in the Empty4 tester now.
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Price Action Scalper EA

Post by DocT »

Thanks @Zader

Have modified, recompiled and reloaded onto my charts. Now to wait for pm session to check. Thanks
Doc
User avatar
zader
Trader
Posts: 90
Joined: Fri Jul 06, 2012 8:46 am
Location: Rundown NW England

Price Action Scalper EA

Post by zader »

taggie11 » Mon Jun 23, 2014 11:07 am wrote:Thanks @Zader

Have modified, recompiled and reloaded onto my charts. Now to wait for pm session to check. Thanks
Doc
Please tell me thats on demo, I wouldn't risk real money on anything I think I might have sort of fixed :shock:
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Price Action Scalper EA

Post by DocT »

Absolutely - Demo ;-)
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.

Price Action Scalper EA

Post by SteveHopwood »

zader » Mon Jun 23, 2014 9:57 am wrote:I think the sell problem is at line 1417, just change

Code: Select all

   double target = ObjectGet(buyline, OBJPROP_PRICE1);
to

Code: Select all

   double target = ObjectGet(sellline, OBJPROP_PRICE1);
I could be wrong I often am :oops: but its taking shorts in the Empty4 tester now.
Thanks again zader. :clap: Saved me a job that I was going to get around to eventually, but now I do not have to. :clap:

V 1b is in post 1 with zader's fix.

: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
zader
Trader
Posts: 90
Joined: Fri Jul 06, 2012 8:46 am
Location: Rundown NW England

Price Action Scalper EA

Post by zader »

SteveHopwood » Mon Jun 23, 2014 7:25 pm wrote: Thanks again zader. :clap: Saved me a job that I was going to get around to eventually, but now I do not have to. :clap:

V 1b is in post 1 with zader's fix.

:xm:
Glad to be of help and following the breadcrumbs through your code is a much more fun learning experience for me than reading the MQL4 webpage, so you keep dropping those intentional ;) bloopers in.
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Price Action Scalper EA

Post by DocT »

Steve

Testing with PAS has thrown up a couple of issues:
1. PAS is not placing TPs (invalid TP for Order Modify function)
2. SLs are huge e.g. gbpjpy (image below) price is 172.785 but SL is 518.344

EDIT - ModifyOrder () TP or SL modification failed with error 4051: invalid function parameter value

Doc
You do not have the required permissions to view the files attached to this post.
AGT
Trader
Posts: 889
Joined: Thu Nov 17, 2011 7:20 pm
Location: Germany

Price Action Scalper EA

Post by AGT »

Hi peeps ! So what about new success using this scalper thingy ? Any actual results ? :)
Post Reply

Return to “Automated trading systems”