Download MetaTrader 5

MQL4 and MetaTrader 4 - page 756

To post a new topic, please log in or register
New article William Blau's Indicators and Trading Systems in MQL5. Part 1: Indicators is published: The article presents the indicators, described in the book by William Blau "Momentum, Direction, and Divergence". William Blau's approach allows us to promptly and accurately approximate the...
New article Enhancing the Quality of the Code with the Help of Unit Test is pulished: Even simple programs may often have errors that seem to be unbelievable. "How could I create that?" is our first thought when such an error is revealed. "How can I avoid that?" is the second question which comes...
I am charting the difference of two arrays of two currencies. One is of the high of one currency and the other is for the low of another currency. for example I have : ExtMapBuffer1[i]=High[i]-Low[i]; What is the best way to directly state, I want to use an array of the High [i] for the EUR_USD and...
When I run the code below tick value starts from an irrelevant value at everyrun such as 40064 in first run 23360 in the second run and goes on. I expect 0 1 2 3 ..... what am I missing?? //--------------------------------------------------------------------// simple.mq4// To be used as an example...
i want to run MT4 at freeBSD(UNIX), how to ? thanks
I am a programmer but newbie in mql4 programming. I am trying to create a EA (auto trader) regarding an indicator. I attached the indicator. This indicator gives good trend signals. Now wanna make a auto trader regarding the trend signals. Algorithm:...
I'm new to MT4. I think I just noticed something wrong with my Period_H4 chart. It has bars for 7/29 16:00, 7/31 17:00, 7/31 21:00, & 8/1 00:00. I understand why the 7/29 16:00 bar only covers 1 hour and it skips to 7/31 17:00, but why does the 7/31 21:00 bar only cover 3 hours? Do I have a bad...
I new to MT4. I think I remember reading somewhere in the dictionary a way to determine if the tick that's being processed is the 1st tick of a new bar, but I can't find it now. Can anyone help?
Hello Dear Friends, I need help with the code below. I have included "if(Bars>BarsCounted)......BarsCounted=Bars" condition to trade only at the close of bars, this is OK, however the piece of code commented as Breakeven (blue part) also works at the close of bars, even though I have written it...
  Indicators for EA (12   1 2)
Hi, claimed to know a list of indicators that serve to make a compatibility in EA? Please can someone help to know which indicators work well in EA? Thank you very much.
Can someboby tell me if and how I may install any MetaTrader version on my smartphone with Windows Mobile 6.1 ?
New article The Player of Trading Based on Deal History is published at mql5.com: The player of trading. Only four words, no explanation is needed. Thoughts about a small box with buttons come to your mind. Press one button - it plays, move the lever - the playback speed changes. In reality, it is...
  Move bars above Volume (17   1 2)
I'm new to MT4. I have a custom indicator that draws a line below the bars on my chart. Sometimes it's difficult to see it because it overlaps the volume bars. Is there some way to have the indicator make sure that it is above the volume bars? Ideally, I would not want to have it use the "scale...
I am trying to chart the moving average of a variable I have called "eqb" Can I use the iMA to say: double eqb; ExtMapBuffer1[i]=iMA(NULL,0,35,0,MODE_SMMA,eqb,i); What is the best way to do this without manually computing this?
How to get serial number of the Windows where the Mata Trader 4 is installed on - using the MQL4 syntax? Is it possible? If yes, then HOW TO?
For some reason NO EA'S will make any trades on any of my 3 computers. I have Windows XP and older computers which shouldn't make any difference. Most EA's if relatively reasonable length code always worked before. I couldn't even get the MACD Sample code to work or make trades. This one Did do...
hey can any one make this, i want zigzag to return a constant value either 1 or -1 if the last zigzag is at high the return value is always -1 if the last zigzag is at low the return value is always 1 so the return value always -1 if the last zigzag is at high the return value is -1 until a new...
I have noticed this a few times. Some of the EA's I have been working up open positions at prices that are not within a candle. I have checked my History data and it is the same as that shown in the bars. Also, the output of indicators (eg. Stochastic) is correct, so the indicators are using the...
APeng
Hi! I calculate Momentum with Momentum[i] = iMomentum(NULL,0,14,PRICE_CLOSE,i); for different bars and export it to excel. In excel the number is written as a string like that: 100 1.000.25 999.964 999.856 1.000.036 I need it in this way: 100.0000 100.2520 99.9964 99.9856 100.0036 Has...
i wanna use Moving Avarage with apply to : "Use first indicator data" in seprate windows (attach another indicator ) for my expert but I Don't Know How to use it . Plz, F1 me .
Coded another martingale, this Ea has 2 strategies first is called momentum deviation, which is basically an envelope breakout using T3 VHF as a filter. Second is using a VQ Smoothed with jurik, the signals are different from the public version, the Ea should only take trades for instance, a buy if...
Outstanding trading app needs a programmer I am looking for a serious programmer who is willing to work with me on a 5 year endeavor. The program deals specifically with finding market structure through methods of comparative wave analysis (CWA). The system does not utilize traditional indicators...
can i have quicker bacttest speed when using VMware to run metarader 4 in linux? can you tell me the step of setting up? i am the first time to do such things THANKS
I have been working on an EA for a while, but I can't seem to figure out how to integrate an indicator into an EA. I even created an EA with EA Builder to see how they would integrate, but I still don't understand. For example, I used BB as the indicator and in the EA it references: iBands(NULL,...
double tak=0; tak=CurrentBasket/Ilo; int Spread = (Ask - Bid) / Point + 0.1; if(tak>=60){TrailingStop = 20;} if (OpenPos==1) { if(tak<=-50){Print(tak); static int statik=1;} if (statik==1){if(tak >-30)CloseEverything();statik =0;} } 2011.07.30 23:09:47 2011.05.03 06:01 bulduk11 EURUSD,M5: Order 0...
Sorry for the beginner question, but I'm programming my first EA :) Is there a way to calculate indicator values after every tick? For example, a new tick comes in and my EA immediately calls iCustom (which uses the sample Moving Average indicator) to calculate the new average.
Hi, I have gotten an indicator as *.ex4 with 6 Buffer. When I put this indicator I see the marker of the buy and the sell signal. I also can change the colour from them. But when I read the values from these buffers with my ea, I can only read "EMTPY_VALUE" everytime. How could this be? The...
Hello everybody, I have been working in this area for past few months and relatively new to this FOREX area. I see very wonderful topics in this forum and very exciting ideas. I have been working on my EA on which I posted some back testing results sometime back. I had problems with it regarding...
Hello, Using the MT4 Manager, I am able to add enter Chinese characters and send the news appropriately as shown below. And in the MT4 Manager "News" tab, the following will be displayed. In my DLL code, I have managed to save the information from an external source to a text file in UTF-8. However...
I am about to setup an account and wanted to find out if GO Markets accept Asian clients.