Ernest Klokow
Ernest Klokow
Friends

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

Ernest Klokow
Added topic Please help me solve this problem
I am not a advanced programmer, but I have written an EA that I use to open trades for me automatically when an anti-trendline is broken in a certain way. The problem is I cannot test this EA in the Strategy Tester since it requires human
Ernest Klokow
Added topic Why is this two-dimensional array expression wrong?
I have an error in an EA that gives the following error message "invalid index value" to this declaration: int aIndex[ 2 ][]; Why
Ernest Klokow
Added topic Any changes to the latest Strategy Tester?
I have an EA that worked perfectly in the Strategy Tester before but suddenly stopped working in MT4 the last few days. There were NO changes made! It still works in demo or live mode. Has there been any changes to the Strategy Tester lately
Ernest Klokow
Added topic EA exhibits strange behaviour
I have written an EA that I have been using for more than a year. During this time I used it on several demo and live accounts and could test it numerous times in the Strategy Tester (ST) successfully - until a couple of days ago. Then it suddenly
Ernest Klokow
Added topic Desperately needed functionality for Metatrader
I am not sure if this post is an acceptable subject of this forum, but I know of no other platform to raise this matter. We all know that Metatrader is the most popular trading platform in the world. MetaQuotes is spending a lot of energy, time and
Ernest Klokow
Added topic Strategy Tester & DST
I have discovered that when you download data from some brokers the data arrives in GMT 0 format - no matter what the DST of the broker is, e.g. European DST. I ran tests on this data and then another test on the data in my MT4 history file folder
Ernest Klokow
Added topic Backtesting Problems
I have written an EA that is quite sensitive to small price changes of 2 pips and more. When testing on historical data in the Strategy Tester it gives beautiful results, but when doing forward testing it is very disappointing and not profitable
Ernest Klokow
Added topic Error 130 : invalid stops
I get the 130 error from time to time and i cannot figure out why this happens. I place two pending trades - a Buy stop and a Sell stop. The one will get accepted and the other is rejected with an error 130 message. I use ThinkForex which have no
Ernest Klokow
Added topic Is there a problem with the logic of this statement?
   if (BuyClose > BUYtrendlineValue + (Buffer * UsePoint) && NewBUYtime != OldBUYtime && (BuyClose1 < BUYtrendlineValue || BuyClose2 < BUYtrendlineValue))
Ernest Klokow
Added topic Can anybody explain this "ghost" trade to me?
I am doing demo trading where an EA (called "Morning System") places pending trades which I then manage further. Now and then (so far it happened two times out of 45 trades) MT4 opens and closes a trade after the closing time of the original trade
Ernest Klokow
Added topic Did something change?
I have some code that returns the number of digits for the specific currency pair that I use to convert my pips to add/subtract from the price. Until now it has worked without any problem but since yesterday I am experiencing problems with one of the
Ernest Klokow
Added topic Dumb question about iClose
If I use the function iClose with a Shift == 0, will its value be changing as the price changes while on the current bar or will it wait for the close of the current bar? But then the value wiill be the same as iClose with a Shift == 1
Ernest Klokow
Added topic Why do I get Zero??
I have a little code snippet that determines two prices at different times and then I want to calculate the difference between the prices. Why do I get a result of "0.0" when there should be a definite result with some real figures as can be seen
Ernest Klokow
Added topic Strange result with multiplication
I have a strange thing happening which I cannot figure out. If I run the following code for (i=1; i<=bars; i++) {   closePrice = iClose( NULL ,timeFrame,i);    openPrice = iOpen( NULL ,timeFrame,i);    if (closePrice
Ernest Klokow
Added topic EventSetTimer()
If I use the EventSetTimer() function in an EA will I be able to test it in the Strategy Tester? (I know e.g. that the Sleep() function does not work in the Tester)
Ernest Klokow
Added topic Generating the MagicNumber
I have written an EA that I run on many different currency pairs . At the moment I must change the MagicNumber for every different instrument so that it will open new trades when there are already open trades on other pairs. I have started to write a
Ernest Klokow
Added topic Cannot understand this!
I am writing a simple EA based on Moving Averages but my code returns zero values. It does not make sense to me. Can somebody help please? Here is the code that returns no values / or zeroes for the variables defined (MAlong, MAmedium and MAshort)
Ernest Klokow
Added topic Include Files
I just want to clear something up about .mqh Include files. Once I have compiled an EA that uses an Include .mqh file do I still have to distribute this .mqh file to all computers and MT4 's that use this EA or does the code of the EA now include the
Ernest Klokow
Added topic Replicating MT4 function in my EA
I am writing an EA where I draw a horizontal line at a specific price level. This is similar to placing a S/L or T/P in MT4 where a line is drawn at the specific level or dragged from the transaction line to the specific price level. In MT4 you can
Ernest Klokow
Added topic Drawing a line based on a price level
I am writing an EA and want the EA to draw a horizontal line at a specific price level that is entered through an external variable. I have looked at using the function e.g. SetLevelStyle(0,1,clrBlack); but it seems to require a SetIndexBuffer which