MQL4 and MetaTrader 4 - page 1666

Today, we have launched a beta version of the new function “Similar Topics” intended for quick search of similarmessages. This allows to find answers to frequently asked questions within a short time. Every message can be accompanied with a link to “similar messages”. If you click on that link, a...
  SWAPTYPE = 3  (1)
FXDD server MarketInfo(symbol,MODE_SWAPTYPE) returns 3. What is swaptype=3, it doesn't seem to be documented?
Yesterday, I start a EA with Demo Account, In EA, OrderSend with BuyStop and SellStop for pending orders, two OK, When one of this two pending Orders arrived Open, Ea will delete another. But No any order display at trade windows after one pending order arrived Open. I checked Account history...
Any possibility of adding 10 min bars to MetaTrader 4? Karan
Hi, I am demo trading a system that I believe will work as an EA, I just need someoneto make it for me.  If there is anyone out there who would have a go at makingit for me I would appreciate it.  many thanks, mark
I have been trying to find a way of having certain entry conditions happen in aspecific sequence. i.e have the ea enter long1 or short1 then look for long2 or short2 then look long3or short3 dependent on weather but all entries should star with condition1 either long or short. I have attached the...
Is there a way to make MT4 to use 8 hr charts? 8 hrs is a pretty standard period,I was actually quite surprised that MT4 didn't have it by default when I saw theplatform for the first time... If it is not possible at present - is MQ considering adding this period for thenext version? When is the...
hi Rosh, recently I asked someone to code another indicator for me, and I was thinkingof using it to make a trading system, however I noticed a minor problem with thisindicator, I was hoping if you can fix it. It's called the Trail Stop Level indicator,i found it helpful to keep you in the trend, it...
  2d surface?  (21   1 2 3)
I have a question. I wrote an EA, so I am testing its performance. I did a littletest with the "2d surface" feature. I've added a dummy variable thatdoesn't change the output in any way. When I select the dummy variable for X andsome other variable for Y every row should be the same color, because...
[Deleted]
I want the EA to wake up and react when the chart has moved to a new bar. No reason to run all of this code in circles for ever waiting for a bar close andthen run the logic to make EA type of decisions.
Hi, this is my first contribution to this forum. I back test this EA using pair G/U in TF 4H and the model is Control Points (baseon the nearest.....). The Result from 10.000 become 301.000. I Real test since 2 days ago, I think the back is different from real. my question is how to make this...
hello, I have a problem with order to open by the EMA_CROSS Script from Coders Guru. I often get the message: "Error opening SELL order error 130" of GetLastError()function back. I do not point why, here the code, some changes has I made in the code :...
Hi MetaTrader4 developers, There are several trading strategies that use 10 min bars (see the ones from the Trading Instutute as an example) Granted that you have 1, 5, 15,30 min bars but you do not have 10 minute bars. I am sure it would be a trivial change for you to support this. Can you modify
Hi, I found this EA on the Metaquote website. I backtested it with EURUSD data and it seams to make steady profit. I have, as an aditional test of the robustness of the EA, also tried to (over) optimise the EA by putting in an exel sheet, what should happen if the EA was optimised in one month and...
It seems like the pending orders does not always expire at the preset time in abacktest
I have an EA that enters trades based on the Bid / Ask and calculates TakeProfitrelative to fib levels. Sometimes the bid/ask is the same as the TakeProfit. Ina backtest MT4 accepts the trade. Shouldn't MT4 give an error in such a situation?
  Q about MQL 4  (11   1 2)
When using Point in a math function such as *Point or /Point what is being referenced by the use of Point? Thanks Greg
Hello, I am trying to write a indicator that shows the movement of the price in spreads(i.e 1 point of the histogram is one spread) . I have this problem. start() is not called upon scroll of the window. I do somethinglike this: double lowest=Close[iLowest(Symbol(),Period(),MODE_CLOSE...
[Deleted]
Hi, h-c is the bearish power c-l is the bullish power I would like an indicator that shows the moving averages of h-c and c-l....In the setting window we will choose the average that works best I use it in some softwares but I don't know meta lanuguage MANY THANKS IN ADVANCE
not the worst bug in the world but still a bug is a bug :) Consider a function like this, residing in the mq4 file of a library: #property library // #include <CommonLib.mqh> string PeriodToStr( int iPeriod ){ switch( iPeriod ) { case PERIOD_M1: return ("1 minute"); case...
  AlexmanConcursExpert  (12   1 2)
I wonder if anyone has tried this EA. I found it on the competition site. Most of the associated writing is in Russian or Chinese, so I'm having difficulty working out how to set it up. I have found out that it's for GBPUSD , H1, but there's a library file with it, that I don't know what to do with
Hey, a question for somebody from MetaQUotes Soft about the bug tracking web pageyou have: I have reported several bugs there but never gotten a reply, not even an auto reply.There is no bug number that is assigned to your bug report, you can't see yourreport later, so you can't really "track" the...
If you have make an OrderSelect call in a library you can not expect the orderto be useable when your program control returns back to you main expert file! Inmy case executing code like this: bool bHaveSellOrders = SelectFirstSellPosition( _MagicNumber ); while(bHaveSellOrders) {...
  multi order ea.  (2)
need some help . i have an ea that need to send orders will some of them still open.on a backtesting with open it run very good, but when i run it with tick or inreal time after the first order the next on is all the max ordered allowd. whatneed to be done in order that each time only one order will...
Loading inputs from a saved .set file after recompilation does not work - it showsthe inputs as loaded but they are not! This is obvious by observing the work ofthe EA (my EA anyway - because I can see from the way it operates that it doesnot use the values from the load file) and can also be...
This code (which by the way resides in a library) //+------------------------------------------------------------------+// will return true when called within iSecondsAllowed seconds of the // beginning of the current candle. In cases when the first tick of the // new candle arrives later than...
Hi, when writing expert indicators, we call on the indicator RSI by "iRSI". However, if i have written a custom indicator "iFX" and i wish to callon this function in my expert indicator, how do i call it? Anyone can help me out with this? i hope i have explained my problem clear:) Thanks in...
How do you set an alert/playsound to go off when an indicator hits it's extremes? I've tried to insert: //---- PlaySound if(k<0.01) PlaySound("sample.wav"); if(k>99.99) PlaySound("sample.wav"); return(0); } at then end of my Stochastic .mq4 file but it does not seem to work
Hi All! I wrote an indicator for a 1 minute chart. It shows drawing arrows. The value ofthe arrows are -3 or 16 depend on my defined condition ( EMA(CCI(13),5) rise AND> 0 ) is false or true. The indicator works fine. I would like to receive datas (of LOA9 variable) from the above indicator for...
[Deleted]
Is it possible to create indicators and EAs that will only work for a given broker? In other words if you wanted to create a brokerage using the metatrader platform would you be able to develop your own signaling package and keep it proprietary