Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1017

To post a new topic, please log in or register
I have a template with 5 EX4 files that was developed using varengoldfx metatrader 4 platform. works perfectly. (varengold uses 4 digits) I tried using the same template and EX4 files on Tradeview which uses 5 digits. I get some intermittent lockups and waiting for update. Does anyone have any...
I have an EA that has be coded with my acct no but ll like to edit (change the acct no). Pls how will i do it. Is there MOL4 editor or reader i can use? cause i know nothing about MOL4...
Ok folks, apologies for posting something which, although related to the markets, isn't about MQL4 programming. I expect some of you will have already seen this, but for those that haven't, its well worth watching. https://www.youtube.com/watch?v=FOKSkaQoF_I CB
This is an error I'm getting in the jornal for a USD/JPY backtest, can I use Normalize Double on the Bid or Ask to get around this error and have a normal quote (95.08). Any other suggestions? Thanks, FXPC
Is there a way to create a shortcut to turn OFF an indicator. It seems you can only turn them ON.
Hi, How to plot a 0.5ATR, 3ATR and 4ATR channel on the screen? Thank you source: https://www.lbrgroup.com/images//Linda%20Paris%20on%20Trade%20Management/TradeManagement.ppt Relationship between targets & stops with random entries •Stop and reverse off randomly generated trade points yields a 50%...
  Help! Please! (4)
I would like to take the buy and sell signals of an uncompiled indicator and use them in an EA. The indicator produces Lime arrows pointing up for a buy signal and Red arrows pointing down for a sell signal. Is it possible to extract enough information from the indicator without having the...
I need to get some data from lower TF's in my indicator, I thoght ArrayCopySeries or iHigh / iLow would be the way too do it in MT but Im only geting old (64 hours) M1 data and a fantastically informative error message (4055 -> Custom indicator error) (Geting data from higher TF's this way works...
Hi all I just downloaded an indicator in .mq4 format But it doesn't show up in the indicator list in the navigator window after compilation Any ideas ?
  Posting my EA (3)
This is an EA which I started working on a while ago. The entry parameters should be ignored for the time being as I'm planning to input seperate entry criteria. The focus of the code is the handeling of Orders and Stops. The basis for the handeling of the trades comes from Lebeau stops. As I...
Thank you for anyone who can help me. I've been working on this so long I believe My brain is just fried and I can't think straight. Please Notice the bolded red beginning of an if loop before saying if the ma3 doesn't equal the current stop loss that we should order modify. In the attached...
I know nothing about writing code, but I piece mealed my way through writing my EA. I have one problem, my broker allows hedging, My system needs to open 1 stop order Buy above and one sell stop below the market but only seems to place one side. I think the error is here: -----> if(Ticket > 0) {...
I am experiencing a lot of Error 180s which I have not be able to prevent even when using Trade Context flagging and . I have been told to use Maximum Deviation but I can only find this on the form for placing a manual trade. Can anyone tell me how Metratrader assigns a value to Maximum Deviation so...
Pls what kind of error is this this days that dis-function or dis-able ordersend in EAs!
Do you would know someone to say me if a stop loss negative it is equivalent to a positive profit? example .... extern int SL_Down_SELL=-3; //negative value extern int TP_Down_SELL=40; ..... OrderModify(OrderTicket(),OrderOpenPrice(),(SL_Down_SELL*Point),(TP_Down_SELL*Point),0,Red); ...... Thanx...
I HAVE BEEN TESTING 3 DIFFERENT EXPERTS IN 7 DIFFERENT CURRIENCIES IN MY DEMO ACCOUNT. I IMPLEMENTED MAGIC NUMBERS TO DIFFERIENTIATE THE EXPERTS (3) AND THE INSTRUMENTS (7), OBTAINING A TOTAL OF 21 DIFFERENT MAGIC NUMBERS. THE EXPERTS WORK WELL INDEPENDENTLY. BUT, WHEN WORKING IN A MULTI EXPERT,...
i have little experience with mql4 coding, but i had an idea... i want to program a code that will open 2 pending orders, one buy and one sell... the buy will open 15 points above where the pending order trade was placed, and the sell will open 15 points below. i would also like to add a solid stop...
We are Europian Brouker firm, we are also Managaed accounts. If you are good EA´s, what make profits long time. We are indrest. But first we must test EA´s minimum 1 month. If that work well, we pay good % our wins you. Send me all detail here. paul.nylander@clipart.fi
Can anybody direct me to a PDF file or an article about how to Import reliable data, into mt4 platform, so I can achieve 99% modeling quality ?? This would be data that I would purchase from a company like CQG or Comstock, it might be 1 year or 3-5 yrs worth. I find this to be one very big weakness...
Hi, I was hoping that someone could assist me with tweaking the following code. I've manipulated code originally posted by GGekko - for which I'm very grateful. I've included a chart for your information. The BLUE ARROWS are marking candles that are CLOSING HIGHER THAN THE PREVIOUS HIGH. The...
here is code to get Bar's begin time working on MTF GetTime =(iTime(Symbol(),60,i)); its OK how we get Bar's end time ? Thanks
Is it possible to access price data from metatrader from another program? Does MT4 interact with other software? I believe eSignal has this feature, where people can write their own software, tools and indicators, integrating with eSignal as the data provider.
Coders & Traders: In my quest to build the best system I possibly can, I soundly believe the very best testing and analysis should be utilized. To diversify the data I use as well as the conditions for varying brokers, I have downloaded dozens of MT4 platforms from all different brokerages all...
Hi, i have 1M EURUSD historical data from 1999. However when i run iBars("EURUSD",PERIOD_1M) i get always 1001 bars. Why is that? I want to retrieve the exact number of 1M bars i have in history data, what is the function to use or how it is done? Thanks in advance
I've been running into problems on some 5 digit (fractional pip) brokers. MarketInfo() variables such as Point and TickSize are not being reported correctly, and I've noticed this across different brokers. We all know that Point is hosed -- I had to write a special routine to find the actual point...
Hi every body I have a question. How can I choose a specific order in EA? For example there is 3 open order such as EURUSD, GBPUSD and USDJPY and I want to close only EURUSD order in a specific time by EA. How can I select and how can I close it?
Dear friends at Forum MQL4 Community. I am Tony, a very new member and I just joined this community. I have a very bad experience in Index trading before. Now, I need to stand up and fix the mess. I see some tehnical indicators, such as Fractal and Alligator. Here is the comment about Fractal. The...
hello How do you code an ma cross as and entry and exit and also have a Pivot based entry and exit or somthing similar. The idea is to have short medium and long period entry and exits systems in a single EA. How do you allocate the various entry and exits to the open and close order functions....
I have tried search for this but it appears to be not working. I have learned alot using it and has helped with many questions in the past. Is it possible to change the color of just the last price digit. Ex.. 1.2345.. I would like to make the 5 a different color than the 1.234. I have done this...
Not sure if allowed to post this so sorry moderators and you can pull the post if i'm in any breach. The sytem is The ultimate forex predictor If you are interested you can PM with any question,please do not rubbish me but feel free to post any coments on the system if you wish EDIT I have sent a...