Download MetaTrader 5

MQL4 and MetaTrader 4 - page 855

To post a new topic, please log in or register
will custom indicators that work in MetaTrader 4 also work in MetaTrader 5? or will they need to be converted?
Hi, I wanted to use an input box with my script, but because windows api doesn't have this function nor MQL, a DLL is needed for this. I found one on the forum, so I downloaded it and put it on MetaTrader 4\experts\scripts folder (also tried experts and metatrader folder). I wrote this on the script...
Hello, I have one line i my EA that looks like this: if (Close[1] < Close[5]) then something I want to add 50pips to Close[5] so i did this: extern int AddPips = 50; if (Close[1] < Close[5] + AddPips), but it doesn't work. What am i doin wrong ? Thanks for your reply in advance.
Hi, Newbie question here. I'm trying to code an EA so that it opens a BUY trade when ma1 reverse direction, ma2 moving up and rsi moving up. The code I came up with is: ma1[2]>ma1[1]<ma[0] && ma2[1]<ma2[0] && rsi[1]<rsi[0] Would the code be correct? Thanks!
If I wanted to combine 4 different indicators into one & have a buy/sell alert appear when all 4 meet the right criteria, would it be possible to do this in MQL4?
Hi, I have a custom indicator called the Hodrick-Prescott filter, but it's not a "normal" one: normally this filter recalculates the past, but this one, if you do a visual-mode backtest with an empty EA, and you put it on the chart, it shows you what it would look like in a "dynamic environment"...
  Dual Monitor (1)
Hi, I am adding a 2nd monitor to my forex setup, I understand I will need a new graphic's card, the one I have will not do the job. (1) Can any of you guys point me to a good Graphic's Card that will run 2 monitors, (2) Can I also ask, when the dual monitor setup is up and running, will my mouse be...
Hello there, I would like to write an EA or indicator that detects when the market is over lapping (see attachment) between the bid and ask levels. It must over lap at least 3 times before the alert is given, does anyone have any ideas on how to do this ? It must not give any alert when they do not...
Hi all, Does anyone is familiar with a meta trader app for android? I'm using a Google Nexus One, it runs Android v2.1. It seems like metatraderandroid.com is not working anymore.
New article Creating Multi-Colored Indicators in MQL5 is published at mql5.com: In this article, we will consider how to create multi-colored indicators or convert the existing ones to multi-color. MQL5 allows to represent the information in the convenient form. Now it isn't necessary to look at the...
I am simply wanting a way to close out all my trades regardless of currency pair, long or short @ the same time. I am very new to this..any help would be appreciated.
i see green doted and continuous bias and key level lines in my M1 another time frame charts. i notice that marker reverse when reaching these lines. so i think a Expert Advisor can automatically open trades on these levels. so can somebody give me code that calculates all bias and key...
B"H Hello, Using the strategy tester, positions of a volume larger than 100[Lots] are not allowed. How can I change this limitation to a higher number? Thanks.
Hi guys, I'm having some trouble in my EA and so I need to debug it. It's a pain in the ass to use Print through the whole program, and I need it to be executed step by step to know what's going on. So my idea was to switch everything into a C code and debug it with GDB. To be able to do that I need...
hi i has indicator D-Wave indicator TD_DuWaveUp.mq4 use in Up trend only,,,, i need for use at Down trend too. if your has it can share for me pls. Nickii
I am working on creating the D-Wave indicator (basically a mechanized elliot wave). I am running into an issue where the indicator will start drawing the lines correctly but then will skip a few waves. For example in the picture below my indicator is drawing waves 1-4 but then skips wave 5 and...
why my EA does not open orders? someone help please!! //+------------------------------------------------------------------+//|                                                        SHAUL.mq4...
I have noticed if the price moves up/down fast trailing stop will not work once the price reaches a broker's stop level. For example, Stop level =20, Opening price=1.30000, Trade Type=buy. As per trailing rule if the BID price reaches 1.30020, trailing stop must trigger and 1.30000 be placed as your...
Im trying to back testing my EA and I get this error in the journal 2010.07.30 13:55:48 TestGenerator: unmatched data error (high value 1.2801 at 2010.05.11 00:00 is not reached from the least timeframe, high price 1.2792 mismatches) 2010.07.30 13:55:45 TestGenerator: unmatched data error (volume...
  debugger (2)
Hi, Is there debugger for MQL4 ? Thanks,
Hi, I'm simply trying to create a custom indicator that produces the simple quotient of (current bid / current triple exponential moving average figure). Any help on making this functional would be most appreciated. Thanks for your time......
i would like to have the signal alert & take profit levels of this indicator displayed in the upper right corner of the creen, but it could probably only be done if the Comment is replaced with an object. i haven't had any luck on my own, hoping for some help here, as I am an MQL4 NOOB. Thanks,...
MetaTrader Info für Deutsche Interessenten Bei der Handelsplattform MetaTrader handelt es sich um eine der weltweit besten Forex Trading Plattform, die man zum Handeln von Währungen, Aktien, Rohstoffen und Optionen benutzen kann. Mit der Handelssoftware MetaTrader, die auf der Seite www...
Hi, Here is my cycle to check the last closed order, to decide how many lots the next order will open. It works fine, but I would like to introduce some break time, e.g. 12h or 24h, if the last order were a loser one. I just can´t figure out how can I do that. I already tryed in so many ways, but...
i am writting a EA on the mt4 of MBT but there is a problem in backwards testing that is the spread on mt4 of MBT is too large!!!!!! here is the details demo account on mt4 of MBT build a test EA to find out spread //+------------------------------------------------------------------+ //| EATemplate...
Hey MQL Was a trader in 1993-1999, then quit to do Real Estate. That is over now, how SAD!. Im Trading Forex as all here are Trading, Im using no sorting software, watch list of any type. Please Help me solve this! Im a older Man, looking to share my very simple successful trading style with any one...
Hello,I have a quick question I was hoping someone could answer. I have a .csv file that I want to extract the information out of and store it in an array. The file is a 2 dimension array and I would like to store the information in a 2 dimension array in my EA. I read through the documantation and...
We used the same EA SET but the only different is that I have a DEMO account and my friend has a LIVE account. why is it showing us different results?
Hi, I need a little help here. I have this EA tied to a custom indicator. The indicator is a Fisher transform. In my code I have this logic: if(fish0> -0.2 && fish1 <=-0.2) New Buy Order/Close Sell Order else if(fish0<0.2 && fish1>=0.2) New Sell Order/Close Buy Order Here are the files and a screen...
Hi all; I use MetaTrader for just some few weeks. I trade on M1 and M5. My real trading indicator is Bbands. I want to use Bbands with EA but I don't know how is make... Please help me.....