Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1222

To post a new topic, please log in or register
Is it possible to display a 15M Stochastic in a 1Hr Chart? This would be reallyhelpful and allow me to not have to switch back-and-forth between 2 charts. Also, I would like to do the same thing with the Williams % indicator - show a15M Williams in a 1Hr chart. Any help that anyone can offer would...
Simone Ambrogio
Hi, I'm quite a newby, so I was wondering if there's a best practise to augment historyin data centre. Could someone post me a link to Alpari History Database if it isneeded? Thank you, SA
I've heard that we can't close our trade's volume partially using an EA, is it true? For example, we enters the market with 2 lots, after certain price we want to closeit partially (1 lot), and left the rest 1 lot in the market. I know we can do itmanually, but is it possible to do that using an EA...
I would like to - but know not how to draw short lines, i.e triangles, flags, pennants,etc on an MQL4 chart. Could a benevolent and knowledgeable person please assist ? Thanks from Down Under Herschy
Hi, I read the articles related to ZigZag, and traded it, still i have problemswith creating an expert from it. If someone with better knowledge could help, I would be grateful. Below I attached a sample free-to-modify ZZ ea.
i wrote one expert advisor. can anyone tell me how to make that i don't need to go directly into expert advisorto change conditions or values. i would like to make some pop up window where i will put mu values so i don't touchmy expert advisor live. it is something like mt4 has when i want to set...
Hello. I am trying to create a script/program that I can run on my MetaTrader program.However I know very little on what to do. I want help setting up a trading systemthat I developed. Can anyone help? I will be happy to explain to anyone. Thanks.....
IS IT POSSIBLE THAT EXPERT ADVISOR CAN CALL SOME OTHER PROGRAM WHERE I CAN PUT SOME DATAS AND THEN EXPERT ADVISOR IS USING THAT DATAS FOR HISWORK. I MEAN WHEN I START MY EXPERT ADVISOR CAN HE CALL SOME EXE FILE AND WORK WITH IT. THANKS
Is it possible to use an EA to disable trading in MT terminal? Let's say you have 2 MT terminals, in 2 locations. 2 traders login from 2 locations.Location A has an EA running that disables trading from location 2, manual or EA. Possible? If so, how? Joe Gelet Elite E Services www.eesfx.com
Hi, is there a way to specify in EA that a certain action (open order, close order)is performed provided some conditions are fulfilled but ONLY after the candlestickof the given time frame closes? I am working with Heikin Ashi candlesticks and want to enter the market upon acertain color of it....
  Matlab.Data (1)
Hello, Is it possible to get historical data of EUR/USD into Matlab from MetaTrader? If I took daily data from MetaTrader for EUR/USD from 01/01/2007 to 20/01/2008is it possible from Matlab to update my data to today's date? Thanks, Miguel
Hi, is there anyone who has an indicator that shows Actual closing price in Histogram?It shows bull and bear respectively with designated Colors. It is much like this one but this indicator only shows closing price generallyin one color and does not indicate if the last bar was from a bear or a...
my EA just stops working for no apparent reason. has anyone else had a similar problem? here is the code if you can help:
Hi, In "Displaying a News Calendar" code (Author: Slobodov Gleb), I have asuggestion. Add new lines (highlighted with "<<---- new line" below) in GrabNews() function, and news calendar display only that currency. Example: If EURUSD, display only news about EUR or USD. void GrabNews() { int file =...
small problem but can someone please help me!!! just trying to draw a line on the last hour. So if it's say 22:45 it draws a vertical ine at 22:00 ObjectCreate(OH, OBJ_VLINE, 0, D'2008.01.24 22', open_price); works fine, but i need it to be dynamic so its like Date() + TimeHour(TimeCurrent()) or...
hi... A question regarding histograms......first what I did was to use a standard indicatorthat pretty much only counts bars,,like example the momentum indicator, and I justchanged the calculation at the end to display what I needed....all I was doingwas showing a histogram of the Close - Open.....
Could someone please help me with some language to make my Expert Advisor tradea percentage of my balance? For example, I would like each trade, instead of beingx number of lots, to be 10% of my current balance. Does anyone know how to do this?The more explicit the details the more helpful it would...
Is there any way to code the acceptance of a broker requote in MQL4? I see themin the journal but see no function that uses requotes as an argument and brokersonly allow a couple of seconds to accept/reject them manually. This would be avery useful feature in an expert I'm writing. Thanks.
Simone Ambrogio
int start(){ int counted_bars = IndicatorCounted(), limit, k, kperiods=100; if(Bars < kperiods) return(0); if(counted_bars<0) return(-1); if(counted_bars>0) counted_bars--; limit = Bars - counted_bars - 1; for(int i=0; i<limit; i++) { k=1; if(iCustom(NULL, 0, "ZigZag", 12...
On the website of the Automated Trading Championship 2007, the article Winners of Automated Trading Championship 2007 has been published. The Winners got their prizes and awards and shared their thoughtsand impressions of the Championship with us. The full text of the article was published on the...
I need my SL derived from High/Low of Bar [2] but cant seem to use High / Low toset SL. For example: double stopLoss, takeProfit; stopLoss = (High[2]-Low[2])*2; if(BuyPrimCheck1() && BuyPrimCheck2() && BuyWickCheck() && BuyDisplace() == true){ ticket=OrderSend(Symbol(),OP_BUY,10,Ask,3...
Hello I am looking for information on API interfaces, there are some examples?
Was wondering if anybody could help me, when I try and run the strategy tester thescreen just says "Waiting for update" and never works? This works onmy pc but not on my laptop, any ideas anyone? Thanks
hi all my name is paul. I have been trading a mini account with FXCM for about 6months and came across mql4. I really like power of the system modeling and backtestingcapabilties. My understanding is FXCM is scheduled to have mgl4 soon. I am particularlyinterested in 4h and 1d trading. I have many...
My Matlab function has a matrix output. If I call it from my EA, how do I deal withit ? If MQL4 can not handle it, how shall I get around it? Pls help me. Thanks
  Chart help (2)
Hi all i am new to meta trader. I was wondering if someone could help me with aproblem i have. In the charts i have two ema's but when a candle appears the ema'sare hidden behind them. Is there a way to show the ema line in front of the candlesall the time? Thank you in advance and good luck success...
  tool bars (1)
How do I keep from having to reset my tool bar every time I log on?
I'm a beginner, tried many sample expert advisor scripts but all my scripts arestuck in init() not calling start() at all. So I tried a easy stuff to troubleshoot:int init() {//---- Comment("inside the init");//---- return(0); }int deinit() {//---- Comment("inside the deinit");//----...
Hi Other than writing to a text file format, does MQL4 support INI file writing format.If not, does anyone knows how to do it, may be calling dll file function from theEA, how to import a dll? any known good dll file can support INI file read /writefunctions. Many thanks Tom
Hi guys, The problem looks something like this: You have two simple indicators, for ex. two moving averages, and one EA attachedto the same chart. It's a very simple EMA cross EA, with some experimental codeimported from external DLL that makes it change it's EMA indicator parameter...