I finished my degree in Chemical Engineering in 2011, and I'm currently busy with my masters degree at North West University Potchefstroom campus, South Africa.
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
It's been a while, but I'm back trading again. There is something that I need to get done before I can start. I need to calculate indicator values for every symbol that is loaded. My code currently looks as follows to calculate the
Hey all, My demo account in the strategy tester uses lots of two decimals, 0.21, 0.55 etc etc. When I call OrderLots() I get a one decimal value, 0.5, 0.6 etc. What is even more problematic is the OrderProfit() and OrderSwap() is calculated from the
Hey all, I know this topic has been brought up and discussed many times, but I'm opening a new thread again just to highlight the importance of this. As you all might know in MT5 you cannot use your own historical data, you can only use those
Hey, Is it possible to access tester statistics when the deint() function is called? I tried to calculate the statistics myself by accessing the historical orders, but my values differ from that of the strategy tester . If not possible is there code
Hey, I have four one dimensional arrays, would like to write them to a csv file, one column per array. I'm not sure how to do this, I cannot find a function to create a new file with. Any idea how to do this?
Hey everyone, I was wondering if the following is possible: I would like to retrieve all trade data at the end of the test in my EA code, do some statistical calculations with the trade data, and export to a text or excel file. For
Hey, My strategy works that there is a certain hour every day when the propability is the highest for a trade to be succesful. The only problem that I'm having is pulling the hour from the time mql gives may not correct itself for daylight savings
Hey, I'm trying to figure out how to set an expire time for a pending order . So far that part of my code looks like this: CTrade trade; trade.SetExpertMagicNumber(MagicNr);
Hello everyone, I know this topic has been discussed but of late I could not find any updates on the issue. The problem is back testing multi currency experts gives different results when tested on different currencies. The
Hey, Please look at the following chart: When the market breaks the trendline, the expert should enter. How can this be done? Using a linier equation model cannot work because there is no x axis! How do I program in code if
Hello all, I have been experiencing a problem since the release of metatrader 5. I cannot do any calculations, and send that double as the lot size. It never works. For example: double lot = NormalizeDouble ( 2 / 0.1568 , 2 );
Hey, I'm trying to calculate the lot size of a trade based on the percentage willing to risk for the trade. Here is my code, but it is not working, please help! The TRADE_LONG and TRADE_SHORT was obviously defined in the code double
Hey everyone, The QQE ADV is an awesome indicator to use when developing EA's. I have the mt5 version, but only the ex4 file, and with every update the indi won't work because it needs to be recompiled. Anyways see attached for the mq4 file, I
Hey everyone, I was thinking today if it is possible to build an indicator action library using the object oriented programming in mql5 ? Let me give an example: Let's say I'm programming an EA that enters the market shortwhen the EMA trend of
Hello, I'm struggling with something stupid here, don't know what I'm doing wrong. I want to trade one lot for every 10000 I have in my account. So if I have 15000 in my account, the lot traded should be 15000/10000, and that is
Hey everyone, Is it possible to put constraints in the strategy tester ? For instance if I use an EMA cross strategy and the two input variables are: Fast_EMA Slow_EMA It is obvious that the Fast_EMA value should always be smaller than
Hey everyone, Sometimes the strategy tester won't work, I cannot even change the input paramters, and in the Journal it looks like this : Some kind of funny language being used there. What on earth??
Hello, I would really appreciate it if someone could convert the attached donchian channel indicator to mql5. I tried for hours now and I really don't get it. Here is what I have done so far but I'm way too stupid to make it work