4 Ducks

Locked
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: 4 Ducks

Post by SteveHopwood »

I found a bloop - don't think it is causing the problems.

Line 1337 should be:
result = SendSingleTrade(Symbol(), type, StackTradeComment, SendLots, price, stop, take);

not MainTradeComment as it does at the mo.


:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

SteveHopwood wrote: What is in the order comment field?

:D
"Main trade"
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: 4 Ducks

Post by SteveHopwood »

Thanks Rx. As we have just discovered, they will all be the main trade comment. Can you make the necessary edit in the code yourself?

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

SteveHopwood wrote:Can you make the necessary edit in the code yourself?

:D
Done. just got a few trades with "stack trade" in the comment field. I am closing all trades and restarting to have a clean sheet.
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

Version 1G with the StackTradeComment edit done has been running for about 15 minutes. Screen shot below.....

Sorry, I wish that I could find the problem rather than just posting pictures.
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: 4 Ducks

Post by SteveHopwood »

RxCape wrote:Version 1G with the StackTradeComment edit done has been running for about 15 minutes. Screen shot below.....

Sorry, I wish that I could find the problem rather than just posting pictures.
Hehe. At least we know where the problem is.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

SteveHopwood wrote: Hehe. At least we know where the problem is.

:D
I am thankful you didn't type "WHO" the problem is.... :lol:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: 4 Ducks

Post by SteveHopwood »

RxCape wrote:
SteveHopwood wrote: Hehe. At least we know where the problem is.

:D
I am thankful you didn't type "WHO" the problem is.... :lol:
:lol: :lol: :lol:

Do me a favour please. I have to go out now and so cannot watch what is happening.

Can you change line 4248 from:
if (OpenTrades > 0)

to

if (OpenTrades > 1)

because the code inside the snippet should not be called unless there is a basket open.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

Done.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: 4 Ducks

Post by SteveHopwood »

V 1h is in post 1.

I got the trade comments upside down earlier - confused 4 Ducks with BASA.

I have replaced ReadIndicatorValues() after CountOpenTrades(). ReadIndicatorValues() places the Main Trade buy/sell lines on the chart and so needs to know if there are already open trades in place.

I have deleted Dave's two candle close filter from CountOpenTrades)_ - left this in by mistake as it cannot apply to an M5 trade trigger.

Look on the bright side guys. When 4 Ducks isn't throwing up unfindable bugs, it is superb. :lol:

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Locked

Return to “Automated trading systems”