• Information
10+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends

Add friends via their profile or user search and you will be able to see if they are online

Ingvar Engelbrecht
Added topic Hedging restictions and other
I understand that the "hedging" techique in its simple form is not allowed in the MT5 platform  due to regulatory restrictions in the US. That does not worry me, I do not use that technique. Are there other restrictions that are also implemented
Ingvar Engelbrecht
Added topic Accessing hitory data
I refer to history data on a pair that does not have a window open, the EA runs on another pair. Is the history data updated continouisly on that other pair or do I have to have a window open on that other pair too
Ingvar Engelbrecht
Added topic Simple test to determine if market is closed?
I know I can check the hours but is there a simple test that can be done to determine if the market is open or closed
Ingvar Engelbrecht
Added topic partial TP, partial trailing SL
Trying to convert my MQL4 code to MQL5. I have done some rudimentary coding in MQL5. My MQL4 code is an EA that takes a position sliced into 4 parts. All start out with the same SL. 3 have fixed TP.  When first postion reaches TP the rest has
Ingvar Engelbrecht
Added topic Placing several orders
I am placing 4 orders with spaced TP. Question is which is best  - Place order,  modify order  4 times  or  - Place all orders first  - Then modify them
Ingvar Engelbrecht
Added topic account history information
I am extracting all trades from account history as well from trades and storing in a MySQL database I would like to get the funding info too like deposits and withdrawals. Is it possible? Did not find any information in the MQL4 documentation
Ingvar Engelbrecht
Added topic Using a library as an "object"
I have a MQL4 library that my EA uses. The library has several variables declared on a global scope as well as functions . The content in these variables are preserved between calls to the library. It functions a bit like an object with properties
Ingvar Engelbrecht
Added topic I give up on split position
There must be something essential that I dont understand. I have now tried 2 different methods to place 2 trades with different TP-levels.  Split position. 1. Just place  2 trades with differen TP-levels. Does not work, both trades ends up
Ingvar Engelbrecht
Added topic Adding 2 orders in "rapid" succession not working as planned
Running Strategy Tester. I place 2 trades in succesion for the same pair. The only difference is the takeprofit level. In the Journal the result is: 2012.01.08 00:05:50    Core 1    2011.09.21 21:35:40   order
Ingvar Engelbrecht
Added topic Find out if a trade was stopped out
What is a simple method to figure out that the last trade done was a loss
Ingvar Engelbrecht
Added topic MQL5
There are quite a few things to relearn in MQL5. Sometimes its a struggle. But there are also great benefits. One feature i absolutely love is the "struct". It makes returning several different values and data types from a function so simple and
Ingvar Engelbrecht
Added topic Library problem possible bug
Creating a new library with a simple test function and use it in an EA does not work now. Some month ago I converted a MQL4 library containing a logging funktion. It still works fine except that it does not work to add new functionality to it. The
Ingvar Engelbrecht
Added topic Retrieving single field from MySQL in MQL5 Solved!
After a lot of trial and error, guesswork  and using the  debugger I got it solved! Many days and many hours of frustration.  But,  "Nothing beats perserveance" I guess it can be expanded to retrieve more than one field but for my
Ingvar Engelbrecht
Added topic Retrieving data from MySQL with MQL5 simply does not work!
I have code like below that runs fine in MQL4. I have put the code in MQL5 with the addition of the ANSI UNICODE transformation. I have also searched this site and all over the internet for examples retrieving data from MySQL from MQL5. 
Ingvar Engelbrecht
Added topic Displaying information on screen
In MQL4 I have been using "Comments" to display information in the left upper corner. It is 15 lines. Trying to use the same technique in MQL5 does not seem to work. Lines are not replaced, they are added. What I have found in MQL5 is
Ingvar Engelbrecht
Added topic Using iStochasic again
So I tried to figure it out. This is my code in "OnInit() -------------------- int stoM30; MqlParam pars[5]; //+------------------------------------------------------------------+ //| Expert initialization
Ingvar Engelbrecht
Added topic User library problem
I have a library "Logger" that has its main function "Loggit" This is code that comes from MT4: #property library #property copyright "Copyright 2011, Maieutic." #property link      "http://www.maieutic.com" #property
Ingvar Engelbrecht
Added topic Using iStochastic
I am converting my EA to  MQL5; I hit a stumblestone on how to use iStochastic . I found examples on how to setup an handle for the indicator So far so good. So I got the handle.  Now I just want to retrieve the signal line value for the
Ingvar Engelbrecht
Added topic Quality of history data
I see that the architecture for historical data is changed in MT5. I have read the article discussing how the new concept work. I have recently experienced a lot of problems with missing data on MT4 with Alpari UK. Specifically large gaps with
Ingvar Engelbrecht
Added topic MySQL revisited
This code works: string getSTRField(string query) { string result; string row; int length=StringLen(query); int res2 = mysql_real_query(mysql,query,length); int res = mysql_store_result(mysql); if(res==0) { Print("result of query stored =