Download MetaTrader 5

MQL4 and MetaTrader 4 - page 827

To post a new topic, please log in or register
  RSI code help (1)
what am i doing wrong here? why do i keep getting an error 130? am using fxpro and understand they use 5 decimal pip system... is there something else am not seeing? the code if for a simple RSI expert advisor... if the RSI is over 70 then a sell position is opened with a certain SL and a TP and...
Hi, I would like to using EA to check deposit/withdrawal information of the account, like the date time, amount of the deposit/withdrawal. There's no way in the forum or documentation stated that it is able to do that. Please help. Thanks, regards, Yaohan
Hello Every one, Now a days I am undergoing trading course presented by Bill Paulos' forex profit accelerator. I wonder if some one has tried to create a program to create indicater or any robot based on his fundamentals? Thanks, Kailash Bisht
  Indicator buffers and shift (26   1 2 3)
if an indicator has these lines      Buf_4[i]=iMA(NULL,0,3,0,MODE_LWMA,PRICE_HIGH,i+1);     Buf_5[i]=iMA(NULL,0,3,0,MODE_LWMA,PRICE_LOW,i+1); Should the value Buf_4[0] be the current value of the line ? or would i have to use Buf_4[1] to get the current value ? The reason i ask is i have been...
  MODE_TICKVALUE error! (34   1 2 3 4)
Hi, If the deposit currency is other than USD, The marketinfo MODE_TICKVALUE is not giving de value in deposit currency for metals, indices and cfd. Working for forex only. Please correct this! If one can't change the MODE_TICKVALUE for inherit reasons, just create a "MODE_TICKVAL" for example....
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();...