Trabajo finalizado
Tarea técnica
hi i would like to know if anyone can help bring T101 Basket Trader EA back up to date as either the new mt4 builds or something else server-side at mt4 has made it so it no longer shows stop loss or take profit lines properly
there are three other minor adjustments that need to be made to the EA as well
here is a list of what needs to be fixed:
1) take profit and stop loss lines not showing until a trade is opened now. previously they became visible as soon as a pending order(s) was placed
2) when the ea is removed it takes some 45 seconds and leaves all objects behind on the chart. it is supposed to remove instantly, taking away all related objects but leaving behind all non-related objects
3) basket balance should be changed so that it shows the actual mt4 account balance amount. it currently shows an amount less than this due to spread(?)
4) (ADDED TUES. NOV. 11, 2014. SEE BELOW AFTER EDIT) change T101 to be able to recieve basket lists from a txt file in mql4/files similar to the way bt_14 basket ea does. the old code containing 14 baskets in T101 may be removed to lighten the ea
the newer bt_14 basket trading ea that is popular at forex factory lacks the most simple functionality of T101. T101 offers four buttons designating buy stop/buy limit/sell stop/sell limit. you can choose any combination of these and it will display take profit and stop loss lines for both orders that can be moved into position, and when one is triggered the other is cancelled. it is a very straight forward interface based on the functionality of mt4 (buy/sell stop and limit orders) but much easier to use. the new basket trading ea at forex factory is born out of an automated method and has foregone this simple style. it also does not have limit orders so one cannot have two buys at one time or two sells, only one of each. plus you must load the added xo and ha indicators into your mt4 folder or the ea will go into an endless loop(terminal journal)
many people have been using T101 Basket Trader over the years and i love it and would just like to keep it alive because it is so simple and elegant and currently no other basket trading ea does what it does. i am only asking here after gvc, who was the person who updated it for 600 build told me i could ask for help to update it
sincerely
EDIT: A FOURTH AND FINAL TASK ADDED TO ABOVE LIST(ADDED TUES. NOV. 11, 2014)
would also like to add to the job one more thing, and that is to change the way T101 gets its basket pair lists to the same way that bt_14 basket ea does. T101 ea has a list of 14 baskets in its code that may be chosen by number when one starts the ea. therefore it needs to be compiled each time to use custom baskets. bt_14 ea on the other hand gets its basket pair
lists from a txt file in the mq4l/files folder. it was designed along with basketcreate offline chart generator indicator which retrieves its basket pair lists from the same txt file
basketv indicator is the older offline chart indicator that is traditionally used with T101. it has the same list of 14 baskets in its code and if one wants to create a custom basket they have to compile it to do so. then one has to make sure the basket list in T101 is identical (at least for the basket one wants to trade) then compile it also. this has to be done each time a new basket is used. however, with basketcreate indi, you just enter the name of the txt file you created in mq4l/files and then do the same in bt_14 ea. so there is no compiling necessary and is much much easier and also the way of the future for these eas i believe
i am suggesting to remove the part of the code that contains the list of 14 baskets altogether from T101 ea and change it to the same way bt_14 ea and basketcreate handle basket lists ie via txt file
i have attached basketcreate and basketv indi and also bt_14 ea. to use basketcreate just make a txt file in mq4l/files folder with an easy name to remember like for example 'test'. the only thing that has to be in the txt file is the number of pairs followed by the pairs, each on a different line. for example, for three pairs of eu/gu/au it would look like this:
3
EURUSD
GBPUSD
AUDUSD
open basketcreate indi on any chart and enter the name of this file, time frame and max bars in history and now you can open the offline chart. then you can add the bt_14 ea to the offline chart and in the settings simply enter the name of the txt file again. compare this with basketv indi where we would have to compile it to use those pairs if it is not already compiled to do so, and with T101 ea where we would also have to compile it to use those pairs that we compiled basketv to use