MQL4 and MetaTrader 4 - page 921

To post a new topic, please log in or register
Hey guys, I had spend days to investigate this issue but I could not come with a solution so I post it here so we can discuss further the issue. Issue: Mt4 server uses the London time zone as they preference time therefore you can easily see that there are 6 daily candles in 1 week in the MT4 chart...
I intend to purchase a smartphone and want to run MT4 for smartphone edition, so that i can check on it anytime anywhere. can anyone advise me whether which OS is compatible? Iphone4 ? Android ? Window 7 mobile? Thank you.
hi, I am performing some hedging with my ea and it works great, somehow I want it to make profits more often so I want to add positions as the profits move up or down kinda like "double sided martingale". I wonder if someone is willing to help me with this easy thing I just don't know how to program...
Hello, Most examples I have seen, send an ordermodify, once the trailing stop is hit that is, with EVERY tick hereafter. Is this the right way to do it? It seems to require a lot of processing time and will generate warnings since the modify orders are coming in too fast for the server. Wouldn't...
Hi I need some help please. I have 3 monitors and I monitor 8 FX pairs. I was told to drag the bottom right hand corner of the MT4 window across 2 of my monitors which I did. I then fitted my 8 chart windows within the 2 monitors and all was fine until I maximised any of the charts. This single...
Hello I was wondering can the MACD and ATR in the custom indicators folder be modified to show the values of the last say 4 candles as well as the current candle? Thanks Antony
Hi!! Mt4 normally use with EA. For two days I have disabled the ability to launch purchase orders and sales and the EA has no ability to launch commands. The new order button is grayed out too. I turned off the EA and the problem continues. Anyone know how could I turn back orders?
During certain hours the other day the trade option with right click was not appearing on WTI then a few hours later it appeared again, so I was unable to make any trades. Can anyone please tell me why this option dissappears during certain times or conditions? How many ways can this option just...
Can someone tell me how to get a list of the chart objects, their location and parameters to a csv file.
Hi Can you recommend me a good broker with a good feed, London Time, for MT4? Thanks Ph
does time[0] reflect the actual time the first tick of a new bar arrived or does it reflect the time the new bars period is supposed to have begun ?
Hi, friendz I've finally succeeded in coding an EA that uses 3 indicators: Moving Average, MACD & ADX. U can use that EA with any combinations of the above 3 indicators. For more details, conatct me at ksrohit2712@gmail.com Regards, Rohit.
Hi all, I want to know if i can make my robot reset/restart itself after an unexpected crash or a freeze. For instance, my robot, in few occasions goes into timeout after an unresponsive server request and it stops trading. Other times, i get a "zero devide" fatal error when the marketInfo function...
I simply code an indicator as below. When it is embeded into MT4, sometimes the drawing line can be reflected in the screen sometimes is empty. It really makes me confused. Any wrong with my coding? Or 3 arrays slow down the caculating speed? Can someone kindly give me a hand? Thanks a lot......
Hello i dont know how to start but here goes. i need some form of EA or program to predict or calculate the next candle in 15min TF. i am not a programmer, i started forex about 6 months ago since then i have been learning to trade. there are alot of EA and systems out there that works for some and...
Hi, I am programming an indicator and using the function Period(). But it doesn't work really. On the Timeframe M1 the Period()-Functions gives 1 ...or...60 back. On the Timeframe M15 the Period()-Functions gives 15...or...60 back. On the Timeframe H1 the Period()-Functions gives 60 ...or.....
Hi, Has anybody also experienced this? MT4 seems more slow, sometimes stays stuck, or takes time to react when I click on the icons, esp. to change time frames M1 M5 etc Could that be a compatibility problem? Does anybody knows how to fix this? Or simply ro run MT under XP? Thanks for your...
Hi, I'm implementing a function which get the numbers of pips between two price levels. But depending of the digits of the broker I get differents values, for example Price1: 1,5510 Price2: 1,5500 Difference in 4 digit broker: 0,001, so 0,001/Point = 10 pips Difference in 5 digit broker: 0,001, so...
Hello, Just had a quick MQL4 question. How would one approach bar counting in MQL4, I know of the "bars" variable and iBar() . I would like to able to print how many bars above 10 SMA there were last year, I get the result of the backtest would be that value . ( Would you actually run that in the...
I just realized that in AUDNZD for exemple, several days or weeks were missing in historiacal data downloded, this in all brokers. Is there an EA that could check historical data and tells the missing days ?
hello every one.. i want to combine 2 indicator : accelator osilator and stoch.. so will be like this picture: after i combine so will be like this picture: i take the accelator and stoch from custom indicator, and combine it, but have wrong picture result.. this is the indicator after combined,...
show me the code please,thanks
Hello Folks, I'm trying to put some code together which will give me the total of open positions only of a certain type. Example Buy-Position - I need something like this: extern int MaximumAllowedBuyOrders = 1;bool PlaceOrderOK = false;if (TotalOrdersOfTypeBuy < MaximumAllowedBuyOrders)   {...
Hi, I wonder what you call it, ea or indicator or plug in etc. but I need this. - On a charti I should be able to click on a point ( price of course ). Let's call it point A. - That price should be put into my mathematical formulas to return to me a value 'B'. ( B will be a predicted price)...
some brokers require a minimum distance of where you can place your stop or take profit from quoted price. What is this knowen as in mq4? Incase anyone suggests that is ts the spread, its not the spread.. thanks
I would like to ask if someone would show me how to write the code to do the following (example): BUY 2 units of EUR/USD at 1.3000. IF then, set STOPLOSS at 1.2950 for both units. Next, set a LIMIT order to SELL 1 unit @ 1.3025. IF this price level is attained, THEN cancel existing 1.2950 StopLoss...
I get this error: There has been a critical error Time : 2010.12.07 08:04 Program : Client Terminal Version : 4.00 (build: 229, 16 Nov 2010) OS : Windows Vista Professional 6.0 Service Pack 2 (Build 6002) Processors : 2 x X86 (level 6) Memory : 1832392/378820 kb...
We would like to have a special programme which will reverse our loosing expert advisors. We do not give you our expert advisors. What we are looking for a programme that will be a bridge demo accounts and real accounts by executing orders reversely. Once again, Please do not want our expert...
Good day, My EA trades as soon as it is opened, changed, or in any way interfered with. How do I let it trade only when it should? Thank you in advance. James
I use custom RSI indicator (Meta RSI indicator) in chart . I don't want calculate RSI in my EA. I want use RSI indicator's result in my EA. Exp: if RSI indicator's result =< 30 -> EA will order How can I do it?