Please double USDCADOPEN = iOpen ( "USDCAD" , PERIOD_D1 , 0 ); double USDCHFOPEN = iOpen ( "USDCHF" , PERIOD_D1 , 0 ); double USDJPYOPEN = iOpen ( "USDJPY" , PERIOD_D1 , 0 ); double AUDUSDOPEN = iOpen ( "AUDUSD" , PERIOD_D1 , 0 ); double EURUSDOPEN = iOpen ( "EURUSD" , PERIOD_D1 , 0 );
I haven't used MQL4 for a while , when i just get to use custom indicator when trying to get the method CopyBuffer , It doesnot exist among the built in functions, I guess my memory is not bad , It was there !! Is there the other way to get MLQ4 indicator buffer values
Hello, OrderDelete(OrderTicket(), clrViolet) , I am using this code, it should create an arrow mark object on chart with Violet but it not creating. Full code : void CloseOpenAndPendingTrades( int trade_close_magic) { for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--) {
Hi guys, I have been reading around but unfortunately I can't find any solution to my issue, so I would like to ask you for help. I'm currently using MetaTrader 4 Build 1090 under a Demo Account and for some reason I can't seem to get my custom indicator to send me Push Messages to my Xperia XZ. I...
Hi Guys, sorry to bother you with so "simple" question, but I can't find [for good time already] any way to move one [or more] indicator windows, up or down below main chart window without closing it and re-opening in desire order. By closing one indicator window and re-opening it I have to...
Please how to display the price that fibo has ? //--- установим количество уровней ObjectSetInteger (chart_ID,name, OBJPROP_LEVELS ,levels); //--- установим свойства уровней в цикле for ( int i= 0 ;i<levels;i++) { //--- значение уровня ObjectSetDouble (chart_ID,name
hi i want to change red color of high to low line in Fibo tool to none-color in mql4 script. how can do it ? thank you
//--- * short trade if (trade_ok==true) { if ( ( Ask- SMA_10day < buffer* Point *K ) && ( price_above==true)) { ticket1=- 1 ; ticket2=- 1 ; while (MarketInfo( Symbol (),MODE_ASK)-MarketInfo( Symbol (),MODE_BID)< 4 * Point *K) // spread < 4 { Alert (MarketInfo(
Good morning, I find it absolutely absurd that if I don't log into my vps for a while I can find myself with mt4 BLOCKED because it doesn't update. Incredible, that is, do I have to risk my experts not closing my operations just for an update? Are we joking? but who is the genius who decided that
Does MT4 has a function can convert upper case to lower case and vice versa? Itcould be very handy. cheers.
In my MQL4 code I am able to send plain text from mt4 to telegram with ease. However, I am having difficulties adding telegram emojis to my code so that it outputs within telegram. I have searched high and low and all of which I found were examples using php and or python. Tried using plain unicode
Hi! I've downloaded tick data from Dukascopy and whenever I try to backtest any of my EA's in MT4 I get the below error "tester cannot calculate prices". If i remove all the data from Dukascopy and simply get the historical data from my broker (IG) I can backtest the EA just fine, although just the
Hey guys, I have an issue with my EA/server (I don't know where the issue is from...). Last couple of months, I've used an EA through MQL5 vps service. The EA + 1 custom indicator worked fine (I could backtest normally) and it did work fine for a few months but then it stopped taking trades (without
0 19:00:00.105 '229232': instant order buy 0.02 NAS100 at 18386.9 sl: 18351.9 tp: 0.0 0 19:00:00.105 '229232': instant order buy 0.04 NAS100 at 18386.9 sl: 18303.5 tp: 0.0 0 19:00:00.105 '229232': instant order buy 0.01 NAS100 at 18386.9 sl: 18303.5 tp: 0.0 0 19:00:00.105 '229232': instant order
I got this error message: "12 leaked strings left" when I remove my indicator. What do I do wrong? Thanks for your help
Is it just me, or can 0.07 not be stored accurately? Example double number=0.07;Comment(number); This displays as 0.07000000000000001, therefore I can for instance send an order using a lot size of 0.07.
I have a question from a newbie regarding the MT4 platform! If my computer shuts down when I have an active order or position, will the trade stop? Or are they still on broker servers
Hi, this indicator working for audusd, can anyone help me to work for eurusd or gbpusd too... Why only working on below 1.0 price pair. Above 1.00 price pair not working. Please help me //**************************************************************************// //*** ZZ 2nd Coming ***
I am a somewhat newbie, been programming Mt4 for about 2 months. Anyways, I developed this Custom indicator , not sure if its relevant but calculates everything from BAR 1 to +, basically always ignores BAR , calculation is only relevant on closed bar. I have a developed an Expert Advisor that uses
Any body know the code for this strategy When I Click The EA the following steps i want its possible? Step 1 : Buy Order TP-20 pips SL-24 Pips Step 2 : Sell Order TP-20 pips SL-24 Pips Step 3 : Pending Order Sell Stop Price (First Step Buy Order SL) with TP-30 Pips SL-24 Pips Step...
Hello, How many Letters/Characters does MT4 OrderComment() supported. I noticed, if i enter big comments, than it became empty/blank?. What is the Limit
OrderProfit() - This will return only Pips value or Final Profit/Loss after calculating swap and commission also. Default Code : double CalculateTradeFloating( int A_magic_0) { double CalculatePL= 0 ; for ( int pos_12 = 0 ; pos_12 < OrdersTotal (); pos_12++) { OrderSelect (pos_12
Is there any code, function or something which is able to return Account Balance of an specific time? For example at the beginning of the day.
Hello, I encountered a problem where MT4 shows a "no connection" error and cannot find a broker, despite having found 10 VPSs, because I rent a large number of VPSs for my clients to deposit and run MT4 on. However, it keeps showing "no connection" without any apparent reason, even though the
Hello.. few days ago since I cannot login to mql5 on my mt4 platform… so I can’t purchase nor download anything… I can login on website, I can login on mt5 account but not mt4.. don’t use vps, everything else has been checked as I said same pc logins on mt5 but no mt4… Any help
I have tried to create my own EA and it is currently working (although not profitable yet in demo account) so i know that trades are opening and closing but I'm struggling with the trailing stop loss and back testing. The trailing stop loss seems to come in but its not coming in at a point where a
// Define input parameters input int ADX_Period = 14 ; input int RSI_Period = 14 ; input int RSI_Overbought = 70 ; input int RSI_Oversold = 30 ; input double Risk_Percent = 2.0 ; // Risk percentage per trade input double Max_Lot = 0.1 ; // Maximum lot size per trade input double Slippage = 3 ; //
can anyone help me with M4 IEXPOSURE please I added it to my chart and its all bunched together, any ideas please
I got bot working to some extent, however it still does things awkwardly and I've been at this bot now for month and two weeks. #property strict // Define input parameters input int rsiPeriod = 14 ; // RSI period input int maPeriod = 20 ; // MA period input int bbPeriod = 20 ; // BB period input
HiI am looking for an EA/TOOL that would send the trades opened on mt4 to my discord channel Can I find one

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.