HELP WITH ERROR 4107

Post Reply
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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.
User avatar
fxdaytrader
Trader
Posts: 190
Joined: Sun Jun 10, 2012 7:03 am
Location: Poon-Town (germany, se-asia, se-europe) ...

Re: HELP WITH ERROR 4107

Post by fxdaytrader »

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
You do not have the required permissions to view the files attached to this post.
Last edited by fxdaytrader on Fri Aug 23, 2013 2:19 am, edited 1 time in total.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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
User avatar
fxdaytrader
Trader
Posts: 190
Joined: Sun Jun 10, 2012 7:03 am
Location: Poon-Town (germany, se-asia, se-europe) ...

Re: HELP WITH ERROR 4107

Post by fxdaytrader »

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.
You do not have the required permissions to view the files attached to this post.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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.
User avatar
fxdaytrader
Trader
Posts: 190
Joined: Sun Jun 10, 2012 7:03 am
Location: Poon-Town (germany, se-asia, se-europe) ...

Re: HELP WITH ERROR 4107

Post by fxdaytrader »

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 do not have the required permissions to view the files attached to this post.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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.
fx800
Trader
Posts: 1334
Joined: Sun Dec 04, 2011 4:11 am

Re: HELP WITH ERROR 4107

Post by fx800 »

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

Return to “Coders Hangout”