MQL4 and MetaTrader 4 - page 1034

[Deleted]
Hello, i am new to mt4 and programmed a very long time ago but not sure how to fix this indicator? The goal is to have the daily moving average on intraday charts. errors 1.When i change time frames say 15m to 30m the moving average disappears. 2.When a new candle is formed the ma line shoots
[Deleted]
I've attached codes for simple EA + the indicator it uses. Basically it takes signal from indicator and buys or sells. The problem is it doesn't always take values from the indi and on backtests sometimes it jumps over large periods of time.. couple of weeks of no trading then resumes. There are no...
Does metaquotes have any plan to develop MT4 or MT5 platfrom for windows phone 7?
[Deleted]
It seems that ArrayCopyRates() has a wrong behavior. It returns an error which has no meaning for it 4063 (ERR_INTEGER_PARAMETER_EXPECTED) What am I missing here?? Thanks double data[][6]; string temp = ""; ArrayCopyRates(data, "EURUSD", "PERIOD_D1"); temp = temp + GetLastError()+"\n"; temp =...
Hello ;-) I am having weird troubles when testing an EA that uses a slightly complex indicator, which has four resizing arrays as fake buffers and calls another indicator as well. Both indicators are loading and unloading all the time, making the testing very slow, but I would swear iCustom calls
When MT4 will be able to handle more than 3 GB of RAM, working on 64 bit Windows?
Hi, When testing I am getting different values for CCI wether the starting date is 2011.08.01 or 2001.07.29 (results taken at the first tick of 2011.08.01) [ I am using these instructions: ARRAY_CCI[P,i] = iCCI(CURRENCY,PERIOD_D1,20,PRICE_TYPICAL,i); ARRAY_CCI[P,i] =
I don't know how to get and fill the time value required to draw a vertical line { ObjectCreate( "somename", OBJ_VLINE, 0, ?????, any value) } As an example, please help me by providing the codes to draw a vertical line at the bar[5] on the chart (An example is usually more effective than a...
I always see Stoploss lines (either created by EA or set manually) displayed in Red But my current EA doesn't behavior as before. When I run it in my desktop, SL lines still displayed in Red. But in my laptop, the EA created SL lines displayed in Yellow ! (image attached) I can't understand why just...
I have coded the following function       void Drawframe5 (double price)            {             int levelA, levelB;             static int LastA=0, LastB=0;                                       levelA=Rup5(MathRound(price));             levelB=Rdown5(MathRound(price));                          if...
[Deleted]
In my workspace I always have charts in different time frames: say 1 min and 5 min. When moving the crosshair in one time frame, it would be helpful to see the crosshair in the same position in the other time frame. That is to have the position of the crosshair synchronized in all time frames
My bit rate is almost always between 500/1 to 200/1 Can someone tell me what I can do to fix it? Thanks
Please for the examples of MQL4 syntax for the following cases: 1/. Margin to open 1/100 Lot 2/. Swap for Long (1/100 Lot) 3/. Swap for Short (1/100 Lot) 4/. TickValue of 1/100 Lot I mean about shares like GOOGLE, IBM, Home Depot, Bank of America etc... For currency pairs there is no problem, we...
[Deleted]
HI, EVERYBODY: a few weeks ago i was using a script to close all open positions at once. This is very useful when you panic. I changed my Broker, from ava fx to markets, and when i tried to use this same script, it failed.... Do you have a script to close all positions, no matter the brokers...
Dear all, is it possible to get the timestamps of the Open/High/Low/Close prices of a bar? Background is to determine whether the Close-Price is recovering from a Low-Price or falling down from a High-Price. Best regards Dirk
Lines that I create by ObjectCreate are always set on Red by default. I wonder if we can customize the color as expected ? Thanks for every help.
[Deleted]
Hello all, i've created a linear regression indicator with some custom changes and i want to see it plotted together with RSI indicator. Any ideas how can i achieve it? Thank you very much Stelios
[Deleted]
Hi All, I have 75 MT4s on one server.... the server spec is ..... Xeon with 4 x Cores .. and 4 gb Ram running 2008 Server The server is great! ... but when i run all 75 MT4s ... it grinds to a halt!.... so i went to Windows Task manager to see what resource is running low... and as far as i can...
Hi, can I use the " string comment" in the OrderSend-function with each broker? So is it reliable?
[Deleted]
If you fit the requirements, that is being very apt in the functionalities of MT4, no programming teaching involved, please PM me. We can negotiate the tution fee. I am based in South Perth, Australia. The reason I need it in person is as I have already been customised a set strategy by my mentor...
[Deleted]
how convert exe file to mq4?????i need the application...please.....
[Deleted]
by the ways......shared every time is indicators,mq 4 or ect.....but the true about how us can be a big buyer or seller on market.... its about how us be a buyer or seller at market.its very excelent to how hold your floath op".course us can make price was change with u`re little account....not...
[Deleted]
could us EA like this?????? 1000$ be 3000$...????? lets be friends first....... my fb:iwe soffa
Excuse me, everyone. I have written a few EAs and want to test them on the demo accounts. The problem is that after one month I applied for the demo account, the account itself becomes out of date. However, I still wish the tests could go on. Now I have to check each demo account one by one manually...
New article Visualize a Strategy in the MetaTrader 5 Tester is published at mql5.com: We all know the saying "Better to see once than hear a hundred times". You can read various books about Paris or Venice, but based on the mental images you wouldn't have the same feelings as on the evening walk in...
hey guys,i need a help,please.i am a new one,and have no experience of codeing.now here is the description of the script which i need. 1,i need the script judge my two latest orders in account history,if i have lost twice in a row,the script alert me such as "sorry,you have lost twice in a row...
  please i need help  (14   1 2)
my dear forum members please i had difficulties writing my ea in to dll can someone please help me with an example of writing simple dll for my EA,using C++ 2010 or pascal or clear example how to use dll contain in mql4 platform. especially writing indicator like MA OR BOLINGER BAND etc into dll....
[Deleted]
Hello, Friends, I have an EA that is running on one pair but sending orders for another pair. It is based on correlations with two pairs and then it trades their cross pair. The Strategy Tester does not allow to test such an EA. Is there any way how to overcome it? Thank you very much! Pavel
the question is like what i wrote on the title? everyone said just compile with 0 error and 0 warning then you'll get exe4 file in expert folder... but not even mql4 file exist but it show on the mt4 terminal and it can be used..(the ea) so what should i do? is it true its because i installed it in...
Lets say we place a Long order without stops. After a few minutes the price falls and it goes into deep drawdown. The price then settles a few hours later, and we want to place a SL on that old order that is far away both in time and price.....Can't do it ! Strange because I think I've done it...