In the dictionary it says
int FileOpen( string filename, int mode, int delimiter=';')
The question is - where is the cross point between
int and ; as delimiter?
the function return error either with ";" as delimiter or with 59 as ascii code or without 3rd parameter.
Furthur more I tried to...
I run a test... while running it, I'm working on my script and making modifications, then I compile it.
When I press Stop, and press Start, the program continues using the old compiled version.
You should load the newest compiled version into memory as soon as the person presses the Start...
I just had another issue with a CI. This is similar to a prob I had before.
I was glancing over some charts that I am running EA's on and I noticed that one of the CI's hadn't painted the last few bar of the indicator line. I hit refresh and it magically appeared.
I had a problem like this in...
If I have missed this function. please tell me. I would like to have the ability to plot a currency pair against another one in the same window. Perhaps even three pairs in the same window. Also, the ability to plot the inverse of the pair would be helpful. Seeing how pairs cross in realtime would...
I've been having some weirdness with reading Bar of custom indicators in EA's.
IOW, when I try to get the current value of a custom indicator from within an EA I sometimes get numbers that are slightly off.
If no one else experiences this, then ignore...it is my fault.
It's wonderful MT4 was officially released!
I love MT4!
So I personally translate the MT4's manual into Japanese,
and distribute MQL-Scripts of making by oneself.
recommend MT4 for people in Japan.
By the way, I have one question.
Can the Time-Zone of MT4's terminal be changed to...
Hello everyone :)
I'd like to repeat the question asked by Keris2112, that is :
how to create an array of indicator values inside an experadvisor.
I'm new to mt4 and i've made only few rather simple experts. Now i'd like to employ functions like iMAOnArray but i simply don't know how to create...
MetaTrader 4. Build 175.
1. Added Strategy Tester. More detailed information in built-in help file of terminal;
2. You can open in offline mode the chart with generated testing data containing bar ticks;
3. Added sorting of orders in "Terminal" window;
4. Unused tabs of the terminal...
I think I may have found a bug with the latest version of MetaTrader. If the variables "Ask" or "Bid" are used in the "init" section of an Expert, they return "0"
Thanks for great tool in MT4.
One of the strategies I wrote uses detetime functions (like CurDate()), eg. I want to open new positions only between noon and 2 PM. Unfortunately it seems it does not work fine during backtesting. As I can see in Journal, CurDate() function returns real current...
it is very disappointing to hear about the lack of client api for mt4. This puts a big dent into my overall development. However, i was wondering if any of you guys can help me out. I've downloaded the mt4 setup file many times and installed ont oa few different computers. I'm pretty sure that one...
I tried to install MetaTrader 4 on Linux using Wine and I get a dialog box that says, "This operating system is not supported."
It looks to me like that dialog box came from a test within MT4 itself. Is it possible to remove that test so we can try to see if we can get it working under Linux?...
Hello, The MT4 is nice but missed some built-in conversion functions, e.g. the "DoubleToInt" proposed currently I have to use "DoubleToString" then "StringToInt" to do this , maybe a build-in would do it much faster
hello and thanks for the great tool.
I have been trying unsucessfully to test a strategy using data from 3 years ago til now, even after setting the date on strategy tester I still can't get my test result for that period. it seems to be using data in my history center, my question is how do I add...
Hello, Has anyone been able to install MT4 on Win98 successfully? I've got an extra computer here and I want to do some backtesting on it, but after I installed MT4 on it, I can't load the program. I might need to download something from Microsoft (eg. MDAC), but I don't know what I need.
I would like to use the optimization feature in the backtesting, but I don't know how to do it. What code do I need in my Expert Advisor to turn that feature ON? Let's say for example, that I want to test for the best EMA: double emastuff = iMA(NULL,Period(),xxxxx,0,MODE_EMA,PRICE_CLOSE,0); where...
Could somebody explain how I would write the code to place the value of say, the CCI or RSI, into an array. I'm thinking more along the lines of per bar, not per tick. I want to be able to use iMAOnArray() in an EA, but I need to place the values of the indicators into an array first...
Congratulations to the MetaTrader Development Team. You all did an excellent job on this program. I've been playing with MT4 for 2 weeks (started with build 173) and the improvements in build 175 are amazing. I've been fooling with the backtester for a few hours now and it looks very promising....
I have a little problem with DDE in MT4.
When i open a spreadsheet, it sometimes takes a long time before values are updated (i get a bunch of N/As) and during week-ends they never get updated.
This was not the case with MT3.8 which always instantly updated DDE fields, even during week-ends.