Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1204

To post a new topic, please log in or register
Hi all, As you can guess I am a newby on here and have a couple of questions. Am I right in thinking that my indicator works on bars: int counted_bars=IndicatorCounted(); //---- if (counted_bars < 0) return (-1); if (counted_bars > 0) counted_bars--; int limit = Bars-counted_bars; for...
//+------------------------------------------------------------------+//| Test.mq4 |//| Copyright © 2007, MetaQuotes Software Corp. |//| http://www.metaquotes.net...
how to difine the higher low, higher high, lower high and lower low ? please anyone expert know how to code a script to define the higher highhigher lowlower highlower lowplease guide me...thanks a lot. ~>_<~
Hello Everyone, I have been writing a EA. I believe I've gotten everything needed. However, I keepgetting a error code "Unbalanced Left Parenthesis." I can't find it.Maybe someone on here can find my error. //+------------------------------------------------------------------+//|...
hello, can someone please wright me a very simple EA that buys when there have been 3bulls in a row and when it buys it must set a stoploss of -10 pips and a take profitof 10 pips. i would apreciate it very much as i do not code mql4 and i have no idea where tostart. thanks very much.
Please, who knows, point me sites of professional EA programmers.
I am working on a rather large EA. The .ex4 is about 38K and it references 7 libraries(.mqh files). I have now lost the INPUTS tab when I attach the EA to a chart. TheCOMMONS tab appears but no INPUTS tab. Same problem when I look at the EA propertiesonce it is attached to a chart and the same is...
Anyone one how to convert HST file to FXT file ?
The development of MetaTrader 4 Mobile SE is at full speed. According to our lead developer, Denis Mezentsev, the mobileterminal is half ready. By the present moment, the following components have beenrealized: MarketWatch, trade history, alerts, mailing system, and news. Tradefunctionsand charts...
Hello Guys, i just found this Website today after i downloaded MetaTrader yesterday its bothgreat :) Im trying to code my first Expert, while i could find solutions for my real problemson this site and in the dictionary, im stuck now. What im trying to do sounds realy simple but eventually is...
Hi, I'm trying to write a .dll to use and I've hit a problem. I took the sample .dllprovided and added this function: MT4_EXPFUNC void __stdcall Hello() { System::Windows::Forms::MessageBox::Show("Hello from MT4!"); } I can get the .dll to compile just fine...I can even get MQL to find it,...
What does this message mean?
Hi I hope I can explain my question properly ... Most of the examples I see take no account of whether a price is the first priceof a new bar and seem to calculate all of the values for custom indicators on everynew tick. Is this necessary? I would have thought that you could calculate thevalues for...
Hi Is it possible to change the colour of a moving average line (red/blue) dependingon whether the current value is greater or less than the value on the previousbar ? If I can how do i manage the colour of the current bit of the line as thecurrent moving average value changes Thanks - any help is...
//-------This is part of the EA....for now just assume that Prior "if" Conditions has led to MyOrderType = 7.//-------"%$" labels the 261.8 Fib level with a price, rather then just 261.8. MAClose has already been calculated. if(MyOrderType == 7) { ObjectCreate("FibHigh", OBJ_FIBO, 0, 0,...
hello, i have a special problem with custom dlls when used within expert advisor. my dll provides a tray window and a logifle. it is used as brokerinterface, soit has to stay loaded until the user explicitly removes the expert advisor from chat. the tray window gets created on DLL_PROCESS_ATTACH...
Updated MetaTrader 4 build 204 has been released. What’s new: MQL4: Fixed operation of function WindowFirstVisibleBar() if it is called from functioninit() of a custom indicator.MQL4: Improved code optimization.Fixed displaying of the "Text" object after a time coordinate has beenmanually changed...
Re :Audio Alert on Macd Crossings Basically what i needed is a audio alert output whereby a sell or buy signal triggersin the Macd .The codes that i have devised is not really making any sound uponMACD crossings ..Please advise me further as to how i can achieve my goal here.Is there anything else...
Hi A question from a newbie! Can an EA also plot and indicator ... e.g. if I have a trading EA based on a simpleMA cross over can it plot the two moving averages as well as trade from them ? Thanks again Paul  
I can't seem to get the chart comments to respond to what the pending orders lotsizes are. Any idea what I could be doing wrong? Thanks for the help. Here is my code: double pendLotshort,pendLotlong; pendLotshort =0; pendLotlong =0; for(i = totalorders-1;i>= 0;i--) { OrderSelect(i...
Hi A real dumb question = how do I convert an integer to a string - the is a DoubleToStr function but no IntToStr Thanks Paul
I've made a simple EA which works just fine when using it on a single pair and I'vebeen trying to figure out how to make it work with several pairs at the same time.I just can't get it right :) How do I make it keep track of which pair it is attached to and do multiple pairssimultaneously? Thanks,...
I have a number of signal processing algoritms I would like to implement in MQL4,but because they are computationally heavy I would like to be able to do partsin DLL's, especially matrix operations (like inversion -especially something likethe Boost libraries) and FFT's - using something like the...
I want to make the EA open a new position every round of 50 pips for example, anyoneknows such EA
I have an IBFX demo acc and have been unable to adjust to Optimization values mainlythe max drawdown, the default is 70 I would like to change it to 30 but it revertsback to 70 when I press OK. I have tried all the usual fixes uninstall reinstall etc etc. Has anyone else had this problem? How do...
thank you //+------------------------------------------------------------------+//| ADX.mq4 |//| Copyright © 2005, MetaQuotes Software Corp. |//| http://www.metaquotes.net/...
i upgraded to version 4 build 201 after been using build 200. but now i cannot backtest my strategy using my own fxt files; generated with thesimple_csv2fxt script on this site. can someone provide me with either a fix to the script or a download of build 200,please ?
1...119711981199120012011202120312041205120612071208120912101211...1245