Weixing Meng / Publications
Forum
Collection for stoch in mql5
Thanks for coming! As the title, please help inform me on how to make a stoch cross signal for an EA with mql5. I used mql4 before and now turning to mql5, I find that the function iStochastic returns a handle instead of indicator value like using mql4. I'm not a professionnal programmer, so please
MT4, Communication Between Differet EA Through a file
Communication Between Differet EA Through a file ↑ Is this possible ? How can I make sure that when writing at the half, the other EA do not come and ready the data.. Or when an EA is reading..the other EA do not come to rewrite and change the data ? Many Thanks if this problem could be solved
Does FileWrite/FileRead need a LOCK ?
As the tile, if we need to write in or read from a same file. do we need to lock them while writing or reading ? Is that possible when a file is half writen, then only the half writen part is read ? If we do need a lock , then how can i lock it ...I can find no function about it. Thanks a lot for
Pls Help! Where is the Error ?
//Here is the error code int BytesWriten = FileWriteStruct (filehandle,H4Info); Error Info: possible loss of data due to type conversion I really can't get it, the 2nd parameter of FileWriteStruct() H4Info is a struct below: struct H4_SignalInfo{ int BuyOrSell; datetime H8_AfterSignal; }; Where
What's the use of the 1st assignment?
Thanks a lot for help input double Lots = 0.1 ; //at the ea start, enter the parameter 0.1 here //and then there is a "lot" in the block following, there are two assignments for"lot", then what's the 1st assignment for? double LotsOptimized() { double lot=Lots; // the 1st int
What's the use of the 1st assignment for lot calculation?
It give the "Lots" we entered to lot first, and then give a value to lot again according to account free margin , the previous value is covered by it right? so is that necessary to enter a Lots at the EA start ? It's from the sample Moving Average EA in MT4 program. I took course of C
Signal Account Question
Hello~ Thank you for checking this topic! I want to know, about a signal account, it will read my whole trading records from the start of the account ? Or it shows records from the time I started the account as signal ? I have been trading for years, and finally find a way out, now I want to start
Main and Signal ? What's the difference?
Thank you for your help! What's the difference of the following two ? MODE_MAIN MODE_SIGNAL They are not calculated the same way ? Thank you a lot for your help
Looking for a sample EA using Stochastic
Hello! I want to learn how to use Stochastic in a EA. But failed to find a sample EA with Stochastic. Can anyone help me ? Hope it's a simple one…enough for me to learn how to put a Stochastic in my EA would be great. Thanks a lot
Looking for a sample EA using Stochastic
Hello! I want to learn how to use Stochastic in a EA. But failed to find a sample EA with Stochastic. Can anyone help me ? Hope it's a simple one…enough for me to learn how to put a Stochastic in my EA would be great. Thanks a lot