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

Nanningbob 10.2 auto-trading EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=552
Page 16 of 54
Author:  phil_trade [ Mon May 21, 2012 5:49 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

Hi Steve

may I suggest adding the following controls codes in INIT() to avoid Empty4 crashes at startup if the connexion to broker is not quickly establish. I have resolve this for some lasy broker and now it's work fine.

Code: Select all

   
while (IsConnected()==false)
{
Comment("Waiting for Empty4 connexion...");
Sleep(1000);
 }
Philippe
Author:  SteveHopwood [ Mon May 21, 2012 9:23 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

nanningbob wrote:If you have a buy on the GC. You should close when it crosses its weekly pivot and look to see if it comes back over the line again. If you have a sell, need to be careful of one last burst up back to the weekly pivot line before it goes into a DT.
It crossed the pivot and took out most of my stops. The rest I have closed manually. Alex was right. Thanks for the advice.

:D
Author:  alex_forex [ Mon May 21, 2012 9:31 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

You're welcome :D
Mine is still open, testing purpose :lol:

Alex
SteveHopwood wrote:
nanningbob wrote:If you have a buy on the GC. You should close when it crosses its weekly pivot and look to see if it comes back over the line again. If you have a sell, need to be careful of one last burst up back to the weekly pivot line before it goes into a DT.
It crossed the pivot and took out most of my stops. The rest I have closed manually. Alex was right. Thanks for the advice.

:D
Author:  SteveHopwood [ Mon May 21, 2012 9:32 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

phil_trade wrote:Hi Steve

may I suggest adding the following controls codes in INIT() to avoid Empty4 crashes at startup if the connexion to criminal is not quickly establish. I have resolve this for some lasy criminal and now it's work fine.

Code: Select all

   
while (IsConnected()==false)
{
Comment("Waiting for Empty4 connexion...");
Sleep(1000);
 }
Philippe
Excellent idea. Thanks. Done and will be in the next release.

:D
Author:  alex_forex [ Mon May 21, 2012 9:36 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

By the way, V1L is runnig from 2:00 GMT this night on my 2nd demo account and no trade triggered for the moment.

Regards
Alex
Author:  crashout [ Mon May 21, 2012 11:48 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

V1L is trading, short euro @ 1.2770
Author:  spotdespot [ Mon May 21, 2012 11:55 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

I'm getting loads of trades - probably too many but I will tweak down - currently I have all balancing and swap filters off.
Author:  alex_forex [ Mon May 21, 2012 12:31 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

Mmmm... no special error message in Empty4 tabs.... will double check all indicators, EA etc, must be my mistake ;)

Thanks guys :)

Regards
Alex
Author:  spotdespot [ Mon May 21, 2012 2:15 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

Steve - I am not sure what tweaking you are doing with setting SL but I think it does need some thought for D1 trend trades at least. I just had a GBPCAD BUY D1 trend trade open as price crossed the Monthly R1 level - which is good. However the SL for D1 trend trades is fixed as MS2 (buy)/MR2(sell) - as GBPCAD is group 5 - which in this case is over 600 pips away.

Perhaps for D1 trend trades the SL should be at nearest MS/R for groups 1-3 and nearest but one for groups 4/5? For example in my GBP/CAD D1 BUY crossing MR1 SL could be set at MS1? That's still a pretty big stop actually (>350 pips) so perhaps it just needs to be at the nearest MS/R level not less than x pips (like you have for the minimum TP target)? Or maybe a MAXD1TrendTradeSL?

Maybe others have better ideas?
Author:  alex_forex [ Mon May 21, 2012 4:49 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

My 2nd test account is in cents, I don't know if it could annoy NB10.2 EA...
All the rest is strictly identical as my first account.

Strange story... :geek:

Alex
All times are UTC Page 16 of 54