MQL4 and MetaTrader 4 - page 1236

To post a new topic, please log in or register
Hi! I´m looking to know if i open more than 20 Meta traders at Windows XP, each one with a Expert Advisor working at ALL Pairs (19). I will need a good Video Card VGA? Or any cheap 128 oe 256Mb can handle? Thanks.
Hi, I need help with this code: double v[5] = {iRSI(NULL,240,14,0,0), iRSI(NULL,60,14,0,0),iRSI(NULL,15,14,0,0),iMA(NULL,60,14,8,MODE_SMMA,PRICE_MEDIAN,0),iClose(NULL,15,0)}; I got the following errors: '240' - variable expected ')' - unbalanced right...
Hello I would make this: In expert advisor,when I open an Orders,then close this in One bar,do not open new orders in this bar,wait for the next bar. (One open/One bar) Thanks Sorry for my English.
Hi I'm new to MQL4 and am hoping someone can help me with this issue I'm having. I've written an EA and once it has been setup and is running I caanot bring up the properties dialog box to change settings. I was under the impression you could right click select Expert Advisor and click on Properties...
Hi, I wondered whether anyone can shed some light on this problem I'm experiencing with istddevonarray(). If I calculate the standard deviation for a set of prices held in an array in MT4 I get a completely different result compared to calculating the STD in Excel using the STDEVPA function and...
I want to open a pending order with the price= Ask + 20 pips. I use: OrderSend(Symbol(),OP_BUYLIMIT,LOTS,Ask+0.0020,0,0,0,0,0,0, DarkOrange ); But I get a GetLastError() = 130, which is an Invalid stops error. What is the problem? Thank
WHAT DOES THIS MEAN? is it problem with my code or the server banned my EA because of sening signal too frequently?
can someone give me example of code that create some window where i can put some values and later a can use that imput in my expert advisor. thanks
  Become an Author! (22   1 2 3)
MQL4 Community is being updated at the moment in order to allow all visitors writingof articles for remuneration. Updating is planned to have been completed by the1st of May, 2006. All articles about auto trading or programming in MetaQuotes Language 4 (MQL4)will be accepted for publishing. Every...
Can anyone point me why my EA generates an error 130 which is invalid stop loss for this particular trade (and every other shorts i'm trying to OrderSend) Here is the screenshot of my trade: http://img231.imageshack.us/my.php?image=60364059ls0.png Here is code for EA:...
  Adding Time (2)
If I have a full date time string and I want to add two hours to that to come up with a new date time string, is it possible to do simple arithmatic, or must I parse, convert, add, reconvert? An example would be helpful. Thanks.
Attention! Starting from the 29th of February 2008, client terminal builds under 207 will not be supported anymore. This limitation is intended for acceleration of traders' upgradingto the latest versions of the terminal in order to decrease serverloading and, correspondingly, to produce fewer...
I recently downlaoded the Fractal ZigZag EA and wanted to see why it is doing sowell. After playing around with it and at the end removing everything in the EAexpect the buy command it made that amount of money. I used the following settings: GPBUSD daily Open prices only TakeProfit = 25;...
404 The page you have requested does not exist Please check the path for errors and try again or use search page
Hi, I would like to make an EA to handle opened positions in a specific pair. I can have many opened orders in both directions, each with different lot size and opened at different levels. I would like to calculate which is the breakeven level resulting of the current situation. Anybody who can help...
hi, take as instance the fibonacci object. how it does fix its fibonacci level in the far right of the windows? those levels (23.6,38.2, 50, 61.8) act as labels, but I don't think they are labels. how can I get the time value for that exact coordinate at the far right window for those fibonacci...
 i have read that ticksin mysql and i know that , insert record to mysql iseasy , could anyone please give a example to show how to query records from a database,use "select ..." .  thank you .
  coppck
can any one make coppck in mql4 if i give him how it is in metastock?
Hi All, I hope someone can help me here. Why when I am about to reset my trade, in another words delete the remainder of the currency below the gray ban, comes up with TRADE IS DISABLE? Many thanks for future help Victor
Hai, Im frm Malaysia, sorry about my English but i have some question about EXPERT ADVISOR, so my question is :- 1) The EA does not running when the Computer close, why? p/s : sorry about my english.
is there any body who can help me make a linear regression idicator in mql4?
I want to populate an array of strings with the names of the all the currencies/indexes/cfd/metalswhich are available at a dealer. Anyone know how to get this in code?
Hi I'm looking to turn a very useful Indicator into a custom one...but I'm not a coder. Is anyone keen to give it a go?
Hi, all I have a looping structure, and want to make efficient looping, if I amnow wrong, in the programming langguage there is a macro variable that we can usedirectly the content of the memory as a object name, so I give the original codelook like this : MaxCount =7; for (int i=0; i<MaxCount; i++)...
The EA's available don't have SL, TS, TP, etc. Where to find this simple EA with more features? Thanks.
hello, is there a way to set Max Bars in Chart through MT4 programing?thanks,,,
Hello.. I'm using this formula to calculate expiration time of my buy_limit order expire=Time[0]+(Period()*60)-5; so the buy limit order will expired at approximately 5 seconds before the candleended. It's working fine with 15 minutes timeframe and above, but when I test it on backtester,I...
Hi Does anyone has experience or workable source code that creating INI file handlerfrom VC, C# or VB, then combined it as a DLL with stdcall rountine, I would liketo import such kind of DLL in MQL4 platform. The File function in MQL4 is not thatpowerful. Thanks Beginner
Hi, I would like to create an EA that can scalp 4hour candlesticks. It should work this way. Buy = price is greater than 15pips from open Buy stoploss = candle open price + spread Sell = price is lower than 15pip from open Sell stoploss = candle open price + spread Trailing 15-20-30-50pips, No...
Since available symbols differ from broker to broker, I wonder if there is a wayto enumerating the available symbols (ex: "EURUSD", "GPBJPY",etc) for use in a script.