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

Desky. TDesk's trading drone.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545
Page 26 of 50
Author:  Ehrenmat [ Sun Mar 10, 2019 5:06 pm ]
Post subject:  Desky. TDesk's trading drone.

Hey Steve,

that's absolutely perfect! Thank you so much!

No matter what the market does after a Super Signal comes up, Desky now has a time window for my pendings to get activated! A small but important detail, when you go for higher timeframes, where Signals can be sluggish...

:yahoo: :clap: :yahoo:

Cheers,

Mat

:hi:
Author:  cozybooks [ Sun Mar 10, 2019 6:08 pm ]
Post subject:  Desky. TDesk's trading drone.

Yes, Steve, much thanks! Having the expiration on the pending trades is a very valuable option, especially if you want to trade on lower timeframes and your account (known as 'Stuck in the U.S.'), severely limits the number of open trades. :clap: :clap: :clap:
Author:  SteveHopwood [ Sun Mar 10, 2019 7:35 pm ]
Post subject:  Desky. TDesk's trading drone.

You folks are most welcome.

The whole point of creating Desky is to give us all a quick and easy way of testing out the combo of indis that you are using to send signals to TDesk without needing to be sat at the console all day.

You keep coming up with the ideas for expanding Desky and I will keep coding them.

:xm: :rocket:
Author:  SteveHopwood [ Sun Mar 10, 2019 7:39 pm ]
Post subject:  Desky. TDesk's trading drone.

Just to give you a giggle folks, I just visited the mods log to be greeted by this classic deleted by Tommaso:
"Deleted post “3,540,000% gain within a year with just $500!” written by" some idiot with the username BluePanther.

I expect he is now ExtinctPanther. :lol:

:xm: :rocket:
Author:  JockTrader [ Sun Mar 10, 2019 7:58 pm ]
Post subject:  Desky. TDesk's trading drone.

Hi guys first post so don’t shoot me down (Steve).

I have literally read 1000’s of posts absorbing all this new great information and have now starting implementing a few things.

I have been looking for a function and cannot find it, I have looked in the Desky EA and SPB EA both of which are very similar, I’m looking for a trailing stop for a single pair basket, the all pair basket TS works great.
I thought that if I set

Code: Select all

TreatIndividualPairsAsBasket
to true then the trailing stop would work for single pair basket but that’s not the case.

I had a look at the source and found

Code: Select all

if(TreatAllPairsAsBasket && UseBasketTrailingStopPips) 
but could not find something like

Code: Select all

if(TreatIndividualPairsAsBasket && UseBasketTrailingStopPips) 
this is something that I think I could add myself but just wanted to make sure I haven’t missed something and there is another way that I can do what I’m trying to do.

Another observation that I found was the Recovery seams to just close all orders when ‘Number of Trades’ and ‘Number of losers’ hit the values set without waiting to hit the ‘Recovery pips’ value.

Another very small thing is this message regarding pips but has a £ sign.

Code: Select all

Print("Basket pips StopLoss Triggered at £"+DoubleToStr(TotalPipsUpl,0)+". High Value: "
                     +DoubleToStr(BTSHighValuePips,0)+" initial Basket SL Value £"+DoubleToStr(BTSStopLossPips,0));
Author:  SteveHopwood [ Sun Mar 10, 2019 8:19 pm ]
Post subject:  Desky. TDesk's trading drone.

JockTrader » Sun Mar 10, 2019 7:58 pm wrote:Hi guys first post so don’t shoot me down (Steve).

I have literally read 1000’s of posts absorbing all this new great information and have now starting implementing a few things.

I have been looking for a function and cannot find it, I have looked in the Desky EA and SPB EA both of which are very similar, I’m looking for a trailing stop for a single pair basket, the all pair basket TS works great.
I thought that if I set

Code: Select all

TreatIndividualPairsAsBasket
to true then the trailing stop would work for single pair basket but that’s not the case.
No it doesn't, but I can see why you would think it does. My next release will have all the whole-basket headings preceded by,"All trades belong to a single " as in e.g. "All trades belong to a single Basket Cash Trailing Stop"

There is no individual pair basket trailing stop management.
Another very small thing is this message regarding pips but has a £ sign.

Code: Select all

Print("Basket pips StopLoss Triggered at £"+DoubleToStr(TotalPipsUpl,0)+". High Value: "
                     +DoubleToStr(BTSHighValuePips,0)+" initial Basket SL Value £"+DoubleToStr(BTSStopLossPips,0));
OK, so I have corrected it but what in your wildest dreams or most lurid nightmares makes you think that anyone cares?

Not bothered with an update folks - not needed.

:xm: :rocket:
Author:  luipogifx [ Mon Mar 11, 2019 1:38 am ]
Post subject:  Desky. TDesk's trading drone.

Hello Steve,

I was getting invalid stop error with CADCHF (encircled in red) but the problem was solved (encircled in green) when I changed the GridATRDivisor from 3 to 2. Desky Version is 3c.
Capture.PNG
Capture1.PNG
Author:  luipogifx [ Mon Mar 11, 2019 3:03 am ]
Post subject:  Desky. TDesk's trading drone.

luipogifx » Mon Mar 11, 2019 9:38 am wrote:Hello Steve,

I was getting invalid stop error with CADCHF (encircled in red) but the problem was solved (encircled in green) when I changed the GridATRDivisor from 3 to 2. Desky Version is 3c.



Sorry Steve. I think I found the problem. Minimum stop level for CADCHF is 18 pips. Desky was trying to open a sell stop order with a distance of 17 pips only.
Capture.JPG
Author:  SteveHopwood [ Tue Mar 12, 2019 4:57 pm ]
Post subject:  Desky. TDesk's trading drone.

kwchau tells me the swap filter is still not working. I will sort it out tomorrow.

:xm: :rocket:
Author:  SteveHopwood [ Tue Mar 12, 2019 5:09 pm ]
Post subject:  Desky. TDesk's trading drone.

I just had a quick look and can see why. I have to rewrite void TradeDirectionBySwap(string symbol) so that it cancels the BuySignal/SellSignal if the swap is wrong, rather than TradeLong/Short.

Easy enough to do.

:xm: :rocket:
All times are UTC Page 26 of 50