Download MetaTrader 5

MQL4 and MetaTrader 4 - page 840

To post a new topic, please log in or register
Hi, Anyone got the link or know where is the 'official' definition of the minimum and maximum values for the magic number? I am looking for the 'official' definition.
The Bollinger Bands shown in the 1st indicator window, uses the Stochastic Oscillator (28,3,5) [levels from 0 - 100] How do I read this figure between 0 - 100 using the iBand() function? double BandTop1=iBands(NULL,0,26,1,0,PRICE_CLOSE,MODE_UPPER,1); BandTop1 between 0-100 The question is further...
Hi, I'm new to MT4 and still trying to figure it out. In particular I'm wondering if it's possible at all for it to make a noise when a stop loss, take profit etc is hit and the trade executes, as I'm not really keen on staring at the screen until it hits one of the limits.
Hi, Is it possible to create a pending order that gets converted to a market order only after a pre-existing open order has been closed? That is, I want to create pending orders when my criteria is satisfied, but I only want them converted to market orders after a pre-existing market order has...
Hi Guys, am new here and also to MT4 programming, i have the following idea but need assistance to program it, it's basically a Price Action setup, no inidicators required: - Run a program at a set time ie: click on the program manually to start it whatever time i want - speficy it to follow a...
Hey guys, I'm stuck at a computer all day and I don't have MT4 here but I want to look at the .csv file for EURUSD 1Hr, could someone kindly export it and upload it here for me? Thanks a gizzillion.....
How can I change the value shown on the "vertical scale" in editor from showing for example 1.52253 to 1.5225? Any help would be greatly appreciated.
New article Designing and implementing new GUI widgets based on CChartObject class is published at mql5.com: After I wrote a previous article on semi-automatic Expert Advisor with GUI interface it turned out that it would be desirable to enhance interface with some new functionalities for more...
Hello, I'm new with MT4... I used another platform that is dismissed now..and want to make the switch to MT4... Is BreakEven Stop available in MT4?? To explain it I will try to explain 3 examples.. Initial StopLoss===> always fixed Trailing Stop===> ''follows'' the profit at set-up distance...
I amlooking for trader, who speaks English very well and wants to realize ideas.
  Trailing SL??? (10)
Hello, The following EA based on Moving Average works perfectly on EUR/USD H4 200-6, EUR/USD and AUD/USD H4 200-6. I'm pretty sure that replacing the normal SL by trailing SL would make this EA more reliable especially on EUR/USD H4 20-6 and EUR/USD H1 20-6. Could somebody tell me how to rewrite...
Hello, I've stumbled across the problem that othares had before, but aparently none of the previously identified problems seem to be the cause... The problem is that I made a custom indicator and it works fine. Calling it from a self-made EA however via iCustom makes it always return the number...
hi all, please i need information on a reliable and cheap vps providing company, any help will be appreciated.thanks.
Hi All, Does anyone know how I could find where this error is in my EA? Does it represent a bug possibility in my EA? What do this mean really? thanks for your help! R
Can someone please tell me how to save Orders created by an EA to the Registry?
Hello, I downloaded a free version of EA Scalpel. I backtested it and i was pleased with the results. It's been activated for about a week now but has not traded yet. Can anyone detect why it is not trading? (i'm not familiar with MT4 coding). Many thanks!
hello everyone... i want the ea open next position using more lot that previous position when first position get stoplose.. example: if first buy position using 0.1 lot and get stoplose, then next position meet condition, so open position (buy or sell) using more lot like 0.3 lot.. is it difficult?...
//+------------------------------------------------------------------+//|                                       Custom 3Moving Average.mq4 |//|                                                      Open Source |//|                                              http://www.mql5.it/...
I wrote my script based on EUR-USD behaviour. Based on that pair, I decided how and where to snap the SL to the openPrice and when to advance it. Now, when dealing with other pairs, it seem that the price of other pairs tend to behave alittle differently, sort of restlessness. They tend to jump...
Hi Geeks, I am very new to this field and want to automate my trading. I want to place my order on the closing (and ofcourse opening of new candle) of day long Candle stick. The Start() event get called on every tick. Is there any way so that I choose only that tick which comes at the time of...
Hello, does anybody know how to set up a spreadchart of two symbols in MT4? So I mean to create a graph of the difference between these two. Thanks, 2222
When the stoplevel is 50 loets say, what does it measn? Example: Market Price 1.3050 Stoplevel 50 Stoploss 1.3060 is it acceptable? Manually it seems ok in expert returns ERROR 130 Any suggestions
what is the function ? I don't know what it is to do ~~ for(int i=0;i<OrdersTotal();i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES);if(OrderSymbol()==Symbol() && OrderComment()==Name_Expert) { int type=OrderType();switch(type){case OP_BUY:sB=1;T++;LastB=OrderOpenPrice();break;case OP_SELL...
I always had a question about Candlesticks and since I got answers in this forum, I am going to ask it here: I understand that ALWAYS the close of a candle should be the open of the follower. But this NOT ALWAYS seems to be in the graphics. See the graphics I have: Look in the RED RECTANGLES. Is...
im trying to do something if the order lost, i tryied to use orderprofit but it always give me the same number (lose/win) really wierd someone have any idea   if (Order== SIGNAL_TRBUY)  {      if(OrderSelect(ticketb, SELECT_BY_POS, MODE_HISTORY)==true)       {        money= OrderProfit();...
I want to read the crosshair position from the graph. Is there such function exist ?Maybe it has a distinct (special) name that can be read with 'ObjectGet()' ?! James
I have an indicator which usually works well. When i run an EA and loaded my indicator to the chart in the meantime,but the indicator did not work. Is there any advice? data mismatch ?
Hi, I have the following code below - it seems to work fine running live (don't worry, it's a non-profitable strategy) where the stop loss and profit targets are hit, but when I run it in Tester, it does not trigger then and instead just closes the position(s) on the very last data set. Do I need...
Hello Folks, Just one fast question - I couldn't find the answer here. I wonder if it's too stupid... If I write an EA and want to use it on different currencies at the same time in the same terminal - Do I have to pay attention to something specific or does this always work without complications?...
Is it possible to run 2 or more sessions of MT4 (with different EA's) on the same account at the same time?