VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Hi guys,
sorry for the absence. We are finishing a project at work that is already overdue so I haven’t had time for anything else these days.
Currently Missing functions from the EA are:
– partial orders closing management function (this is keeping us from using simplex’s DynTP)
– news filter – @Emonts is/was working on this, but lately has…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Hi guys,
sorry for the absence. We are finishing a project at work that is already overdue so I haven’t had time for anything else these days.
Currently Missing functions from the EA are:
– partial orders closing management function (this is keeping us from using simplex’s DynTP)
– news filter – @Emonts is/was working on this, but lately has…[Read more]
VlanFx replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Hi @simplex
Yes, there are several ways to do this, but can not say I really like either of them:
– keeping track of partially closed orders in some kind of list as you suggested. Here I would suggest using out-of-ea storage place so the ea can continue to work even after ea/mt4/windows restart.
– using order comment to store order’s initial…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
1. Each instance act as a stand-alone and try to fetch the CAL file. If file already exist, the instance returns. File fetching is done on Daily basis.
2. Daily RELEVANT CAL file (only EUR & USD events loaded in case of EURUSD EA) is loaded into memory with unique name (i.e. EURUSD_CAL_DDMMYY).
3. EA instance access that memory file.
That’s…[Read more]
smallcat replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
1) will need big space (using many different file name, although we can delete it later, but that is extra work)
2) ==
3) may be can reduce conflict of read⁄write in number 2)
4) i think should be ok … the master process can be changed⁄replace by slave process after master’s job is finish (a slave becomes a master process if nee…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
That’s great, @Emonts:
Please note that not all of my above remarks are necessarily relevant for our EA.
Re. my remark about symbol prefix / suffix, @VlanFx would better decide what to do before you put together some sort of ‘final version’ for the EA. I just wanted to denote that there’s some redundant logic in your function code and the…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
I’ve done a quick and dirty code review now and like to post some remarks for discussion:
EventKillTimer() missing
symbol prefix / suffix is checked inside function getNewsInfoPair(). Better remove this for Penguin EA use (redundant logic!)
panel object is not being deleted while deinitialization
custom enumeration for numeric…[Read more]simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 6 months ago
Ok, let’s talk about News Calendar Integration a bit.
Since I haven’t seen the code Emonts mentioned in his latest post yet, I continued to work through Derk Wehlers FFCal solution to get a grip on that one.
I found one interesting comment in his code which I’d like to discuss here:
Set AllowWebUpdates to false when using in another EA or Chart,…
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
@Emonts, I think you can post it here. More people have more time to test it. When they ‘OK’ it, I will add it.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
regarding the pre-trading conditions: FFCal -> @Emonts contacted me by PM and sent me a mqh file for this with example on how to call the functions. Now he’s fixing it so it works with prefix/postfix pairs. So this one is covered. Max. Spread -> I’ll implement this one Trading Hours, TradeOnMonday, TradeOnFriday, FridayClose -> @slicken had imp…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
regarding the pre-trading conditions: FFCal -> @Emonts contacted me by PM and sent me a mqh file for this with example on how to call the functions. Now he’s fixing it so it works with prefix/postfix pairs. So this one is covered. Max. Spread -> I’ll implement this one Trading Hours, TradeOnMonday, TradeOnFriday, FridayClose -> @slicken had imp…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
regarding the pre-trading conditions:
FFCal -> @Emonts contacted me by PM and sent me a mqh file for this with example on how to call the functions. Now he’s fixing it so it works with prefix/postfix pairs. So this one is covered.
Max. Spread -> I’ll implement this one
Trading Hours, TradeOnMonday, TradeOnFriday, FridayClose -> @slicken had…[Read more]