General - page 1946

MetaTrader4. Build 172. 1. Updated CurTime() function; 2. Updated expert initialization function; 3. Enabled importing from other symbols (in HST format); 4. In MQL4 added StringConcatenate() function; 5. Updated Dictionary of MetaEditor IDE; 6. Updating based on crash-logs.
hi Easy Language code change MQL ? inputs: period(numeric), trigger(numeric); vans: trend(O), osc(O); osc = EWO; @highest(osc,period) and trend = 0 then trend = 1;
Hello After installation of 171 built I face a lot of CPU resource taking ( > 93% ) on start and on Profile swithing (VERY slow!) I'm with winXPSP2 32 G AMD 512 RAM 200 G HDD Ivo
Hi, I think this was working prior to the last update, but I really need to understand what is possible when declaring functions. bool MyFunc(double& dRtn, double& dPerc){ //do something and set dRtn, dPrec variables dRtn = 10; dPerc = 20; return (true)} So I expect that when this is...
Hi, I have a problem with email. It sends email successfully for a while but then I get an error and the email send fails. The error in the Journal is Mail: not enough room for 'Email Subject Line' If I close MT and start again it starts working. Is this a bug, how do you make more room....
Hello As a suggestion to MT team: I'd like to see more symbols available for use. These will allow to diversify visually each indicator when few different indicators are used in the same chart. Thanks Ivo
Hi Here is what the dictionary sais: double Point Point value for the current chart. OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakeProfit*Point,Red); Does it means TICK or PIP? I'll appreciate a comprihansive explanation if possible. 10x. Ivo
Hi guys Is it possible to add a pips P/L column in the trades window? Just the pip difference between open price and current price. Please note I'm not asking for pips P/L as (pip diff * lots), right? I would find that feature a lot helpful, and think it should not be so difficult to add.....
I am hoping somebody could help me to add some Elliot Wave indicators to my MT studies. 1. Elliot Wave oscillator (EWO) Parameters: hasn’t parameter. Calculation: EWO (i) = MVA((high + low) / 2, 5) - MVA((high + low) / 2, 35). 2. Elliot Wave trend (EWTREND) Parameters: N - number of periods, TR -
hi MetaEditor4 missing context menue Dictionary... :(
I've tried to use the sample from the help ObjectCreate("text_object", OBJ_TEXT, 0, T'2004.02.20 12-30', 1.0045); and got following error: '2004.02.20 12-30' - more than 1 symbol H:\Programs\tools\4x\MetaTrader\experts\myFile.mq4 (91, 55) Why? Ivo
Hi all, I have custom indicators designed to work on Meta 3.85 , any one can help to convert it to work on the new virgin of meta 4 , I tried to do it using the wizard in Meta 4 but it's not working , if any one one know I will appreciate it
Hi is the following for loop allowed? If not, do i skip inside the loop in that case? for (int i=limit; i>=0; i=i-barsPerDay) { ... } tia, Fermin DCG
Hi, I'm trying to draw a small (part of) a line between two points using the following code. ObjectCreate("P line", OBJ_HLINE, 0, Time[40], 1.6395, Time[0], 1.6395); It does however show the whole line not just part of it. Could someone please tell me what i'm overlooking\ doing wrong. tia...
I've two: 1. how could I possition the pointer at the end of the file? 2. how to append writing to a file? Ivo
MetaTrader 4. Build 171. 1. Fixed chart "freezing" effect; 2. Increased the global variables lifetime up to 4 weeks from last using time. Now you can modify the last access time of global variable from your MQL4 program just by reading operation; 3. Updated commission displaying on "Account History"...
What's new in MT 4.0 Build 171??
Hi Does anybody knows how could I open a log file without closing the MT terminal? It's nice that a Print function exists, but my MT logs are locked until terminal client is open. Are yours also locked? Is there any why to read log contents without closing the terminal? Do I miss something? Ivo
I was getting this error message in my Journal: "TradeDispatcher: all trade context is busy" After rebooting my computer, didn't see the error anymore. Just wonder what could cause this type of error? Also is there any documentation provided to give you list of possible error messages, and their...
Do anyone of you guys have a code to enable the price quotes and account histories to be viewed via wap so that one can offer it via his own website, much like the wap site of MetaQuotes? I have a set of codes given by the people from MetaQuotes and they worked before. but when we transferred to a...
We started new version of our WAP site You can watch Forex quotes and Indexes prices realtime. Also you can watch equity of your account on our MetaTrader 4 Demo-server (with viewing details of each opened orders). You can use our WAP-site through any mobile phone that supports WAP (and even without...
can't log on. is meta trader active at 01019 gmt 5/31?
Hi, Can you please elaborate how the top and bottom channel lines are calculated for the linear regression channel. Is it a standard deviation like the standard deviation channel? Also is it possible to draw the linear regression channel without these channel lines? Maybe a base function in code...
  Multiple trades  (7)
Wonder any of you MT4 experts can help me with this. I've been looking at a very interesting code written for MT3 platform which I fetched from Moneytec forum, and is called AlwaysInPlay. The reason I found the code interesting is because it can open many trades for different currency pairs. But...
i have problem programming not get long on a trade above the last two numbers above 85 through 15 or short with the last two below 15 through 85. Close = x.xx15 Close = x.xx85 how filter last two numbers in MQL ?
At this step , I have : double var double var1 var = Formula; now I want to have var1 = previous value of Formula If Formula was an Array such as High I would just write var1 = High[1] But writing var1 = Formula[1] is not recognized. who could help ? Thanks In general, the question is :...
  MQL Code Maker  (42   1 2 3 4 5)
Hey, Now besides live testing fxfisherman and tweaking main systems, I have some time to spare, so I'd like to create a useful piece of software for all traders. I'm thinking of creating a MT Expert Code Maker for non-programmers which lets them create experts without the need of programming skill
Yesterday went to the countryside, was sitting there in a house on the hill, drinking hot tea, looking at the river valley and thinking about different things. So here is a question, what combined most of the succesfull and rich people? They came up with new ideas. 1).Einstein came up with his...
Hi, For all of us that use discretionary methods, would be nice to have an option (right-click) over the graph to setup an alarm (sound, e-mail, box) when the prices gets a certain point, so we don't have to check all the time the chart waiting for the price to go to that point. Regards, Fernando
Hi, I am having problems with the loading of the editor. It just takes forever to open up. Has anyone else had this problem. I have deleted the registry keys and cleaned out alot of old scripts but still no help. What can I do? Pedro