Download MetaTrader 5

MQL4 and MetaTrader 4 - page 913

To post a new topic, please log in or register
Hello all! this is my first post in this forum : ) I need a simple alarm script for metatrader4 that accept two parameters (period and pips) and alert me with a sound when the number of pips I've set is reached in the period specified (in minutes) I've searched on google for all day but I've found...
Has anyone seen this type of indicator posted? I have changed the the MovingBuffer[i]=iMA(NULL,15,BandsPeriod,BandsShift,MODE_SMA,PRICE_CLOSE,i); to be based off the 15 min chart and the MA is fine, but I can't seem to get the indicator to work for the seperate time frame overall. I can get...
not have much experience in analyzing graphs, please let me indicate that EA has an excellent profit. thanks
hello I want to write an EA for the indicator i attached and I've already tried it(second attachment). I just don't know why the EA doesn't go in the loop where the OrderSend-function is, but why it does in the indicator. Is there anybody who can help me? Thank you... Maier
Pls i need help on how to open Mq4 files that i downloaded from Code Base section. I already searched and dint see any clue. Also will appreciate if i can get where to see simple codes(not asking for ur money making script. And if u are willing to give that i will be ready to receive :) ) that i...
Would anyone be able to tell me if it is possible to code the display of any Object such that its 'handles' are on display, (i.e. it can be moved without double clicking? It can be a problem trying to do this if there are other objects in the vicinity or if you cannot find the correct spot. I would...
Infos zu MetaTrader in Deutsch findet man auf folgenden Seiten www.meta-trader.de www.forex-innovation.com und auf Englisch www.meta-trader.co.uk www.metatrader-robots.com http://www.metatrader-forexsystems.com/
Hello . It may be so easy . But I would like to ask a question . I would like to draw a chart data quoted on MT4 on an another chart of the same MT4 like drawing an indicater . Each of the price is quoted on the same MT4 and similar because they are the price of a stock index and Index Futures...
Dear all Guru, I would like to analyze historical MT4 data (that we download from provider, example alpari) using some statistic toll (SPSS, MS Excel, etc) that I read from MySQL (or any database system). I wonder if you have any experience to transfer data from MT4 historical data to MySQL...
I using hotkey to excuted order, but there are times when the order didn't excuted at all despite pressing the hotkey. I have to when back to check back the expert tab to see any error or if i didn't press the key properly. Hence I thinking of getting a sound played when the order excuted. I tried...
That's it I am dumb.¨ I still can figure out how to write in MQL5 if High[1]>Low[1] Ok there is a "porting table", but I want to write that in MQL5 language without using some retrocompatilibty workaround. Read a bit on the subject, unfortunately still cant figure out how to write this simple piece...
Can someone please post a snippet of code for detecting a new bar in MQL 5. I kinda remember how to do it in MQL4 but I was hoping that it would be different/easier in MQL 5. I was hoping that they would FINALLY make this an event procedure, but that doesn't seem to be the case. TIA!
Someome has the code or file to this indicators? Thanks Marcio Santos
  Bollinger Band Breakout (28   1 2 3)
Here is a technique I have been working on. The technique is based on the Bollinger Bandwidth Indicator. When this indicator crosses a set threshold I enter the trade. The rules are on the attached chart. The bandwidth threshold will be different for every currency pair and time frame. You want to...
  Help a newbie (5)
what language is MQl4 programed in? is is C++? I want to lean how to program in it and i'm looking for books on it.
Hello everyone, Is there a way to assign a hotkey in MT4 to bring up trendlines for example? Thanks for any reply, Pete
I'm trading live, though just for pennies, as I'm still testing. As this is still a test, at times I need to go back to the code and make minor adjustments to the EA that is currently running. My question then is if these changes will apply to the currently running EA, or if I need to close that EA,...
i need a script that executes on the chart to make a pending order with the price = SMA or SMA-10 pips or whatever i got the code and modified it a bit and it stoped working please tell me whats wrong int start() { int ticket,expiration; double point; double MA //----...
  5 digit (2)
If I am running an EA on a 4 digit account but am switching to a 5 digit broker....what code needs to be added or changed to get my favorite EA to work? Thanks!! Mike
Hi All, I've tried to run a simple expert: int init() { return (0); } int deinit() { return (0); } int init() { Print("start"); return (0); } I tested it with "every tick" and "open prices", for various time ranges - 1year, 10years, 3years etc. I set Period=15M. Now when I'm looking at the journal,...
My mt4 broker uses 6 quotes example 1.36444 Im trying to use a Average Daily Range EA but Its not working because of the 6 quotes im guessing. Can somebody please change it for me??
Hi, Is there any reliable source to download history data? I'm looking for a source that have data for years back, all timeframes, and at least most of the major pairs. Appreciate your help, Mike
  EA on this indicator (13   1 2)
HI, I would build an EA on this indicator, trade rules: BUY on green bar of the indicator SELL in red bar of the indicator EXIT in stop loss or in opposite signal (exit buy on red bar with simoultaneously open sell, and viceversa) EXIT even in...
I see that iClose and other i-functions may not synchronize with the base chart if the base chart is not of the same pair as the i-function. As an example, see the chart of AUD/USD M1 below with a simple indicator derived from iClose("EURUSD",1,i) . It appears that the EURUSD break down occurs at 23...
I want to know current window parameters, such as heigth and width to align labels in the chart. How can I do this?
My EA have excellent for back test from 2000 - 2009, event 2 first month of 2010. But it does not act well in a live account. I run EA for Demo and Live Account at same time on 2 different computers. It made quite different result. Demo account made profit while live account made loss. It's...
Hi! A very good description and video for how to write a dll for metatrader is described here: http://www.mistigrifx.com/tools/writing-basic-mt4-dll Still my question is how can we exchange data from the dll to metatrader. If for example a function in the dll should return several values, how is...
Hi, I am new to MT4. Can we use zigzag to RSI indicator to identify the peak and trough? I really need some help on this. Please help.
Can anyone advice me if I did the wrong for the following alert? I want it to play the sound i created name 1minsell, but i can't get the program to play the sound I want. I have copy the '1minsell' wav file to the sound folder? where did i miss out? Thanks if (Alerts) Alert("[" + Symbol()...
Hi, my husband and I are using Forex.com as a broker and on the 2 platforms we use for 2 separate accounts on different computers the same EMA-s are at significantly different price levels. Any idea why this could happen? It is very confusing when we try to compare notes... I can understand that...