MQL4 and MetaTrader 4 - page 1506

I use Low[], but the result is Open[], why? Anybody can help me with this?
Hello, Looking for a EA programmer in Chicago. Email me at dajuanm at sbaclobal dot net. Thanks
Hi, This is my first try at coding an EA, i'm not a programmer, and I have a lot of problems with compile errors. I'm fiddling around trying to figure out how "functions" work, so I'm trying to write a very basic one and figure out by my mistakes but it keeps telling me that "EXPRESSION ON GLOBAL...
I ran into some problems with my code, and traced it down to an oddity: I thought the price e.g. at EURUSD H1 '2009.02.11 08:00' would be the same as at EURUSD M1 '2009.02.11 08:00'... apparently it is not. Because if I zoom in on that particcular bar, on TF M1 I get a very different price than on
[Deleted]
Hi! I need to plot by a line, a lot of values stored into a .csv file. I know is possible plot line getting index of the bars, but this solution is good just for internal indicator, MACD, MOVING AVERANGE, etc... How I can plot this values? This is a little example: 01.01.2000 00.00 ; 514 ; 1256; 7
Hey Everybody... About a year ago I read an article about creating custom time frames in indicators and/or EA's. I was looking to read up on that topic again because one of my EA's needs to read in between the 4hr-daily time frames on the charts. I remember that it had something to do with using...
[Deleted]
Good day or night. I propose to your attention. Trader strategy that includes an Expert Advisor. In a nutshell. You trade on three currency pairs. You enter and exit the market manually, based on the readings of a special indicator. You have entered the market, switched on the Expert Advisor, , the
[Deleted]
Here's a simple loop which counts from 0 to 60. How do I get this loop to start over again at 0? int start() { int t=0; while (t<60) { Sleep(1000); Alert (t); t++; } //---- return(0);
  Exit won't work  (9)
I wrote a simple strategy that fades big bars. The entries work fine, the exits do not. The idea is that I mark lastTradeTime = Time[0] whenever a trade enters. If lastTradeTime != Time[0], it should be time to close the trade... except it's not working that way. What's wrong here? extern double...
I have finally improved  my ea, I can still lower  the drawdown,  but for me its ok now. In fact Im using it on  real accts. Ill  apreciate  you comments. By the  way, Im  still looking  to  comercialize my EA                                                     Strategy Tester Report...
[Deleted]
I am new to the sight, and MQL, and any help would be greatly appreciated. I would like to print out the MQL book. I have down loaded it to the FDD platform, but have not been able to acces it in the help menu. mwcuff
  I need some help  (1)
Hello, I'm a real newbie in MQL4. Could you please answer these questions : 1) What's the link between MetaTrader and MQL4 ? Is MQL4 MetaTrader's API for programming automated real time orders ? If so, can we program inside MetaTrader environment ? 2) what's the difference between a script, an
I just opened a demo account. I tried to open a buy limit trade on EURUSD with the following parameters: -Volume: 1.00 -Pending Trade -Buy Limit -Stop Loss: 1.5777 -Take Profit At : 1.5882 -At Price: 1.5807 -No Expiry I place the order and get : Invalid S/L or T/P don't understand.... Help!!!!
extern int x1 = 135; extern int x2 = 127; extern int x3 = 16; extern int x4 = 93; ----------------- if(perceptron() > 0) { //long Print("long"); ticket = OrderSend(Symbol(), OP_BUY, lots, Ask, 3, Bid - sl * Point, 0, "AI人工智慧單作多", MagicNumber, 0, Blue); //---------------------------...
[Deleted]
I need help to write a code that calculate the moving average of volumes. I know how to apply an MA to volumes on a chart, but I would like to do it also in an EA. If someone has got a code sample that performs that task... thanks in advance
[Deleted]
  EA based from...  (2)
Hello, I was wondering if it were possible to create an EA to trade just off of signals given from the FXCM signals. These signals average about 250-300 pips/month. Any ideas? David
[Deleted]
Does the MQL language allow you to plug into tools offered by interbankfx such as the PRS (Pattern Recognition System) Thanks!
[Deleted]
hello i can recommend you this website www.unlock-your-mobile.com for unlock your phone i recieve my unlock code very fast, and its working.
The following MQL4 code results in the "a" value of zero: double a=1; for (int i=0; i<4; i++) { a=a*0.1; } Print ("a is ",a); Output: "a is 0". Should I make "a" equal to 100000 initially, then the output is "10". How can I get "0.0001" (The pip value :))? Thank you in advance :).
[Deleted]
Hi, I am trying to write a Martingale type EA. The problem I have is that I can't find the correct way to create a variable that gets a value at the beginning of the script (the order size) and then gets altered based on orders closing in a win or in a loss. What I though it would be logical is to...
[Deleted]
Is there a way to capture the high, low, open or close of a period, at the last second?
  what is swap  (1)
please can some one tell me what is swap? and for what reason?
[Deleted]
- Thats the results so far, thats the 1H results GBPJPY... Have tested it on a few other currencies and it seems to fair best when trading JPY pairs and worst when trading EUR. - And those are the 4H results for GBPJPY. Any thoughts? Have been coding this EA for about 3 days now, still havent got it...
[Deleted]
I'm trying to install metatrader4 and the registration page will not go to the next step. Does not generate a user name or password, any help would be appreciated. Thanks, Bill
[Deleted]
I'm running an earlier version of MT4 on Win XP Professional SP3 . I'm running an earlier version because I have a problem that terminal.exe crashes on startup when I try build 220. Its a fresh install of XP SP3 with all updates current. I've also tried with SP1, SP2. Has anyone had a similar...
I plan to run several MT4 clients, some live and some demo, which is the most stable for MT4?
Hi I am totally new to MetaTrader but I am amazed by its abilities. I have been testing a lot of strategies for index futures and would like to use MT4 for autotrading. My main used indicator is Wilders DMI and I have been looking for a example EA here in the codebase but did not find one. I hope to
[Deleted]
I just now start getting this error: cannot load external expert 'stdlib' when my EA tries to open an order. Sometimes it runs ok and sometimes I get this error. Has anyone seen this problem before? Thanks, Yi
I have been thinking about the difference between a trading market in Forex and a Trending market. Does anyone know of an oscillator that can be used to tell when the market is trading and when it is trending? Bill