MQL4 and MetaTrader 4 - page 2

Why did you post your MT4 question in the General section (a miscellaneous catch-all category) instead of the MQL4 section, (bottom of the Root page)? Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893 Moved to MQL4 and MetaTrader 4 How
Hi coders, need your advice for codes. I have a Multi-Symbols EA and for exit section, the codes are as follows :- bool SequenceBreak=false; if (OrderType()==OP_BUY && OrderMagicNumber()==mnBUY) { string ExitSequence= StringSubstr (ExitSig(sym,cTkt,cOpTm,cOpPx,cLot,cTPPx,cSLPx), 12 , 12 ); //
I've got a smiley face, a moving chart, and a preloaded strategy running on a 1 minute chart (should have plenty of signals)... but no trading. Ideas
Trying to place an arrow/text if there is three consecutive bearish or bullish candles formed. Tried a couple of options, but unable to handle Arrow's position. Either too many arrows got painted or the location was at the wrong place. Also tried place text but no luck. #property copyright ""
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
  Interesting and Humour  (49770   1 2 3 4 5 ... 4976 4977)
Members of the forum, don't forget to follow the rules
0 I'm trying to create a simple EA tool in MT4 so that I can drag and drop two lines on the chart, and based on input parameters it calculates lot size, and then when I press execute, it enters a limit order with the entry price and stop loss price. As you can see I'm consistently getting the error
Good morning everyone, Is someone can help me understand the difference between : bands_shift [in]  The indicator shift relative to the chart. shift [in]  Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). Thanks a lot for...
  Coding help  (7912   1 2 3 4 5 ... 791 792)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
Using a Mac First post and I am sorry if this is in the wrong place. My Navigator window and Market Watch have become undocked.....sure it was my fault. Now, I can't get either back docked?? Does anyone know how to fit this? It is a really silly problem to have without any way to get it back
  Traders joking, the beginning  (7329   1 2 3 4 5 ... 732 733)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hi - for some reason, my MT4 is not compiling. I'd be super grateful if someone could help compile this into an ex4. Any help very gratefully received, thank you. Love and Light //+------------------------------------------------------------------+ //| EMA + Stochastic Trend EA with Customisable
I am trying to make a Indicator based on the RSI + BollingerBands + MA My Indicator doing great job by creating Arrows and Vertical line for Signal when matching the conditions but the problem is it not showing RSI, Bollinger Bands and MA in Chart. Currently it showing like this : I want like this
Please Help. Please Guide. I am running windows 10. I am posting here because I am stuck Running MT4 on 43 inch 4K Monitor and need Help as I can't return this Monitor. I do not face this issue on 32 inch Full HD Monitor anytime. I bought a 43 inch 4K Monitor. But the Candles appear VERY THIN with...
What is the most efficient way to get unlimited Stochastic Alerts? I wanted to get notifications when bitcoin or ANY altcoin returns back from below 20 or returns back from above 80 in stochastic (I also would be interested in forex Stochastic Alerts etc) Is there a way to get these Stochastic
Is there some sort of valid reason as to why MT4 ( Version 4, Build 1440 ) has, all of a sudden, decided to continue to tell me that my SMTP credentials are incorrent, despite the fact that they're not, MT5 does not have any issue with my credentials whatsoever? There is no reason that I can work
Good evening, fellow MT4ites! So up until last week (November 2020) my MT4 platform (Version 4.00 Build 1311) suddenly seized sending email alerts. My SMTP details are correct, including the port number (587). I used SendGrid and now I'm using Sendinblue to see if it was an issue with SendGrid
  From mt5 to mt4  (2)
Hi . I had mt4 years ago ,upgraded to mt5 a couple of years after and now I want to go back to mt4 only problem is that even after deleting all data and uninstalling mt5 when I download mt4 the I can't install custom indicators any more (They just don't show up in list of indicators in the trading
I am writing an mql4 EA that adds a custom indicator to multiple charts Since mql4 does not have ChartIndicatorAdd(), I used a .dll work-around for the first chart, then saved template and applied template to other subsequent charts Now I intend to study the nature of the objects the indicator
Hello guys hope everyone is having a good week. Am trying to add a timer interval for alerts and notifications on this indicator whenever it crosses above or below the PDH, PWH, PDL, PML etc. Currently it will keep alerting nonstop as long as prices crosses either one of this levels. I'd really
[Deleted]
  custom indicator editing  (13   1 2)
Hello to you all ! I am in the middle of developing a trading strategy that uses this wonderful MT4 platform. I am by no stretch of the imagination any type of programmer but can understand a little about the basic meta-editor. I have a question that I am hoping you may be able to help me with. I...
Hello, Article URL : https://docs.mql4.com/constants/chartconstants/enum_timeframes These timeframe only work with offline start or it also work with live market? if ( iRSI ( NULL , PERIOD_M1 , 14 , PRICE_CLOSE , 0 )>overbought) OrderSend (x,x,x,x); This works fine. But these additional
how to install mql indicators if multiple mt4s on 1 computer, i have pepperstone mt4 platform and fusion markets mt4 platform on my 1 computer, if i have install purchase indicator through mql website and have install those paids indicators on my pepperstone mt4 platform how do i install the same
Hello, On the 22 Nov, the beta version 4 of MetaTrader is scheduled to be released. Check it out! Let's see whether current version of API will work or not. Cheers, Scorpion
I am redesigning EA, so it can have more accuracy and flexibility. Original code : if ( iRSI (gRandomSymbol, PERIOD_M1 ,RSI_Period,RSI_AppliedPrice,RSI_shift) > RSI_UpLevel && iRSI (gRandomSymbol, PERIOD_M5
Hi! I really wanted to use Metatrader 4 with my MQL5.com Market EA but I lost control of it, I can't find most buttons, I would need to reset it. Is there a way to erase it and start a new one from scratch? Can someone help? Thank you
You may have already noticed that the most interesting things now happen mainly on the MQL5.community . MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred
Hi, I am getting the following message repeatedly - every seconds - in the "Expert" folder of the MT4 trading platform. GBPUSD,H4: Check if automated trading is allowed in the terminal settings! How to stop this ? Will it helps if I restart the VPS ? If so, how to do that ? Please help ! Thanks
I am checking iRSI indicator with timeframe M1 to D1. for this i am using string gRandomSymbol = "EURUSD" extern ENUM_APPLIED_PRICE RSI_AppliedPrice = PRICE_CLOSE ; extern int RSI_Period = 14 ; extern int RSI_shift = 0 ; extern int RSI_UpLevel = 80 ; extern int RSI_BelowLevel = 20 ; extern bool
I'm just learning to code. I'm just trying to write a script right now. I want to draw a blue vertical line whenever the MACD line crosses up over the signal line and draw a red vertical line when it crosses down. It seemed to work except that it skips some of the crossovers. Plus there are some