patagonia2015 / Publications
Forum
ATR like trading view in MT5
Hi, I need to use the same ATR calculation from trading view in Metatrader 5. This is the code I have so far, it work, but is not getting similar results with Trading View. I know the data is slightly different, but my results in the strategy are very different and I have checked everything, the
Is there a way to analize portfolios in MT5?
I know there are some websites that offer a way to add individual backtest made in Metatrader 4 and analyze as a portfolio. Is this possible to do it in Metatrader 5? As of my understanding, this is something MT5 is missing. I know Quant Analyzer, but it's pretty expensive, hope someone know a
How to know if the system is good enought? 500 trades is a good sample size?
I have never found a system that in a backtesting of 40 FX pairs and at least 500 trades on each, all or most pairs are in profit. For example I have a system that give me profit on 15 pairs (each backtest have at least 500 trades). On the rest it gives me a loss. I didn't do any "optimization"
A way to change the symbol on the current chart on MT5
I need a better way to change the Symbol in the current chart. The Symbols are in the Market Watch. At the moment the way I do this is by by pressing "enter" when the current chart selected then enter the Symbol name and "enter" again. But is not very fast. For example to choose Wheat I need to type
It's possible to import data to MT5?
I want to use price data from other source (not Metaquotes) in order to do the backtest in Metatrader 5. I know in MT4 is possible, it possible to import data in MT5 for later use? Thanks
Use MoneyFixed Class in MQL5
Hello, Based on another post of a person using the Money Fixed Risk in MQL5 to create a random expert advisor I write the following. Can someone say please why it doesn't work? Sometimes it uses up to 3 times the risk as the input. The idea here is to use this file to open trades with the same risk
Ideas for developing a trend following system
I'm developing a trend following system. So far is good, but I need to make better filters for the trades. As any trend following system, the win rate is bellow 50% (way bellow) but Risk to Reward compensate for the losses. I want to apply simple filters (no more than 3 input variables) in order to
Round a Array of indicator values in MQL5
Hey, I want to Round the number of an Array of my indicator. I need to Round the numbers to the number of digits of the currency, for example the EURUSD in my broker has 5 digits, while USDJPY have 3 digits. I cannot do it this way. And I want to change Round the numbers as soon as they are created
is Metatrader data reliable?
I'm doing some testing with Metatrader 5 and trading view. The results, on Metatrader the same system make about double the trades. For what I understand when we perform a backtest on MT5, we download the data from Metaquotes, and of course is not the data of our broker, but for example EURUSD data
Problem with bool variable in MQL5
I have a problem with a bool variable. I did the global declaration (outside the void OnTick() function ) and then I need to use it later inside the void OnTick(). It's important because after checking conditions I will use the variable in the IF for checking the conditions to open a trade. For some