Desky. TDesk's trading drone.
- c1borg
- Trader
- Posts: 456
- Joined: Sun Aug 14, 2016 5:09 pm
Desky. TDesk's trading drone.
Version 1o hasn't made any trades as yet on any of my setups? will check my setfile(s) for any cockups later :youknow:
-
ace811122
- Posts: 6
- Joined: Thu Jun 18, 2015 4:24 am
Desky. TDesk's trading drone.
yes, i was using version v1o, maybe my setup on demo is too aggressive 
-
wallywonka
- Trader
- Posts: 188
- Joined: Thu May 12, 2016 7:46 am
Desky. TDesk's trading drone.
Working fine here, make sure you have adjusted the Monday start hour in the settings.c1borg » Mon Oct 29, 2018 9:38 am wrote:Version 1o hasn't made any trades as yet on any of my setups? will check my setfile(s) for any cockups later :youknow:
- c1borg
- Trader
- Posts: 456
- Joined: Sun Aug 14, 2016 5:09 pm
Desky. TDesk's trading drone.
Yes probably me guess ive set something wrongwallywonka » Mon Oct 29, 2018 11:09 am wrote:
Working fine here, make sure you have adjusted the Monday start hour in the settings.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1p is in post 1.
Desky stopped early this morning after generating an array out of range error. The culprit was a typo. This line:
for (int pairIndex = 0; pairIndex < ArraySize(
should have been:
for (int pairIndex = 0; pairIndex < ArraySize(TDeskSymbols); pairIndex++)
I have added code to reset the basket trailing stop values after a basket closure.

Desky stopped early this morning after generating an array out of range error. The culprit was a typo. This line:
for (int pairIndex = 0; pairIndex < ArraySize(
[color=#0000FF]TDeskSignals[/color]); pairIndex++) should have been:
for (int pairIndex = 0; pairIndex < ArraySize(TDeskSymbols); pairIndex++)
I have added code to reset the basket trailing stop values after a basket closure.
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.
-
ace811122
- Posts: 6
- Joined: Thu Jun 18, 2015 4:24 am
Desky. TDesk's trading drone.
ThanksSteveHopwood » Mon Oct 29, 2018 11:31 pm wrote:V 1p is in post 1.
Desky stopped early this morning after generating an array out of range error. The culprit was a typo. This line:
for (int pairIndex = 0; pairIndex < ArraySize([color=#0000FF]TDeskSignals[/color]); pairIndex++)
should have been:
for (int pairIndex = 0; pairIndex < ArraySize(TDeskSymbols); pairIndex++)
I have added code to reset the basket trailing stop values after a basket closure.
![]()
-
lbs48
- Trader
- Posts: 106
- Joined: Thu May 22, 2014 8:02 am
- Location: Prague, Czech Republic
Desky. TDesk's trading drone.
Hi.
I have the same problem when I set -- All trades belong to a single basket -- to YES (300 pips).
All pairs with signals open and close immediately.
When set to false, EA working fine.
I have the same problem when I set -- All trades belong to a single basket -- to YES (300 pips).
All pairs with signals open and close immediately.
When set to false, EA working fine.
pipcruiser » Thu Oct 25, 2018 7:37 am wrote:Hi there
I can confirm the same issues with USDJPY, XY42 trading, last night Desky opened/closed 28 USDJPY sell trades within 1-2 hrs. - see image. Default settings, GP account.
I disabled USDJPY for now.
Cheers
PC
Vokin » Wed Oct 24, 2018 2:18 pm wrote:Its cool thisMT4.
Now i dont see nothing here, but EA close and open repeatedly USD/JPY.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
I have not seen this because I am not testing the single pair basket feature. Turn it off for now and I will look at the code.lbs48 » Tue Oct 30, 2018 2:04 pm wrote:Hi.
I have the same problem when I set -- All trades belong to a single basket -- to YES (300 pips).
All pairs with signals open and close immediately.
When set to false, EA working fine.
pipcruiser » Thu Oct 25, 2018 7:37 am wrote:Hi there
I can confirm the same issues with USDJPY, XY42 trading, last night Desky opened/closed 28 USDJPY sell trades within 1-2 hrs. - see image. Default settings, GP account.
I disabled USDJPY for now.
Cheers
PC
Vokin » Wed Oct 24, 2018 2:18 pm wrote:Its cool thisMT4.
Now i dont see nothing here, but EA close and open repeatedly USD/JPY.
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.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1q is in post 1. Thomas emailed today with code that provides three stop loss and take profit calculation features for individual trades. You will see that TakeProfitPips and StopLossPips have morphed. From the updated UG:

Re the trades opening and then closing when individual pairs as a basket is enabled, I have no idea why. I did see one variable that needed changing but have no idea if this was the cause. I will spend more time hunting the bug tomorrow.
- Trade exit strategies:
- TakeProfitValue: your take profit sent with individual trades.
- StopLossValue: your stop loss sent with individual trades.
- SLTPCalcMode: Thomas designed this. Desky takes your TakeProfitValue and StopLossValue and offers you three ways to calculate the stops:
- FixedPips: this treats TakeProfitValue and StopLossValue as though they are 'hard' stop values.
- PriceFractions: this causes TakeProfitValue and StopLossValue to be treated as fractions of the current price. I cannot explain this as I do not understand it.
- ATRPercent: his causes TakeProfitValue and StopLossValue to be treated as a percentage of the D1, 14 period ATR.
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.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1r is in post 1.
The good(ish) news is that following my turning on individual basket trading I found several hundred GU trades opened and then closed the following second.
This suggests that one of the trade closure variables is not being reset following a closure. Truth to tell, I am floundering here a bit, so this is what I have done. Do a search for, "//We have got here, so there are no trade closure failures." It is line 4132 in 1r. This block of code follows:
You can see how this code resets all the trade opening and closing variables.
There are three blocks of code that force a retry of trade closures following a failure. In 1r:

The good(ish) news is that following my turning on individual basket trading I found several hundred GU trades opened and then closed the following second.
This suggests that one of the trade closure variables is not being reset following a closure. Truth to tell, I am floundering here a bit, so this is what I have done. Do a search for, "//We have got here, so there are no trade closure failures." It is line 4132 in 1r. This block of code follows:
Code: Select all
//We have got here, so there are no trade closure failures.
BuyClosureFailure = false;
SellClosureFailure = false;
BuySignal = false;
SellSignal = false;
BuyCloseSignal = false;
SellCloseSignal = false;
ForceWholePositionClosure = false;
ForceTradeClosure = false;
There are three blocks of code that force a retry of trade closures following a failure. In 1r:
- Line 3938 "//In case an entire basket closure failure happened" deals with a failed global position closure.
- Line 4008 "if (UseShirtProtection)" deals with shirt protection at a global level.
- Line 4109 "//Deal with a closure failure" deals with individual trade closure failures and individual pairs as a basket closure failures.
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.