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

Desky. TDesk's trading drone.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545
Page 37 of 50
Author:  Dragonian [ Tue Dec 03, 2019 4:41 pm ]
Post subject:  Desky. TDesk's trading drone.

Hello Steve,

Any idea what's going on here? Only happened since switching from V3xxx to V4. I'm running Windows 10.
I don't think I've altered any settings.
Author:  SteveHopwood [ Tue Dec 03, 2019 4:45 pm ]
Post subject:  Desky. TDesk's trading drone.

Dragonian » Tue Dec 03, 2019 4:41 pm wrote:Hello Steve,

Any idea what's going on here? Only happened since switching from V3xxx to V4. I'm running Windows 10.
I don't think I've altered any settings.
Nope. Not a clue.

Ok, so I can see what is going on, but not why.

:xm: :rocket:
Author:  Dragonian [ Tue Dec 03, 2019 4:46 pm ]
Post subject:  Desky. TDesk's trading drone.

OK, thanks for looking.
Author:  tomele [ Tue Dec 03, 2019 6:28 pm ]
Post subject:  Desky. TDesk's trading drone.

Hi.

Strange. A malfunction of the display() function. The gap between the objects is way too large. We never had this before, did we?

Cheers
Author:  SteveHopwood [ Wed Dec 04, 2019 12:26 am ]
Post subject:  Desky. TDesk's trading drone.

tomele » Tue Dec 03, 2019 6:28 pm wrote:Hi.

Strange. A malfunction of the display() function. The gap between the objects is way too large. We never had this before, did we?

Cheers
We do get gaps from time to time but no, nothing like this.

I suggest ignoring it, irritating though it is. It is merely a cosmetic thingy after all.

Another thingy to consider. Here in almost 2020, we are torturing Crapql4/Empty4 into doing stuff way, way, way beyond the concept of its originators back in 2005.

And then we are trying to run it under Crapdows.

There are going to be insoluble glitches. Best not to worry about them.

:xm: :rocket:
Author:  SteveHopwood [ Thu Dec 26, 2019 12:34 pm ]
Post subject:  Desky. TDesk's trading drone.

V 4a is in post 1, with another feature added be Ehrenmat.

There is a new input in the Trading Styles section that tells Desky to add market trades following another signal if the pair is has open trades that are at a pips loss. From the updated user guide:
OnlyAddMarketTradesAtFloatingLoss: this tells Desky to add market orders only if the existing position is in negative pips territory. It is applied to individual pairs and so is ignored by whole-platform basket trading routines. It is another contribution by Emrenmat, so thanks again Mat.
DUYers, download 4a and do a search for: OnlyAddMarketTradesAtFloatingLoss to see what Mat has added. There is also a function to add, so search for: string timeFrameToString(int iPeriod) and copy the function into your existing version.

:xm: :rocket:
Author:  SteveHopwood [ Fri Dec 27, 2019 4:48 pm ]
Post subject:  Desky. TDesk's trading drone.

V 4b is in post 1, with the feature requested at http://www.stevehopwoodforex.com/phpBB3 ... 84#p169284

Find the inputs immediately below the "Maximum trading pairs safety feature" section. From the updated user guide:
  • Maximum no of trades per day: this allows traders to limit the number of trades that Desky can take each day. Note that this feature uses the broker's time as it cannot be applied to your local time. It only counts market orders, so ignores pending trades. It counts open trades as well as closed trades in your order history tab:
    • MaxTradesPerDay: this is the maximum number of trades you will allow. The default value of zero turns this feature off.
    • ApplyToIndividualPairs: this tells Desky to apply the maximum only to individual pairs. For example:
      • MaxTradesPerDay = 4:
        You can have 4 GU trades and 4 EU trades and so on.
    • ApplyGlobally: applies this maximum across all orders on the platform with Desky's magic number.
To add the code to your own edited version, download the file from post 1 and do a search for: MaxTradesPerDay. There is also a new function to add: bool maxTradesPerDayCheck(string symbol)

:xm: :rocket:
Author:  wallywonka [ Wed Jan 01, 2020 11:07 pm ]
Post subject:  Desky. TDesk's trading drone.

Seems to be a bug in 4b where it won't open a sell trade if set to open trade immediately. If you set to pending it will place the pending sell okay.
Author:  SteveHopwood [ Thu Jan 02, 2020 9:27 am ]
Post subject:  Desky. TDesk's trading drone.

wallywonka » Wed Jan 01, 2020 11:07 pm wrote:Seems to be a bug in 4b where it won't open a sell trade if set to open trade immediately. If you set to pending it will place the pending sell okay.
Make sure your MaxTradesPerDay input is set to zero.

:xm: :rocket:
Author:  wallywonka [ Thu Jan 02, 2020 11:05 am ]
Post subject:  Desky. TDesk's trading drone.

SteveHopwood » Thu Jan 02, 2020 9:27 am wrote:
wallywonka » Wed Jan 01, 2020 11:07 pm wrote:Seems to be a bug in 4b where it won't open a sell trade if set to open trade immediately. If you set to pending it will place the pending sell okay.
Make sure your MaxTradesPerDay input is set to zero.

:xm: :rocket:
Steve, yeah it is on Zero but only opens Buys when set to send trades immediately...

I am just using pending now as a workaround, no idea why it's happening.
All times are UTC Page 37 of 50