void Download_News() { if ( FileGetInteger ( "FFC-ffcal_week_this" + _Symbol + ".xml" , FILE_MODIFY_DATE , false )+ 4 * 60 * 60 < TimeLocal () || ! FileIsExist ( "FFC-ffcal_week_this" + _Symbol + ".xml" , 0 )) { string cookie= NULL , headers; string reqheaders= "User-Agent
This is just an information, not a question. Since I can't find the documentation in MQL4/MQL5 site, I decided to write it at here. If you try to show an ampersand character (&) in object's tooltip text like this: ObjectSetString ( 0 ,obj_name, OBJPROP_TOOLTIP , "A & B" ); It won't work, the "&"
Hello, I created an EA that was already approved or passed and saved it as a draft, but today I changed the version date of my EA and submitted it again, but it is no longer approving. For testing, I created another EA with the same settings except the strategy, but I noticed that it sometimes
Good Day guys, I know this is rather a weird question to ask but I need for my clients. I am currently running 50 mt4 terminals on a Dell laptop with 32gb ram and i7 6600u processor. The laptop is been pushed to its limits and I want to upgrade to a desktop pc which can handle 1000 mt4 terminals
Hi guys, As described in the title, I want to find the bar of one day ago at exactly the same time. So e.g. the time now is 20:23 on the 06.10.2017 which is covered by the 20:20 M5-bar. I want to find the M5 that covers yesterday's (05.10.2017) period of 20:20. How would you do it? Thanks :)
hi guys , how is possible find in yesterday in time frame (example 30 M) the bar that have a value = at XXX
Hello all. excuse me for my english. can anybody help me how to predict RSI level? actually i mean how to use RSI's formull in my code? for example: at EUR/USD chart i have this now: and RSI level with 8 period has 48.4325 value. i want to use RSI formull and see this: if in this candle price go up
Hi guys, Appreciate your help in advance: input int RSILength = 12 ; input int RSIMASlow = 50 ; input int RSIMAFast = 25 ; void OnTick ( void ) { int i; double RSI1[]; double RSI2[]; ArrayResize (RSI1,RSIMASlow); ArraySetAsSeries (RSI1, true ); for (i= 0 ; i<RSIMASlow;
Hi, can anyone tell me how do I use the mql4 code to insert the reverse function in an mt4 indicator? I would need to graphically invert the indicator upside down. Thank you
Hi Everyone, Below is my code. I want my EA to stop once it will hit the target. I am not talking about any particular duration just it will stop the EA. For new execution/initialisation of the trade, Have to remove the EA from the chart and again drag and drop it from the Expert list. So once the
Hi, everyone. How do I check if the content of a variable is numeric, especially the content of a text box object on the chat? I tried the following but it did not work: ObjectSetString ( 0 , "SimultaneousReleaseIndex" , OBJPROP_TEXT , "Four" ); if ( MathIsValidNumber ( ObjectGetString ( 0
Hi, Is there anybody who has the same problem or knowledge how to fix the issue with disappeared indicators. I have until now purchase 29 various indicators from different vendors. What I discovered yesterday is that only 6 of them showing up for download. Rest of them simply do not show up anymore
[Deleted]
Hello, (I have searched everywhere already, found many people who have the same question but received no answer. I tried hours to code it myself, i have very bad programming skills.) What I need is a script which opens a pending buy order, X pips above the last candle's close price. (additionally,...
Hello, when a stop loss is triggered or takeprofit or a pending order at all, this event (order activated,closed due to..) is not written immediately to the journal log. All other order events are written to the log once they happen. I want to write a trading journal and so i catch changes in the
Hello everyone. I am trying to code buy order execution when the Bid reach above a price that ObjectGetValueByShift will get the object is a Trendline double Price = ObjectGetValueByShift( "Trendline" , 0 ); if ( Bid >= Price) { int Ticket_Number1= OrderSend ( Symbol (),OP_BUY
The manual says about TranslateKey: "Returns a Unicode character by a virtual key code considering the current input language and the status of control keys." Does that mean I can print Unicode characters in my labels and buttons, for example? Apparently, not. I couldn't find a single Unicode
Hello ! How To Recognize PIP Size in decimal places ( PIP, not Point ) ? I had idea like this : string Instrument = Symbol () ; double PIPSize ; double PointSize = MarketInfo ( Instrument, MODE_POINT ) ; if ( PointSize < 0.0001 ) PIPSize = 0.0001 ; // for most currencies if (
This is the problem : I get an Array witch has collected the R/R of potentials trades . its name is "atd_RRCandid [Symbol] [SetUp] [TypeTrade]" . I have to precise that the precedent function has transmit the real data (not relative one) , like in Function( string fsSymbol, int fiSetUp, Int
Is it possible to set a Daily Loss Limit based on Daily Equity in the MT4 platform? I would like to have an option that the software Closes all Open and Pending orders once the set Daily Loss or Profit are reached. Thanks for help
Hi I've met ordermodify error 1. I know the reason why it returns error 1. The problem lies in changing the open price value with the same value. I tried to break the loop but it still return the same error. Anyone can help me why break statement isn't working here? void UpdateOpenPrice() { for
[Deleted]
Run this Expert. It should delete all variables that are older than 60 sec, but it deletes ALL variables. The parameter int GlobalVariablesDeleteAll ( string prefix_name= NULL , // All global variables with names beginning with the prefix datetime limit_data= 0 // All global
1 //+------------------------------------------------------------------+ 2 //| fmcbr_v1.1.mq4 | 3 //| Mohd Syawal Sakawi | 4 //| | 5 //+------------------------------------------------------------------+ 6 #property copyright "BlackzGunz" 7 #property description "" 8 #property link "" 9 #property
Newbie with some questions to ask 1) In MetaTrader 4, if an EA is used, Is there some way to set the initial "Investment Amount" so that MetaTrader 4 will use only this amount to trade for the full Trading Session ? 2) In MetaTrader 4, if an EA is used, Is there some way to set a "Flag" such that
So i downloaded MT5 3 days ago just fine but when i tried to download MT4 rn it says that its not awailable in my region Does anybody have some information about a potential ban in germany for MT4/5? I checked on another phone and there it seems to be the same case. Thanks for the help
Hi all, is there a function to zoom in and out the view in a .mq4 file in the Editor? Thank you
Currently, mql4 can only provide time down to the nearest second for incoming ticks. We use the following function: MarketInfo(Symbol(), MODE_TIME) 1) Is there a different function that can provide millisecond time stamp or can be used to determine milliseconds for tick data coming to the platform
Hi, array out of range in 'test.mq4' (15,9) (15,9: Array[0] = 1.0; ) void OnStart () { double Array[]; ArrayResize (Array, 3 ); Array[ 0 ] = 1.0 ; Array[ 1 ] = 1.0 ; Array[ 2 ] = 4.0 ; double ma = iMAOnArray(Array, 3 , 3 , 0 , MODE_SMA , 0 ); Alert ( "result = " , ma); } Why does it
I have put my EA into my MT4, when I am gonna run it, it says the EA can't be load. Is there any fix for that? I am running it on a VPS, with Windows Server 2012 R2. Any help will be appreciated
I'm trying to get a shape to appear above the opening bar of each opening, which I can do on a day period, but when I switch between other periods --- I cannot figure out where the opening bar is on each opening bar because of the way bars are number in reverse --- 0,1,2,3, etc.. except for the Day
Hi, I had developped a number of expert indicators, scripts etc. back in the day. I have kept a copy of them and I want to use them again. My question: are old MQL4 indicators still compatible with the current version of MT4? If so, when can I copy my old files, in order to have them work? I ask
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.