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

Price Action Scalper EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3671
Page 2 of 2
Author:  peterke [ Sat Jun 21, 2014 12:12 pm ]
Post subject:  Price Action Scalper EA

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

rgds
Peter
Author:  DocT [ Mon Jun 23, 2014 8:57 am ]
Post subject:  Price Action Scalper EA

Steve
I can also confirm PAS only taking long trades. Perhaps similar problem to scalp the little gits?
Thanks
Doc
Author:  zader [ Mon Jun 23, 2014 9:57 am ]
Post subject:  Price Action Scalper EA

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.
Author:  DocT [ Mon Jun 23, 2014 11:07 am ]
Post subject:  Price Action Scalper EA

Thanks @Zader

Have modified, recompiled and reloaded onto my charts. Now to wait for pm session to check. Thanks
Doc
Author:  zader [ Mon Jun 23, 2014 12:14 pm ]
Post subject:  Price Action Scalper EA

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:
Author:  DocT [ Mon Jun 23, 2014 2:33 pm ]
Post subject:  Price Action Scalper EA

Absolutely - Demo ;-)
Author:  SteveHopwood [ Mon Jun 23, 2014 7:25 pm ]
Post subject:  Price Action Scalper EA

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:
Author:  zader [ Mon Jun 23, 2014 9:30 pm ]
Post subject:  Price Action Scalper EA

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.
Author:  DocT [ Wed Jun 25, 2014 7:50 am ]
Post subject:  Price Action Scalper EA

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
Author:  AGT [ Mon Jul 07, 2014 9:17 am ]
Post subject:  Price Action Scalper EA

Hi peeps ! So what about new success using this scalper thingy ? Any actual results ? :)
All times are UTC Page 2 of 2