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

Multi 10:4 Trader EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1619
Page 51 of 160
Author:  MrLong [ Sat Mar 30, 2013 10:23 pm ]
Post subject:  Re: Multi 10:4 Trader EA

cuzgeorge wrote:Hi all,
thanks Andy for the v1.09.
I am trying to hard code some changes to the settings and keep getting this error. Please can i ask if anyone is getting this error, otherwise i need to re-install this terminal or even PC. I cant seem to find a reference in the thread to this. Apologies if answered before.
regards
cuz
Hi Cuz,

I'm on my iPad at the moment and cannot focus on the error, what does the error say?

Andy
Author:  cuzgeorge [ Sat Mar 30, 2013 10:28 pm ]
Post subject:  Re: Multi 10:4 Trader EA

MrLong wrote:
cuzgeorge wrote:Hi all,
thanks Andy for the v1.09.
I am trying to hard code some changes to the settings and keep getting this error. Please can i ask if anyone is getting this error, otherwise i need to re-install this terminal or even PC. I cant seem to find a reference in the thread to this. Apologies if answered before.
regards
cuz
Hi Cuz,

I'm on my iPad at the moment and cannot focus on the error, what does the error say?

Andy
oh crap, i hope youre not away yet with wifey. If you are, dont tell her its me okay? :lol: :lol:

Hi Andy, thanks for the reply, its says "Function "log" is not referenced and will be removed from exp-file" .

I removed the "//" comments from all your log inputs in the code and the error has gone away, but doing so, i have added some code i dont think you intended to allow yet. I also am a plutz when it comes to coding so dont really know what i did , but seems fine on the termninal and my hard code settings did complie into the EA now. Looks really great.

regards and have a safe trip.
cuz
Author:  MrLong [ Sat Mar 30, 2013 10:31 pm ]
Post subject:  Re: Multi 10:4 Trader EA

cuzgeorge wrote:
MrLong wrote:
cuzgeorge wrote:Hi all,
thanks Andy for the v1.09.
I am trying to hard code some changes to the settings and keep getting this error. Please can i ask if anyone is getting this error, otherwise i need to re-install this terminal or even PC. I cant seem to find a reference in the thread to this. Apologies if answered before.
regards
cuz
Hi Cuz,

I'm on my iPad at the moment and cannot focus on the error, what does the error say?

Andy
oh crap, i hope youre not away yet with wifey. If you are, dont tell her its me okay? :lol: :lol:

Hi Andy, thanks for the reply, its says "Function "log" is not referenced and will be removed from exp-file" .

I removed the "//" comments from all your log inputs in the code and the error has gone away, but doing so, i have added some code i dont think you intended to allow yet. I also am a plutz when it comes to coding so dont really know what i did , but seems fine on the termninal and my hard code settings did complie into the EA now. Looks really great.

regards and have a safe trip.
cuz
Okay

Thanks
Author:  slipshod [ Sun Mar 31, 2013 2:38 am ]
Post subject:  Re: Multi 10:4 Trader EA

cuz, that's just a warning not an error, doesn't affect anything.
Author:  Wkcfx [ Sun Mar 31, 2013 3:38 am ]
Post subject:  Re: Multi 10:4 Trader EA

Hi all;
Sorry to expose my lack of code knowledge, I cannot figure out how to manipulate the positioning of the "Delete Pending" and "Close All Open Trades" buttons/links? I run this EA on a laptop during the day. I have adjusted the MainCellHeight within the added simplex code and the gui fits the screen fine, the copyright line is visible but these two "buttons" are no were to be found. I see the int lines for each but I believe the 990 and 800 are for horizontal I think I need vertical? When plugged into a monitor they are positioned as expected.

Sorry if this is a stupid question.

EDIT: Sorry I've got it "Printtxt" lines! amazing what a night sleep and fresh eyed can do!!
Bill

Image
Author:  jiaxingx [ Sun Mar 31, 2013 5:42 am ]
Post subject:  Re: Multi 10:4 Trader EA

hi MrLong
at closeAllSymbolTrades() function

can not close sell order..
Author:  MrLong [ Sun Mar 31, 2013 6:42 am ]
Post subject:  Re: Multi 10:4 Trader EA

jiaxingx wrote:hi MrLong
at closeAllSymbolTrades() function

can not close sell order..


When do you get this error?
Author:  jiaxingx [ Sun Mar 31, 2013 8:43 am ]
Post subject:  Re: Multi 10:4 Trader EA

MrLong wrote:
jiaxingx wrote:hi MrLong
at closeAllSymbolTrades() function

can not close sell order..


When do you get this error?
when at function closeBETrades()

occur error 138
Author:  MrLong [ Sun Mar 31, 2013 8:53 am ]
Post subject:  Re: Multi 10:4 Trader EA

jiaxingx wrote:
MrLong wrote:
jiaxingx wrote:hi MrLong
at closeAllSymbolTrades() function

can not close sell order..


When do you get this error?
when at function closeBETrades()

occur error 138
I haven't experienced this error, I'll lookout for it when the markets open.

Thanks for your feedback.

Andy
Author:  acostafulano [ Sun Mar 31, 2013 4:11 pm ]
Post subject:  Re: Multi 10:4 Trader EA

MrLong wrote:
Hi,

The idea behind this was, if an order has closed at, 1.50 and price falls back and the conditions are met, don't fill another order at that rate, wait until tomorrow, usefull if we are long and get a red bar and price closes, orders can still add to because it only
works if open orders are zero.

Pending orders are now deleted if price goes to the opposite side of the MA, all pending orders are valid until a new week begins, so Steve's method of deleting on Friday evenings work well.

Hi MrLong.

Makes sense to me, but I'm not sure if it's working as it is supposed to (Please look at attached screenshot... I'm still using v1.07 but I will be installing 1.09 to try it alongside 1.07 from this week):
Pending.png
As you can see, there's pending orders from as far as TWO WEEKS ago that are still waiting to be filled! I don't understand. It's set to close day 5 (Friday's, I assume at 19 hrs). So correct me if I'm wrong, but I should have been getting "cleanups" of this pending orders every friday at 19:00 BROKER time, right?????

What could be the explanation for this? This is a big deal since it might be losing good "new" trades that will never get filled because of "stuck" pendings far away from the price.

Any comments?
All times are UTC Page 51 of 160