Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1080

To post a new topic, please log in or register
I talked to alpari today they had issues with the cable and euro, Last week they pulled all data files. Technicians are working on the problem. Hopefully they will get the data files back soon, there is NO DATE. So, I am also at the point of paying for the reliable data. I can recreate...
I need to get it back to default like it came when i downloaded it. Can't seem to install the cci indicator that i found for it
Drag and drop it on any chart. It exports R3, R2, R1, Pivot, S1, S2, & S3 for D1, W1 and M1 into a .csv file for the following pairs: EURUSD GBPUSD USDCHF GBPCHF EURCHF USDJPY GBPJPY EURJPY AUDJPY NZDJPY CHFJPY USDCAD AUDUSD NZDUSD EURGBP EURAUD EURCAD AUDCAD AUDNZD For reasons unknown, it is not...
Hi, Just wonder why the alert message not appear in the special function start() while alert message appear in special function init() and deinit()? Can someone tell me why? I have to admit I am new to EA writing :) Thank you.
Hey everyone. I'm fairly new to programming but I've recently gone through the (fantastic) book on this site and have a couple years of practical experience in MT4 modifying indicators and eas to the best of my ability. Now I'm ready to create my own system and I had a quick question. I've an idea...
Hi all, ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,SL,TP,comment,Magic,0,Green); you know this code, open buy position but I want to open opposite position when buy position is +15 bip. and then I did this, ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,SL,TP,comment,Magic,0,Green);...
Hi all, I have a little problem. Maybe you can help me with it. A friend of mine coded an EA for me and it works pretty good. It is based on a fix price, which I can enter when I add the ea to the chart. Unfortunately it does not draw a line in the chart at the fix price ratio. So I am sitting here...
Hi. I have trouble to find in the hard disk the folder where MetaEditor store the new indicators or ea, both compiled ex4 and source mq4. I am  not able to find those, with Windows function Searh Files. It is supposed to be in the MetaTrader folder c:\Programs\Meta Trader 4\ but in every folder...
Question 1 : Howto initialise for example an external variables #property show_inputs extern string start_date="2009.01.20"; extern string finish_date="2009.01.27"; How change those dates automaticaly to start_ date = todays date and finish_date to start_date + 1 day. Trieed todo it in the...
I had a BUY on AUD/USD with lot size 0.01, the minimum. I was earning swaps on this order. The order close without my knowledge. My expert advisors was on monitoring mode ONLY and not in automatic trade mode. I was trading manually because of all the new rules being added by NFA. Anyhow, the BUY...
I've got two copies of MetaTrader, one on build 220 and one on build 223. If I create an EA using build 220, the .ex4 file works fine on build 220 of MT4 but causes build 223 to crash. And, similarly, if I create an EA using build 223, then the .ex4 file works fine on build 223 but crashes build 220...
hi please help me please explain about iStochastic() function . may introduce any perfect reference (web site, ... )that explain iStochastic() function ? Thanks
Hi, Can anyone put me onto an indicator that will place lines on the chart to show the high and low of a range between certain times. Hope someone can help. Regards, KeithN.
Hi. I found trouble to install the last MetaTrader4 build 224, ON the previous build 220. If i choose the folder where to install the new (224) build, "overwriting" the past (220) the setup just install, but when i launch the program i get a crash like the one i've pasted below. I remember that i've...
Hi I have been trying to use a combination of indicators to eventually make an EA but I would like to see if I can just get an alert and a arror when there is a divergence of two indicators. Two indicators= Relative Strength Index Closing Period of 4 diverges with On Balance Volume Close on...
Hi I understand that maximum allowed dimensions are 4 inmulti-dimensional array. But, what is the maximum number of elements allowed in each dimensionof multi-dimensional array? Thanks
hello to everyone giuseppe I just registered on this forum.  I would like someone to help me solve my problem  I would say to my EA to close the position at the opening of the next bar only if the position is in profit. I do not know how to do  can someone help me?
I have read articles regarding a null bar and also seen metion of a zero bar, what are they? Are they one in the same, do they arise from using historical data in an indicator into an EA? There is no mention of it in the documentation and seems to pass as common knowledge, any help would be...
  % Wins (4)
Is there a way to find your percent wins in an optimization runs? ---Tom
Please I have this program that runs and draws the 3 lines well. But the other program below does not draw the 2 lines. The idea was to use the array as a variable inside start function. I have placed also as a static array and the same, does not draw the line. The idea is to use arrays declared...
My trades comments are quite often completed by the server with "Started/gap", "Closed/gap", "tp/gap" etc annotations It means that the orders are not realized according to the initial specifications of zero slippage tolerence that I always apply to my ordersend() functions. In practice its a pip or...
Hello I am wondering if it is possible to preform logic tests on currency pairs other than the one shown in the chart? For instance if you had an EA running on the EUR/USD, could you check if the EURGBP was above the 20MA, or possibly a custom indicator. I have seen the MarketInfo()  command, but I...
New User - Chart times top as of 9/08/09 Thanks in advance
Hello, I have been trying to program my own EA. Since I have been programming only for a month or so, I cant figure out, what Im doing wrong. Its a very simple EA, which should detect a candlestick pattern "hammer" and put a pending order with 1 day expiration. It already works as an indicator and...
I get an alert everytime the price changes even one pip. How can I silence this? This is my first time in the forum and I may have missed something.Thanks. vk747
Just curious if there are any plans for MQ4 to support classes/struct/OOP?
Recently made my computer much safer to reject viruses and trojans --->I made limited account and add that special account special restriction policy rules: To only run executable in ONLY one directory(It's directory where I have all priveleges). In that directory I have MT4 installed for doing...
Hi I intend to develop on EA for multiple pairs and attach toone pair. I can refer the candles that native pair. Is there a way that I canrefer to the candles of other pairs than attached pair? Please advise. Thanks
ciao guys first at all thanks in advance for help. i am trying to prepare my personal EA but i have a doubt : with command ordertotal() it's possible to specify the number of pending orders but ..... total orders.... . In this way if I use my EA on some differents cross i cant specify to...
Not being a programmer...i've tried to figure out how to make the EA only do one trade per signal....but not having any progress. I want it to close a trade by either SL, TP, or TS. Then wait for the reverse signal. But it would close the trade and put the same side trade in if the singal was still...