MQL4 and MetaTrader 4 - page 1251

To post a new topic, please log in or register
Does anyone know if the Sterling Index (similar to USD index) can be charted inMetaTrader? I see the dollar and euro index under indices in the symbols windowbut no GBP index?
Hi, I am getting this weird error while testing a strategy. I have tried googling butall the results are in Russian. Tried using babelfish to translate also, but can't make any sense out of it. My build is 211. I am using a demo account. It works for MACD and Moving average sample EA's. Any...
how do i convert time axis to match my time zone. also where can i get the openand closings of other countries market. i want to load this based on my time zoneinstead of watching clock.
If U use this: NormalizeDouble((3.3-2.0)/2,1) = 0.6 if U use this: NormalizeDouble((1.3)/2,1) = 0.7 why ???? OccsE
Hi I thought to ask first before I start coding. I need to mark a given day of the week for the last n weeks on the chart, say Ihave hourly chart and wants to take a look at the last 20 Mondays or 23 Fridays,is there a marker out there some one allready coded? thanks alot
I have a few indicators and rules which I'd like to combine into an auto tradingsystem but just don't have the programming skills to do it myself. I'm thereforelooking for someone to do this for me as paid work. PM me for details. Thanks
I write herein script to open two buy and sell position ,simultaneously. But justfirst position trigered and second position did not opened. Please help me #property link "http://www.metaquotes.net" int g,m=10; int start() { OrderSend(Symbol(),OP_BUY,0.1,Ask,0,Bid-m*Point,0,NULL,0,0,CLR_NONE);...
Hi, New to MQL4 and I have two questions: 1. I want to perform an operation after a bar has closed, regardless of period.How do I test that a bar has closed so that I can perform my operation. I saw oneexample on the site that didn't work very well. 2. I travel quite a bit and I want to be able...
hi, every time i use the trade script on my MT4 platform i get this error "tradeis not allowed in the expert properties". can someone please help or advise on how to make this work? Michael
On the website of the Automated Trading Championship 2007, the article Jury Session Record of the 25th of October 2007 has been published. At the session, the Jury discussed disqualification of severalParticipants. Four more Participants dropped out of the competition. The full text of the article...
I know nothing about programming MT4 but I have the simplest of simple programmingrequests.... add a line to the bottom of the chart area with the local time corresponding to the MT4 chart interval time but offset for local time. I've searched and searched and come up empty for anything that does...
Hi ! I followed instructions at 'Automated Optimization of a Trading Robot in Real Trading' Automated Optimization MACD I am using Alpari MT4. mq4 was compiled with one error. 'auto_optimization.mqh' - cannot open the program file D:\Program Files\MetaTrader- Alpari UK\experts\MACD_Sample_1.mq4...
I thank you all in advance This is my problem, I want to put a simple lines in certain levels, I mean somethinglike this, a line at 1.000 another at 1.0100 next one at 1.0200, this would beevery 100 pips, I am thinking about every 25 pips, so basicly I wna be able toput lines every 25 pips since 0...
I have written an indicator which is applied to different currency pair charts.Is there a function which will return the name of the currency pair for the chartto which the indicator is being applied?
Hello, experts, I am a brand new EA learner. I am thinking how to write a small EA to automatically calculate risk level and orderlots. Let's say I have opened 10 charts. At some certain time, for example 0:00 Monday, while some entry signals=true,before opening orders, I want the EA check and count...
I downloaded MetaTrader4, Build 206. I finally got a login and password (took acouple of days) and MT4 worked for about 12 hours. Went to logon the next day and got "noconnection" message. (My internet connectivity is fine.) Re-installed with no luck. Tried using demo account server listed in...
  Wont work in EA (16   1 2)
This script works when you use it manually. It is suppose to close all orders thatare open. In the Expert I am simply stating that if my profit is greater then Xclose all orders. X being any number. Why when programmed into the Expert will it not work then? Any ideas? Here is the code. --Script...
I need to get the error to clear in my order close function in the expert advisor.It seems to work in one direction but not the other. Any ideas? Adjust the Bid and Ask prices? Not sure.
I have an indicator that creates objects (arrows) during certain events on my chart. Let's say 3 arrows have popped up on the 1 min chart, and then I click on 5minand back to 1min..... the arrows have disappeared!!! Is this a variable storage problem? Here's some code... (above) extern int...
On the website of the Automated Trading Championship 2007, an Interview with Michael Mayson (mmayson) has been published. The Participant from New Zealand, Michael Mayson has been involved in automated trading fornot a very long time. All this time he was using his Expert Advisor ZelDelComp, which...
Hi All, I was wondering if we can copy the the trades made by the champions of Autotrading2007. As you may know that we can also see the live trades made by the tradersin the championship. Look a the following link which gives the top positions of traders so far. https://www.mql5.com/go...
My broker does not have this symbol. I see this indicator from code base 'All usd pair' ( all dollar pairs), but I am after the true USD dollar index as a price serieswith the correct weights, does any have the code MQ4 file, thanks
Hello everybody You can help me please to identify the crossing in qqe indicator? Thank's Here is the code: //+---------------------------#property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_style1 STYLE_SOLID #property...
I am sure some one out there has already done this, I have this USDx dollar index mt4 indicator, but I dont have the mq4 code version only ex4 version. Q: Does any one have the code for the true/accurate dollar index indicator, with the correct allocation of all member currencies ? I need the...
  OrderClose (2)
Does anyone have the code that loops and attempts to close an order n times in theevent that it runs into an error? Thank you in advance, T
I want to write a function which uses variables length input parameters. Is thereany help available about this topic? Thanks, Krana
Hello, I have been trading on a demo for about two weeks now and now i found out that theoilfuture in MT North Finance is CLX7 and won't give new quotes. This lets me think,that we rolled over to a new month. But i don't see a new future at Market Watch.How can i get the future of oil from november?...
We are looking for a consultant to program an EA for us. We will pay $5K for theEA when complete plus split the profits 50/50 on a $50K Live Account for 1 year.We will provide a Demo Account on a live Currenex/MT4 Bridge for development andthe EA must test POSITIVE on a forward and back test basis...
Using the following code am I getting the stochastic values from the two previouslyclosed bars (not the current bar)? extern int KPeriod = 15; extern int DPeriod = 5; extern int Slowing = 5; extern int Method = MODE_EMA; extern int Price = 1; // 0=Low/High, 1=Close/Close dStochMainCurr =...
Hello, When opening up a new chart, it seems only a number of candles are being loadedfrom server. As you scroll on older values, new requests are being sent to theserver and new data comes in. For the user is not visible, but the question is:would it be possible from code to ask the server to...