Steve:
Does the latest version have the feature that closes a trade when the initial two candles go opposite the trade ? In testing this morning, I have had quite a few pairs retrace for the first two or three candles after the trade is placed and it appears that 4 Ducks is trying to close the trade.. I am getting an error 131 - Invalid trade volume. I have not been able to track down the volume error.
4 Ducks
-
RxCape
- Trader
- Posts: 68
- Joined: Sun Mar 04, 2012 8:10 pm
Re: 4 Ducks
You do not have the required permissions to view the files attached to this post.
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Re: 4 Ducks
Yes it has this feature inherited from BASARxCape wrote:Steve:
Does the latest version have the feature that closes a trade when the initial two candles go opposite the trade ? In testing this morning, I have had quite a few pairs retrace for the first two or three candles after the trade is placed and it appears that 4 Ducks is trying to close the trade.. I am getting an error 131 - Invalid trade volume. I have not been able to track down the volume error.
Edit: the error must be in this part of code..
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
-
RxCape
- Trader
- Posts: 68
- Joined: Sun Mar 04, 2012 8:10 pm
Re: 4 Ducks
Just reporting some observations. The open and immediate close seems to have shown its' ugly self again. here are a few sample screen shots. I could not find any corresponding messages to indicate what was causing the close.
You do not have the required permissions to view the files attached to this post.
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Re: 4 Ducks
How fast were this trades closed?RxCape wrote:Just reporting some observations. The open and immediate close seems to have shown its' ugly self again. here are a few sample screen shots. I could not find any corresponding messages to indicate what was causing the close.
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
- 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
You have stacking enabled so watch your StackDistancePips and StackBreakevenProfitPips inputs. if StackDistancePips is small or StackBreakevenProfitPips too large, then the basket breakeven will be hit as soon as the bot is allowed to close it.RxCape wrote:Just reporting some observations. The open and immediate close seems to have shown its' ugly self again. here are a few sample screen shots. I could not find any corresponding messages to indicate what was causing the close.
There should be at least DeltaTimeLiveTrades seconds (default 5 minutes) between trade open and close. Tommaso and I will know there is a problem with the function if there is a smaller gap.
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.
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
Stacking distance is set to 50 pips. Stacking BE is set to 5 pips. DeltaTime I have left set to 5 minutes. T
Attached is a screenshot zoomed in on and AUDCAD 1 minute chart to illustrate the multiple opens in the same 1M candle. I hope this helps.
Attached is a screenshot zoomed in on and AUDCAD 1 minute chart to illustrate the multiple opens in the same 1M candle. I hope this helps.
You do not have the required permissions to view the files attached to this post.
- 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
V 1g is in post 1. Coders, Tommaso has moved the call to ReadIndicatorValues() is start() so that it is called directly before CountOpenTrades().

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.
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
Version 1G installed. Within a few minutes, got multiple opens on AUDUSD. See screenshot below of 1M chart expansion. I have changed to no stacking to see if that affects things.
You do not have the required permissions to view the files attached to this post.
- 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
What is in the order comment field?RxCape wrote:Version 1G installed. Within a few minutes, got multiple opens on AUDUSD. See screenshot below of 1M chart expansion. I have changed to no stacking to see if that affects things.
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.
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
apologies for dominating the posting in the thread. I restarted 4 Ducks and noticed that trades are being taken although price has not reached the fractal trade line. Attached is an AUDNZD screenshot. The red Fractal Sell line appears to be in the right place. the two trades at the right of the screen were taken as I restarted Empty4 and then when the new 5M candle started.
... and as I typed this post, both AUDNZD trades closed on the next candle.
screenshots are in reverse order for some reason. I'm sure the sharper minds than me will still be able to figure it out.
T
... and as I typed this post, both AUDNZD trades closed on the next candle.
screenshots are in reverse order for some reason. I'm sure the sharper minds than me will still be able to figure it out.
T
You do not have the required permissions to view the files attached to this post.