You should at least contain the document, not the document what's the 28, in the event that you want people to move to MT5?
M.
You should at least contain the document, not the document what's the 28, in the event that you want people to move to MT5?
M.
All this MT5 nonsense is just wasting our time (and cash). In the moment (it lasts for approximately 8 years) MT5 is for guide traders only. Provided that MT5 does not feature a usable Strategy Tester it does not make sense to begin coding for it. This is also the reason MT5 is not approved for automated trading. This statement is not only valid for traders but for brokersas they can not provide MT5 to traders interested in automated trading. It just does not work (however, it functions for guide trading/gambling with the known outcomes).
If somebody wonders why MT5 does not feature a usable Tester: Provided that we have no access to this test history we can not examine, right? Since we can't load data to check with, right? What's all the fuss about? For automated trading it's not usable at all.
Or is somebody seriously testing with 3-4 months non-synchronized crap data with holes and spikes furnished by the broker? If a person does he/she must not wonder about the outcomes.
Ps: I create a bold prediction. Provided that an appropriate test environment doesn't be offered by MT5 MT4 won't die and MetaQuotes will continue to create its main yield as they do now. It doesn't matter if they cease selling new ones, their existing ones generate more than 90% of the yield. With the MT5 we have now I can't find a reason for it to change.
I think last time you attempt MT5 was a couple of years back...Originally Posted by ;
Nope, just yesterday. But you can enlighten us all and explain how to load your own data into the tester that is MT5. I will do a large apologize and guarantee to give up on MT4 and just promote MT5 later on, if you can.Originally Posted by ;
No pun intended, seriously.
Btw and not just to you: Anyone who could prove me wrong could run a company and make tons of money just with his solution. There are successful businesses providing the same for MT4, it's the most hindering limitation in MT5 maintaining traders away from it. If I have forced to exchange via MT5 I have to compose and test egies in MT4 and I have to convert the egy to MT5 for execution. I really don't want to work like that.
you are able to use custom symbols within backtester. And custom symbols are offline charts in mt4. Then its evident you dont have any idea about MT5. MT4 will die shortly because brokers will kill it. 1/4 price fee, new broker tools, dealer from box...Originally Posted by ;
Importing long time moment data from CSV files? Can you understand what this means? Can you know what your response implies for tick info?Originally Posted by ;
Sorry, alternative not approved.
Ps: In MQL4 it is an Integrated role called FileOpenHistory()
Where I advised csv? You can use any kind of data, also MT4 from any source (document, net...). I use binary data for import informationOriginally Posted by ;
Its evident you are not coder. Import information in mt4 requires api and a lot of tricks and work. That technique is for built in information. About APIs are you comparing a full set and a system?Originally Posted by ;
https://www.mql5.com/en/docs/customsymbols
1 Attachment(s)I am not promoting MT5 here. I prefer other platforms.Originally Posted by ;
I am just addressing the facts.
forexsoutheast.asiais oriented to retail traders, and MT4 is the widest platform utilized by retail traders.
Sooner or later, MT4 will be completely replaced by MT5.
Those traders who rely on MT4 will have to upgrade to MT5 or switch to other platforms (NT,CT,CC,ND,TOS,TS... etc)
I believe most of those retail traders will prefer to upgrade to MT5 since it is the closest they can get to what they are utilized to, and since it is supported by many or most retail brokers.
As for the code, this was not meant to be an MQL5 practice or a code-sharing thread.
You will find tons of training material and free codes on MQL5 website.
This is the source code to the EA. Not there, the only tricky part is how to deal.
Https://www.forexsoutheast.asia/cryp...-problems.html
All the best,
Khalil
Hello abowaik,Originally Posted by ;
Thank you for sharing your code. I hope this is not out of place, but here are a couple of hints...
A crucial step in working with multiple symbols is to make sure the symbol is chosen in the market watch window. Since the SymbolSelect function will return false if the symbol doesn't exist, I would advise replacing your invalid_pair work with Inserted Code if(! SymbolSelect(pairs#91;I#93;,true)) Alert(Error : Invalid Pair : pairs#91;I#93; \nCheck Symbol Settings); yield(INIT_FAILED); Or even better yet use CSymbolInfo which does error handling, logging, etc..
Inserted Code CSymbolInfo emblem; if(! Symbol.Name(pairs#91;I#93;-RRB-) reunite INIT_FAILED;
You don't need to call TimeToStruct with Time Current, you may simply call TimeCurrent and pass the struct Inserted Code TimeCurrent(time);
rather than utilizing copytime having an array only for the last (latest) pub you can utilize Inserted Code datetime last_bar_time = (datetime)SeriesInfoInteger(_Symbol,_Period,SERIES _LASTBAR_DATE);
it is also possible to utilize CSymbolInfo and CAccountInfo to cut way back on the verbosity of your code in order to greatly reduce your dev time and make the code more readable.