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

Desky. TDesk's trading drone.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545
Page 17 of 50
Author:  SteveHopwood [ Wed Dec 12, 2018 2:42 pm ]
Post subject:  Desky. TDesk's trading drone.

There is another teensy update in post 1; you only need it if you are using the margin closure feature. I noticed Desky had stopped and found a zero divide error.

Add your own update by going to bool MarginPercentClosure() and adding this somewhere near the top:

Code: Select all

   if (AccountMargin() == 0)
      return(false);   
An account margin of 0 creates the divide by zero error.

:xm: :rocket:
Author:  SteveHopwood [ Wed Dec 12, 2018 8:29 pm ]
Post subject:  Desky. TDesk's trading drone.

Please read the caveat I just added to the end of post 1.

:xm: :rocket:
Author:  keke [ Wed Dec 19, 2018 5:53 am ]
Post subject:  Desky. TDesk's trading drone.

Before anything, I want to thank you to all the beautiful minds in this forum.

Just a noob question.
In the shirt protection, will it disable the expert once it is triggered ?
Or if not, is there anything in this forum that can do this ?

Thank you in advance for any help.
It will not but this is a good idea. I will add it.

:xm: :rocket:
Author:  c1borg [ Thu Dec 20, 2018 7:43 pm ]
Post subject:  Desky. TDesk's trading drone.

Feedback on a very minor glitch the highest indicator only shows the same as the current, in this case it has been up to 2.30ish profit.
Capture.PNG
Author:  SteveHopwood [ Tue Jan 01, 2019 8:46 pm ]
Post subject:  Desky. TDesk's trading drone.

There is a teensy update to V 2m in post 1. It only concerns those of us who are whole-position basket trading and want to see what was the highest pips total the current position reached. We have tutank to thank for spotting this bloop :clap: :clap: :clap: :clap: :clap:

It is an easy DIY fix. Do a search for, "//We are only concerned with market trades here" and add this underneath, "TotalPipsUpl+= pips;"

Code: Select all

         if(HighestPipsUpl < TotalPipsUpl)
            HighestPipsUpl = (int) TotalPipsUpl;
:xm: :rocket:
Author:  ParFour [ Wed Jan 02, 2019 1:59 pm ]
Post subject:  Desky. TDesk's trading drone.

Hi

A minor issue I found when using ATR BE on Desky_2m, where I have either misunderstood how to configure it (quite likely) or there is a bug in there somewhere. Attached my Desky settings the equivalent of which do work with APTM so its not critical for me.
I did take a look at the code, if only to remind myself that I have no business looking at code!

On a more positive note, I'll add my sincere thanks to Steve and Thomas for their time and effort on this project. I continue to lurk during the time I have available in the hope that I may occassionally contribute something useful.
Author:  tgm0 [ Wed Jan 02, 2019 10:16 pm ]
Post subject:  Desky. TDesk's trading drone.

ParFour » Wed Jan 02, 2019 2:59 pm wrote:Hi

A minor issue I found when using ATR BE on Desky_2m, where I have either misunderstood how to configure it (quite likely) ...
You need to set UseBreakEven to true as well, otherwise UseAtrBE will have no effect.
Author:  ParFour [ Wed Jan 02, 2019 10:34 pm ]
Post subject:  Desky. TDesk's trading drone.

tgm0 » Wed Jan 02, 2019 10:16 pm wrote:
ParFour » Wed Jan 02, 2019 2:59 pm wrote:Hi

A minor issue I found when using ATR BE on Desky_2m, where I have either misunderstood how to configure it (quite likely) ...
You need to set UseBreakEven to true as well, otherwise UseAtrBE will have no effect.
Thanks, I shall see what happens, though on the face of it Desky infers that it will simply revert to BE after reaching BreakEvenTargetPips.
Author:  SteveHopwood [ Wed Jan 02, 2019 11:18 pm ]
Post subject:  Desky. TDesk's trading drone.

ParFour » Wed Jan 02, 2019 10:34 pm wrote:
Thanks, I shall see what happens, though on the face of it Desky infers that it will simply revert to BE after reaching BreakEvenTargetPips.
What the fuck makes you think that Desky will set a breakeven if you have UseBreakEven set to false?

How stupid are you?

Listen up, cretin. You have been lucky today. You did not send me off on a wild-goose chase looking for a 'bug' in the code when it was merely you being monstrously moronic on a scale that beggars the imagination of most normal human beings.

Here is what would have happened had you sent me off on said wild-goose chase:
  • I would have hurled the best of my usually-imaginative insults at your head. I am not feeling particularly inspired tonight, so you are getting away with a few.
  • I would have banned you.
Now, I understand that you have the intellectual capacity of a geriatric amoeba. You probably have the charisma of slime. This is fine by me, until you inflict your galactic-level imbecility upon me.

Then you attract a ban.

One more word from you, about anything, under any circumstances and I ban you.

Capiche,dimwit?
Author:  SteveHopwood [ Wed Jan 02, 2019 11:27 pm ]
Post subject:  Desky. TDesk's trading drone.

Ok folks, so we all know that I a tad of a gazillion short of perfection, so following FourCretin's post I reviewed my User Guide. I did indeed find a spot in the break even stuff that could benefit from some extra indentation and have added this.

Only an idiot would need it, mind.

Hey ho. Onwards and upwards.

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