MQL4 and MetaTrader 4 - page 1324

[Deleted]
Hello. What is a flexielib.mqh file? Where can we get it? I tried searching for it but nothing. Thanks for your help.
[Deleted]
  Refreshrates()  (15   1 2)
Could someone explain what is happening with refresh rates... the documentation hasn't really answered my query. Suppose I send an order and get Err 129 Invalid Price . My way out of the error is refresh rates... What happens after you've refreshed? I understand that tick info is updated but what
Hello, I am looking for an indicator that compares the close of the candle to its previous candle close and show signals accordingly. So, if the canle close above the close of the previous candle, it gives a buy signal and vice versa. Also, if the current candle prices moves above the high of the...
[Deleted]
Is it possible to have an EA only run on a bar close of the chart? Thanks in advance, Ed
I have written the header file and compiled the exe file in /experts/include folder. The function accessed via the include works when placed in line with main code. The indicator code compiles with no errors. When I run the indicator it runs init() (sets up separate window with levels etc), but...
Hello, I am trying to use the existing Accelerator indicator and put it in array but my array doesn't seem to give me the correct figure. Can someone point out the mistake? The Original Accelerator indicator below. //+------------------------------------------------------------------+ //|...
  Array Help  (4)
Hello, I have got an array of [1,2,3,4,5, ...] How do I change it to [...,5,4,3,2,1] ? Any help is appreciated. Thanks.
[Deleted]
Whoever is interested, get in touch. Task: give a mathematical definition of a price chart with justification. Richie: I would call it a process. Randomness of traders' orders opening in time + unpredictability of lot sizes , if I may say so. Or again someone will say it's not all random. **** The
I would like to have an EA coded using mt4. Can anyone recommend a good coder who is trustworthy, reliable, excellent at what he/she does and who charges a reasonable rate. Thanks - RAM
Hi everybody i would like to place orders on different hours especially when release different news but there is no possibilities in Meta trader. I wonder how can i solve my problem please help me!
[Deleted]
Hello, I recently tried my new Expert advisor, but it didnt work as it should. I couldnt figure out where the problem is, but now i know. It seems like the iStochastic returns wrong value. Look at the picture in attachment. You can see here clearly, that the value of one stochastic is around 88, and...
I wonder if someone might try and explain how this line works from the terminal function in the mql4 book I just cant get my head around it Mas_Tip[OrderType()]++; // Amount of orders of the type How is that one line putting the correct amount of orders of each type into the separate array elements...
  Max SlipPage  (3)
In MQL4: How can I set the Maximun slippage in order to avoind this message of MT4 (and the order is not generated)? " requote xxx / xxx for open [buy/sell] [lot] [currencypair] at xxxxx sl. xxxx tp. xxxxx" I have tried with 3 and then 5 but sometimes I still get the message and the order is not
[Deleted]
Hi, I'm slowly learning about coding MQL4, and while I'm getting to grips with modifying existing code I am still quite a bit off the mark on writing my own indicators from scratch. To help learn, I'm trying to write a custom indicator ("Balanced") which draws a line using data from 2 other custom...
I am learning this new launguage while trying to do some liitle things. Following is the sample code in the Start function to define a user function. I have 2 problems here. 1. The way I defined the function and/or called the does not look right. Hence I am getting lot of compilation errors. 2. In...
[Deleted]
Hi I recently installed FX Multi-Meter 111 on my meta trader and have all these very large fonts showing over everything. I am on interbank running Vista and meta trader 4 Is there a fix for this problem?? I am relatively new to this and any help would be appreciated Thanks in advance ron W.
int counted_bars=IndicatorCounted(); if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; double arrayOne[limit]; I need to create an array of dynamic size above, but it doesn't work in this code. What is the correct way of coding it? Thanks.
I am running my TrendWhipsaw EA on two computers for two cross pairs, EURUSD and AUDUSD. I normally stop the EAs once the profit hit my target profit of 100 pips each a day. Regularly, once or twice in a week the profit never comes but the loss just getting bigger so I have to run till getting out
Hi, I am using Windows 7 and recently installed Meta Trader. Every time I open Meta Trader I am receiving '1607182': connect failed [Invalid account] message. So i cant log in using my account details. Is it because of Windows 7?
[Deleted]
I just saw the following occur in some [double related] code I'm writing. EDIT: Removed since it contained incorrect info This is real bad. That means, the only way I can do the above comparison safely is EDIT: Removed since it contained incorrect info And if I wanted to compare for equality (for
  "meters" ...  (69   1 2 3 4 5 6 7)
Not a new idea, but since we do not have something like these ... And I was wondering is it complicated to make one ____________________________ In this thread indicators that can be called "meters" will be posted. The "meters" in this case refers to a certain way of presenting data. More or less it
[Deleted]
I’ve lived through several recessions and one thing I have learned is that the economic structure of our society is about supply and demand. Look at your own life, your daily activities and consider how the theory of supply and demand affects you. Take milk for instance . If your local grocery...
New article Practical Application Of Databases For Markets Analysis is published: Working with data has become the main task for modern software - both for standalone and network applications. To solve this problem a specialized software were created. These are Database Management Systems (DBMS),...
[Deleted]
Is there an easy way to get the current value of an indicator in a chart sub window? Seems like it should be so easy... WindowGetValue(winId); If I can not get a value from a window, how do I figure out what indicator is running in a chart sub window so that I can call iCustom? Thanks! Matt
[Deleted]
I am stuck and not sure what I am doing wrong. My EA is reporting a OrderModify error 1 on almost every tick. I am trying to get the EA to modify an order when the "entry" variable changes from the OrderOpenPrice(), which was originally opened using "entry". In the past to check values I have...
Does anyone know why there is an one year gap in the GBPJPY data when the data is downloaded from Metaquotes server? You can see this for yourself in Tools -> History Center - > Group 11 (GBPJPY) -> click on 1 hour (H1) and look for March 2004 to December 2004. They are not there. Winsor
Why does MetaTrader repeat the start function for every second? It does that to my code: //+------------------------------------------------------------------+ //| alanFirst.mq4 | //| Copyright © 2010, MetaQuotes Software Corp....
[Deleted]
In MQL4 Documentation is this code snippet to illustrate the use of Symbol()... int total=OrdersTotal(); for(int pos=0;pos<total;pos++) { // check selection result because the order may be closed or deleted at this time! if(OrderSelect(pos, SELECT_BY_POS)==false) continue;...
[Deleted]
How do you convert a source code into an executable file (.mql4) using Meta Editor
[Deleted]
How can I check to see what has happened with my last order, whether it has hit the TP or the SL or whether it's been closed and I need to know if it's still open as well