4 Ducks

Locked
RxCape
Trader
Posts: 68
Joined: Sun Mar 04, 2012 8:10 pm

Re: 4 Ducks

Post by RxCape »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: 4 Ducks

Post by milanese »

RxCape 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.
Yes it has this feature inherited from BASA
Edit: the error must be in this part of code..

Cheers :)
Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
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

Post by RxCape »

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.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: 4 Ducks

Post by milanese »

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.
How fast were this trades closed?

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
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: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 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.

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.

: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 »

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.
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 »

V 1g is in post 1. Coders, Tommaso has moved the call to ReadIndicatorValues() is start() so that it is called directly before CountOpenTrades().

: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 »

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.
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 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.
What is in the order comment field?

: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 »

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
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Automated trading systems”