| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Hopelessly confused by TDesk or Desky? Ask here. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5546 |
Page 46 of 71 |
| Author: | taipan [ Tue Oct 20, 2020 9:57 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Thanks milanese for the move. taipan |
|
| Author: | RMSSC [ Thu Oct 29, 2020 7:40 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Hi, I have the Trailing Stop activated and working, however, I constantly see the error in the image below. Can anyone tell me the reason for this error? Cheers |
|
| Author: | SteveHopwood [ Thu Oct 29, 2020 9:45 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Somehow over time, I have changed some of the TS logic and introduced some faulty ones. This has infected pretty much everything I have coded since. I will upload a fix tomorrow. In the meantime, go to viewtopic.php?p=171428#p171428 and read it and the following two posts if you want to do a quick DIY. 'tis easy to do. |
|
| Author: | RMSSC [ Fri Oct 30, 2020 9:31 am ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Thanks Steve for the information I take the opportunity to question something that, however much I look, I am not discovering in Desky that it is the possibility of making the trilling stop dynamic. Please note that I am not asking you to add new features to this excellent tool, I just want to know if Desky does and if it does, how do I activate this possibility. I give the following example: T.S. = 30 T.P. = 50 When the price reaches the profit of 40 pips the T.S. increase 5 pips to 35 (for example), if the price reaches the profit of 45pips, the TS increases another 5 pips to 40 ... I question because I think it can boost profit by reducing the difference between the T.S. and T.P. if the price remains in our favor. Cheers :hi: RMSSC |
|
| Author: | SteveHopwood [ Sun Nov 01, 2020 7:07 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
This is not possible as currently coded. |
|
| Author: | RMSSC [ Mon Nov 02, 2020 1:28 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Hi Steve, The correction implemented by Fourxxxx seems to me that only corrects the error of the trailingstop in Ghostrider.mq4, but in TDesk Trading Partner EA, the same error occurs. I tried to correct, but when compiling it gives error. I think that the correction does not apply in the same way in TDesk Trading Partner EA, my programming knowledge is very basic. Is there any correction for this error in TDesk Trading Partner EA? Sorry for the inconvenience. Cheers RMSSC :hi: |
|
| Author: | SteveHopwood [ Mon Nov 02, 2020 8:39 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
I forgot to add the fix to Desky. Done now. |
|
| Author: | RMSSC [ Wed Nov 04, 2020 9:31 am ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Hi Steve, It seems to me that Trailing Stop is not working properly. I have the demo with TP of 50 pips, without stop loss and Trailing Stop at 30 pips. The previous version, although with errors, activated the TP at 30pips at some point. If possible take a look Follow the capture of Empty4 Cheers :hi: |
|
| Author: | Maximilian [ Wed Nov 04, 2020 5:29 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
These pieces of code are missing: //Check that the market is sufficiently in profit to continue if (Bid < OrderOpenPrice() + (trailStartsAtProfit / factor) ) return; for buy orders and this for sell: //Check that the market is sufficiently in profit to continue if (Bid > OrderOpenPrice() - (trailStartsAtProfit / factor) ) return; also the extern trailStartsAtProfit has to be defined. I don´t want to mess with Steves code, so this are just pointers, where to look. Max |
|
| Author: | RMSSC [ Wed Nov 04, 2020 7:12 pm ] |
| Post subject: | Hopelessly confused by TDesk or Desky? Ask here. |
Steve and Max, Thanks for your help, however my programming knowledge is very limited, please can you tell me in which line should I insert these pieces of code? Max you mention that "also the extern trailStartsAtProfit has to be defined.", Here already exceeds my capabilities. I know the intention of the group is for us to learn for ourselves and I already learned a lot, but the coding is still too much sand for my truck Cheers RMSSC :hi: |
|
| All times are UTC | Page 46 of 71 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|