Jose,
referring to: "In MT5 you can download and consult ticks history from your broker. .."
- Do you know a broker that offer tick history as of 2007 for at least 20/30 symbols?
- How far back are the tick history from your broker?
Here you can see an example:
Almost 6 years of data (from 2011). 368 millions of ticks:
Regards.
New update (ver 1.23) (no change), (remove), (add) :
Knot of The Ring MT4 is a MetaTrader 4 version of EA Knot of The Ring.
Knot of The Ring MT4 is an Expert Advisor based on a unique triangular correlation. Different from other triangular correlation strategy at common, it uses knot/node of triple symbol as a pioneer to attack the market. After that if it is contrary to market direction, it will use the two other symbols to safe it. There are 3 layers of rings to give safety.
Of course you can use other knot symbol to form your other rings. For example this EA is using EURUSD pair as knot symbol. For symbols of Ring 1 EURAUD and AUDUSD are used, symbols of Ring 2 are EURGBP and GBPUSD and symbols of Ring 3 are EURJPY and USDJPY.
The other power of this EA are profit target and take profit, stop loss, trailing and distance of rings in percentage or money term, together with whole strategy, hope will give the confidence to trade.
You can adjust importance parameters by perform optimization periodically. These parameters are : Percent of free margin for a deal, Target profit in percentage money, Distance of rings in percentage money and Time frame. To perform optimization test faster you must do it using 1 minute OHLC test.
To use this EA you should attach it on one chart only with any time frame and no need to open the others.
Input parameters
GENERAL INFO
- Expert Name - name of this EA
- Expert version - version of this EA
- Expert Developer - developer name
- Expert Setup - explanation to attach this EA on a chart
GENERAL SETTING
- Magic Number - magic number
- Time frame - time frame
- Reverse order - if true, open position will be reverse
MONEY MANAGEMENT
- Money management - use auto lots calculation
- Percent of free margin for a deal - risk based on account balance to calculate lots
- Volume in Lots if money management false - fix lots if money management is set to false
- TP, SL, Trailing and Distance type - type of Take profit, Stop loss, Trailing and Distance (money or percent)
- Target profit in percentage money, if 0 not used - if this target reached, the EA will close position
- Take Profit, if 0 not used - if this target reached, the EA will close position
- Distance of Ring 1 in percentage money, if 0 not used - if this ring reached, the symbols of ring 1 will be open position
- Distance of Ring 2 in percentage money, if 0 not used - if this ring reached, the symbols of ring 2 will be open position
- Distance of Ring 3 in percentage money, if 0 not used - if this ring reached, the symbols of ring 3 will be open position
- Stop Loss, if 0 not used - if this target reached, the EA will close position
- Restart trade if one of Target is reached (true or false)- if set to true, the EA will restart a trade after the target profit is reached
- Magic Number - magic number
SPECIFIC SETTING
- Time frame - time frame
KNOT OF THE RING
SYMBOL SETTING
- Symbol of Knot - symbol of knot
RING 1
- Symbol 1 of Ring 1 - first symbol of Ring 1
- Symbol 2 of Ring 1 - second symbol of Ring 1
RING 2
- Symbol 1 of Ring 2 - first symbol of Ring 2
- Symbol 2 of Ring 2 - second symbol of Ring 2
RING 3
- Symbol 1 of Ring 3 - first symbol of Ring 3
- Symbol 2 of Ring 3 - Second symbol of Ring 3
mrluck1:
MT4 is better, because MT5 doesn't have a free book, in which you can learn to code OOP. if you look at trade functions on mt5, like ordersend function i can't understand it on mt5, very much complicated
First of all, thank you very much for your opinion.
Here you have your book in pdf format. There you have everything documented, with examples, and translated into several languages. For mql4 there is no pdf file like that, although you have the documentation and the book online, but only in English.
OOP is an option, but not an obligation. The libraries are there to help you with the task, but you do not have to use them if you do not want to. You can program in mql5 without using OOP. Here is a CodeBase EA that does not use OOP, to serve as an example.
you can say MT5 is faster, but that's not a problem, i really doubt anyone have an EA so big to use all this memory, and still, if you really need it, you can copy and paste multiple terminals and play several mt4 terminals,so you can split the memory and work between them, only 4gb memory is not an issue, this is not a game, an EA usually is 30 kbs size, so that's only for propaganda
access to the tape is not very important, because the price, time tells you all you need, the price tells you what the insiders are doing, if you have the right indicators.
MT4 will allways be better because its designed for traders, not programmers, MT5 need you to study a lot of programming, actually you can't even study because there is no free book around, there is a paradox here, that metaquotes people don't understand, you can't be a top programmer and top trader at the same time, a trader is more like art, but programming is more like engineering, MT4 allows a trader to create EA's and indicators in a very easy way, but MT5 feel more advanced level, but then, you don't need to be a top programmer to create trading systems, because today CPU's allow's not optimized code, i can do the job using 1000 lines, a top programmer could do using only 200, that's not a problem, but MT5 requires you to be a very good programmer, when there is no need to, so MT4 wins
If you think that the 4 Gb limit is not important, try doing a backtest in MT4 with standard historical data of 8 or 10 years (in many cases the fxt file exceeds that limit), or with tick data (since these data occupy much more, in this case with only 3 or 4 years of data the limit is exceeded). In both cases, you will not be able to do the backtest of the entire period, but you will have to divide the backtest into several sections (2, 3, 4 ... etc). You will have partial results for each section of history, then you can add them by hand if you want.
MT4 does not save ticks, so you can not consult the Bid, Ask, Last prices or spread afterwards. In MT4 all you have are bars of a certain timeframe (the minimum of 1 minute), whose Open, High, Low and Close prices are represented taking into account only the Bid prices. If the price is so important (in which I agree), you have to bear in mind that in MT4 you do not have the prices, you only have 1 minute bars, you know the first Bid price of that minute (Open), the last Bid ( Close), the Bid High and the Bid Low, but you do not have the information of all the other prices that have been in the course of that minute (nor the sequence of them). You do not have any Ask price either (which is the one you make your buys and it is also the price at which the Stop Loss of your sells are executed), nor do you have data on spread, volume, etc, etc.
Regarding the difficulty of coding in mql5, I refer to what we discussed above, it is not necessary to use OOP if you do not want to. Besides that, in mql5 you can use the EA Generator feature that incorporates MetaEditor, with which you can easily create Eas with just a few clicks. This feature is not available for mql4.
Regards.
- www.metatrader5.com
.........
Regards.
Well, I do not understand why this topic is back again.
Are you perhaps not sure that MT5 is better, so you need to repeat your (often odd) arguments? Like speaking about 'monothreaded' application (I cannot imagine a Windows application to run in a single thread), or talking about FXT file limits (many of us are testing with 20GB FXT files), and MT5 to be faster (I do not have that feeling, but it definitively consumes a lot more CPU power) and others.
The most important thing is the development of MT4 is over, so MT5 will take the lead sooner or later, also with a help of heavy promotion. You do not need to explain why it is better, as it will be the only one.
- 2017.08.29
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have considered it opportune to open a new one to expose the pros and cons of MT4 versus MT5, and why I consider MT5 to be better.
Basically, MT5 has many more interesting features that help in trading, and MT4 has too many limitations in my opinion.
Let's cite some of them below.
We have all seen hundreds of robots that obtained spectacular results in backtesting, but when operating in real account the results were very bad. This is mainly because they were made with conditions that had nothing to do with real market conditions.
Therefore, in my opinion, there is currently no MT4 feature that is not present in MT5. On the other hand, there are many MT5 features that are not possible in MT4.
Regards.