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

HELP WITH ERROR 4107
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=2914
Page 10 of 18
Author:  fx800 [ Thu Aug 22, 2013 12:25 pm ]
Post subject:  Re: HELP WITH ERROR 4107

fxdaytrader wrote:During the meantime I extended the version (implemented utc-stuff to stop trading xyz hours before market closes on friday (close time is computed, so no time-calculation of the user needed).
Runs on demo on H4 and on another demo on H1, if everything works as desired I will publish that version on the beginning of the next week. 8-)
Thanks.
Author:  fxdaytrader [ Thu Aug 22, 2013 5:42 pm ]
Post subject:  Re: HELP WITH ERROR 4107

On the other hand - here we go.
If you're confused because the date of last modify is 23.08. - yes, it is true (actually I do not stay in .EU) :mrgreen:

The experimental utc-stuff is also implemented (stop trading 6 hours before market closes, but it will NOT close any positions (except the pending orders)).

please re-download, I think there was a bloop
Author:  fx800 [ Thu Aug 22, 2013 6:18 pm ]
Post subject:  Re: HELP WITH ERROR 4107

fxdaytrader wrote:On the other hand - here we go.
If you're confused because the date of last modify is 23.08. - yes, it is true (actually I do not stay in .EU) :mrgreen:

The experimental utc-stuff is also implemented (stop trading 6 hours before market closes, but it will NOT close any positions (except the pending orders)).
Thanks again. It feels like xmas everyday !

No more errors. Hooorrraaayyy :lol:

Your mods are doing well. Two demo on H1, one up 1.4 % and another up 4.3% after two days ( granted they are both trading 0.2 lots x 2 !) zero DD (how often do you get that with an ea).

Must not forget to thank Steve and Shelley and other collaborators for their great effort.


:D :D :D
Author:  fxdaytrader [ Fri Aug 23, 2013 2:49 am ]
Post subject:  Re: HELP WITH ERROR 4107

pls. redownload, there was a bloop which seems not to prevent from opening two positions at once :)

edit: attached newest version.
please do not forget to switch LoadCustomMASettings=false (otherwise different settings will be loaded, as specified in the last function void LoadCustomSettings() (scroll down to see).

What I also changed is the accountnumbers (to filter which settings to load on which platform, find it in the last function).

On the h1-testing platform there are currently 3 pending orders open (audusd buy, eurchf buy, gbpusd sell) and waiting to be filled (pivot-stuff for takeprofits seem to work also). It seems that we got rid of the open pendings twice-problem :P

Thats from my part for this week, I shut down my Empty4 platforms soon and enjoying the weekend.
Author:  fx800 [ Fri Aug 23, 2013 7:29 am ]
Post subject:  Re: HELP WITH ERROR 4107

fxdaytrader wrote:pls. redownload, there was a bloop which seems not to prevent from opening two positions at once :)

edit: attached newest version.
please do not forget to switch LoadCustomMASettings=false (otherwise different settings will be loaded, as specified in the last function void LoadCustomSettings() (scroll down to see).

What I also changed is the accountnumbers (to filter which settings to load on which platform, find it in the last function).

On the h1-testing platform there are currently 3 pending orders open (audusd buy, eurchf buy, gbpusd sell) and waiting to be filled (pivot-stuff for takeprofits seem to work also). It seems that we got rid of the open pendings twice-problem :P

Thats from my part for this week, I shut down my Empty4 platforms soon and enjoying the weekend.
Thanks.

Have a nice weekend.
Author:  fx800 [ Fri Aug 23, 2013 3:16 pm ]
Post subject:  Re: HELP WITH ERROR 4107

The new update is not sending any trade

The following in the experts tab

2013.08.23 16:12:12 BASA v1o.PendingOrders.fxdaytrader 23-8-2013 CADCHF,H1: Alert: BASA v1o.PendingOrders.fxdaytrader 23-8-2013 CADCHF SellStop (BASA 1oP Main trade) has triggered. 2013.08.23 16:12:12

So, reverting to the previous version, just half the lot size to compensate for ea sending lot x 2.
Author:  fxdaytrader [ Sat Aug 24, 2013 4:48 am ]
Post subject:  Re: HELP WITH ERROR 4107

It sends trades (on my H1 yesterday it sent audusd, gbpusd, eurchf (still open)).
Maybe SendAlertNotTrade is still TRUE? It must be FALSE ... ;)
pls. see screenshot, if you see this message trading is not enabled.

btw, the market-closed stuff seems to work - now it says "outside trading hours", if it wakes up on sunday evening, then its perfect.

have a nice weekend :P

edit: And set LoadCustomMASettings=false (otherwise you have to change the parameters in the last function, or not, whatever ;) )

I will add a new option also - ma-stacking is a nice feature, but lets assume we have stacking up in H4, it could make sense to wait until a stack-down on e.g. M1 or M5 to get a better entry (and so increase the chance to set the trade to BE earlier).
eurusd.basa_fxdaytrader-ea_mod.png
Author:  fx800 [ Sat Aug 24, 2013 7:27 am ]
Post subject:  Re: HELP WITH ERROR 4107

fxdaytrader wrote:It sends trades (on my H1 yesterday it sent audusd, gbpusd, eurchf (still open)).
Maybe SendAlertNotTrade is still TRUE? It must be FALSE ... ;)
pls. see screenshot, if you see this message trading is not enabled.

btw, the market-closed stuff seems to work - now it says "outside trading hours", if it wakes up on sunday evening, then its perfect.

have a nice weekend :P

edit: And set LoadCustomMASettings=false (otherwise you have to change the parameters in the last function, or not, whatever ;) )

I will add a new option also - ma-stacking is a nice feature, but lets assume we have stacking up in H4, it could make sense to wait until a stack-down on e.g. M1 or M5 to get a better entry (and so increase the chance to set the trade to BE earlier).
eurusd.basa_fxdaytrader-ea_mod.png
You are absolutely correct, the SendAlertNotTrade was set to TRUE by default by your modification, and I didn't think to check this as it was FALSE by default in the original and also previous versions. :oops:

I am really excited to see what happens next week. It has worked in my maual trading, and I have missed many potential setups as there are too many charts to check hourly. Automating this should certainly help.
Author:  fx800 [ Sat Aug 24, 2013 1:50 pm ]
Post subject:  Re: HELP WITH ERROR 4107

I have set up fresh demo for the latest update for H4 and H1 time frames, and will post the results at the close of trading next week.
Author:  fx800 [ Sat Aug 24, 2013 8:27 pm ]
Post subject:  Re: HELP WITH ERROR 4107

The trigger candles are Close[1].

Shouldn't the pending orders use High[1] + buffer or Low[1] - buffer ? instead of High[0]/Low[0].

That is what I am using in maual trading.
All times are UTC Page 10 of 18