| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Desky. TDesk's trading drone. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545 |
Page 5 of 50 |
| Author: | SteveHopwood [ Tue Oct 23, 2018 10:47 am ] |
| Post subject: | Desky. TDesk's trading drone. |
I should have realised the feature wasn't working when I closed the position manually on Friday - blame The Flatulent Beauty And Her Sodding Beast. None of the global basket stuff is working in 1k because I forgot to add the code that holds the totals - fixed in 1l. Easy fix for the DIYers. Do a search for "CashUpl = 0;//For keeping track of the cash cash Upl of multi-trade/hedged positions" and insert this underneath: Code: Select all Insert this code block underneath: Code: Select all |
|
| Author: | SteveHopwood [ Tue Oct 23, 2018 10:53 am ] |
| Post subject: | Desky. TDesk's trading drone. |
I just thought of an extra conditional that can be added to the second block of code: Code: Select all |
|
| Author: | Vokin [ Tue Oct 23, 2018 12:37 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
You are quick. Now I. Fixing code, compiled, cleared variables, run EA, without success. Dload your 1l, compiled, cleared variables, run EA, without success. |
|
| Author: | SteveHopwood [ Tue Oct 23, 2018 12:52 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
You have no profit targets displayed on your screen, so you do not have any set. That one is down to you. |
|
| Author: | Vokin [ Tue Oct 23, 2018 2:18 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Now i really dont now what is wrong. TreatAllPairsAsBasket = true BasketTargetCash = 100 What I need to set up for Basket TP? |
|
| Author: | SteveHopwood [ Tue Oct 23, 2018 2:41 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
It is not you Vokin. I had Desky using a dynamic cash TP so my screen was showing a target. It stopped doing so as soon as I canceled the dynamic TP and used BasketTargetCash. BasketTargetCash is getting reset to 0 somewhere. I will post when I find it. For now, set a dynamic TP. |
|
| Author: | SteveHopwood [ Tue Oct 23, 2018 3:08 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Found it. There are a couple of variables concerning the Friday reducing basket TP figure that I had declared but not populated. Fixed in 1m in post 1. Easieast DIY yet, I reckon. Do a search for, "return(INIT_SUCCEEDED);" and insert this code just above - about line 610ish: Code: Select all |
|
| Author: | Vokin [ Wed Oct 24, 2018 7:45 am ] |
| Post subject: | Desky. TDesk's trading drone. |
Sorry Steve. TP is now visible, but the basket is still not closed. Its not big problem for me, i can use your MPTM. Regards V. |
|
| Author: | Vokin [ Wed Oct 24, 2018 12:18 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
Its cool thisMT4. Now i dont see nothing here, but EA close and open repeatedly USD/JPY. |
|
| Author: | Dragonian [ Wed Oct 24, 2018 1:30 pm ] |
| Post subject: | Desky. TDesk's trading drone. |
I found that if I entered a basket take profit lower than that which had already been achieved then the graphic would disappear, as in your image. Put in a take profit amount higher than currently shown and it should re-appear. My basket's still don't close when target hit though. |
|
| All times are UTC | Page 5 of 50 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|