MQL4 and MetaTrader 4 - page 80

10 days back i registered for metaquote VPS service . yesterday i saw vps icon is disappreared from navigator window. then i loged on here on mql5 profile and i am not seeing vps server details here and my signal services. however my EA on VPS is runing properly but i want to sync my new parameters
The question is same as the title... Had to have my SSD changed and now my bought indicators don't work - what can be done to resolve this issue? Any assistance in this matter would be appreciated. Thanks, Charles
Hello members i am facing a problem that i had subscribed for metaquote VPS service few days back but today when i was planing to sync my new setting with vps i noticed there is no VPS icon in mt4. then i logged on here mql5 web account. i cannot see any payment history of purchasing vps service and
Hi, I have linked mt4 with my iPhone app and I am getting notfications. Unfortunately, when a trade is executed I get only the notification and no sound. Any idea how I could turn on sound? Thanks
I am trying to draw bollinger band line from within Expert advisor using ObjCreate() function with OBJ_TREND type of object but it draws line that goes beyond two coordinated (Time1,PRice1) and (Time2, Price2). I would like to be line drawn only from first to second coordinate but line extend
i dont know why i have just a datetime but not time gmt some one can give help plz //+------------------------------------------------------------------+ //| webrequest.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //|
  How to Edit EA  (3)
How to Edit EA test on EURUSD,H1 2020.04.01 00:00:00 cannot open file 'MQL4\indicators\AiBand4EA.ex4' [2] there are no trading operations
Close all positions at profit target in pips MQ4
  My EA not taking trades  (17   1 2)
Hi, I have tried to create an EA but it doesn't take trades. When I put it in the strategy tester I get the following error: 2023.06.16 10:47:50.092 EURUSD,M1: 466454 tick events (13844 bars, 466554 bar states) processed in 0:00:01.266 (total time 0:00:01.313) 2023.06.16 10:47:50.092 2023.06.16
  Too high value  (2)
Is it possible to use for calculating or checking value bigger as EMPTY_VALUE ? For example: if (accountNumber==AccountNumber()) Alert ( "Good Account" ); where accountNumber bigger as EMPTY_VALUE
hi this code is not closing orders, could you help me to figure out why? void OnTick () { string signal= "" ; int PeriodMA = iMA ( _Symbol , PERIOD_H1 , 9 , 0 , MODE_SMA , PRICE_CLOSE , 0 ); int SlowMA = iMA ( _Symbol , PERIOD_H1 , 12 , 0 , MODE_EMA , PRICE_CLOSE , 0 ); int FastMA = iMA ( _Symbol
I can no longer download anything from the store, and I no longer see anything in the terminal
I want to select the latest placed order (open or pending) from trade mode but I don't want to use loop or magic number to minimize running time. Does this line of code help? Assume no order was closed or modified. OrderSelect ( ( OrdersTotal () - 1 ), SELECT_BY_POS, MODE_TRADES);
I have a very beefy machine for back testing purposes, and I can only open 32 instances of MetaTrade4 on it even though I have resources for it to handle many more. How can I open more than 32 Mt4 Terminals at once?
Hey guys, I need help on coding an order should only be opened between the start of the hour and 30 minutes into the hour. If it closes within 30 minutes due to take profit or stop loss it should not open another order until the beginning of the next hour and end of 30 minutes. And so on. Anyone out
Anyone knows any webservice that offers forex news in XML?
  I will write the indicator for free  (1285   1 2 3 4 5 ... 128 129)
I will write a free indicator in MQL4 on terms of free distribution - placement as a free product on the Market or code in CodeBase. I can also write it in MQL5, but my preference is for MQL4 - it depends on the logic and, of course, it is better to write something meaningful. Theoretically, an
Hi I am a novice in MQL4 How can i close the last order opened by order type . when there are multiple orders opened. I mean i want close buy position just close last buy opened position and for sell too. or i want any expert like this if you have. Sorry for my weak language. Please, Any help will
The SymbolInfoSessionTrade() function seems to, somehow, help to find these values by comparing them. But the MQL4 documentation provides no examples in order to understand better how to execute it. The other MARKET_INFO ou Symbol_Properties also give no options to get the session beginning and end
[Deleted]
Hey fellas, is there any option to tell MT4 only to connect to a specific server? I have read some posts on various forums about this issue. My Broker offers me 4 different servers, but i would like to use only one specific. Aftere a reconnect MT4 always changes the server. best regards
hi anyone know why this expert not work and not give error ? int isPositionOpen = 0 ; // Variabile per tenere traccia dello stato della posizione int entryArrow, exitArrow; // ID degli oggetti grafici void OnTick () { if (DayOfWeek() == MONDAY && Hour() == 23 && Minute() == 58 ) { //
i have EA newsfiler and this EA news filter stop trade before news .. i wana to modify this EA that can be open trade before news if some one have idea plz hlep #property copyright "Copyright © 2016 Tor" #property link " http://einvestor.ru/ " #property version "1.0" #property description
Dear Friends, I am reaching out for assistance with an issue I've been experiencing while using the WebRequest function in an MQL4 script/Expert Advisor. I keep receiving an "Invalid URL" error, with the error code 5200, despite my checks indicating that all settings are correct. Here's a brief
I use the web trader https://trade.mql5.com/trade and use my MT4 account with Xbtfx. When placing a new order, if I omit the stop loss and leave it as 0, the majority of the time it automatically sets a stop loss that is just a pip or two from the entry price, and causes immediate loss. I have lost
Hi My investor's PC appears to be creating trades OK, SL/TP drawn, but not the actually order line itself.  See the attached pic. I've worked with mt4 and mql4 for about 6 years now and not ever seen this and wouldn't know where to look. Google not returning anything useful either.  Has anyone else...
Hi there guys, fast issue, if i try "MarketInfo(Symbol(), MODE_LOTSTEP);" it returns the lotstep correctly, BUT, if i send ANY other symbol (which is not the one in the chart with the EA or strategy tester ) it returns 0, por example: In US500 chart both "MarketInfo(Symbol(), MODE_LOTSTEP);" AND
Hi! With help from some clever people, I've written a simple, but efficient tutorial for any newbie-ish programmer who wants to include C# projects in their MT4 EA. https://github.com/DennisGundersen/MT4_To_CSharp_Bridge Enjoy! Re Dennis
Hello all, anyone can help me with the idea of writing each pair closing price for each candle in one column only per pair. like column number one, first sell have the name of the pair and the below 30 cells have the closing price for 30 candles, i need it to overwrite the csv for a specific period
Hello, I searched but didn't find this specific question on the forums. I understand that it is possible to trade cryptocurrency pairs on MT4, but the account I have linked to it is only listing forex pairs when I attempt to open a trade. My broker claims I can trade crypto pairs with MT4 and with
I would like to display only the specified bars by RSI in order to lighten the indicator, but it is not displayed well. How to display RSI for only specified of bars? //+------------------------------------------------------------------+ //|