MQL4 and MetaTrader 4 - page 42

// تعريف المتغيرات double OpenBuffer[]; double CloseBuffer[]; double HighBuffer[]; double LowBuffer[]; double BodyBuffer[]; string TextBuffer[]; // تهيئة المؤشر int OnInit () { // تعيين مصادر البيانات SetIndexBuffer ( 0 , OpenBuffer); SetIndexBuffer ( 1 , CloseBuffer); SetIndexBuffer ( 2
i, I am trying to make an indicator that draws a horizontal line from current RSI value and plotting X bars back. I have made an indicator that does it on price, but I am not sure how to do the same thing on the RSI indicator. Can anyone guide me in the right direction? attached is a screenshot of
  Error Experts  (3)
can someone help me? I have these errors when I run an Experts 1 08:54:22.675 compilazione di 'C:\Users\Pakos\AppData\Roaming\MetaQuotes\Terminal\2DD32781B79EB366C752FA982887A0FF\MQL4\Libraries\stdlib.mq4' non riuscita 3 08:54:22.675 impossibile caricare
  Technical glitches  (25   1 2 3)
I still have MT4 and having problems with latency and platforming freezing. Not sure if its because of my internet connection, broker or my indicators on the charts. Any suggestions on how to fix it. Will virtual hosting here help? Any suggestions would be appreciated. tks
This should be simple - I'm just looking to display the high-low of the current chart in a sub window. This does open the window but doesnt display anything. even though I change the color before adding it. What am I doing wrong? Thanks... #property indicator_separate_window #property strict //
Hello everyone, I'm seeking recommendations for tools or websites to enhance the optimization of EAs using Machine Learning and AI tools. I find that MT4 optimization falls short due to its limitations in handling numerous variables and doesn't enable me to thoroughly test my EA with various
Hi! I am coding an EA that would help me manage multiple Forex Accounts. My EA is almost it connects with a Telegram Bot and I send him a message and the EA calculates my lot size, opens the trade, sometimes with more than one TP and it even moves SL to BE when TP1 hits, so very nice and easy
[Deleted]
  Off-topic MT4/mql4 questions.  (450   1 2 3 4 5 ... 44 45)
I apologise for digressing from the main topic of the forum. I want to write a program, but I don't know where to start. I need to read some data from a webpage and based on that data perform certain actions on that page, simply put I need a bot. Please advise who knows, in what programming language
I downloaded MT4 in my desktop pc and appears MT5 interface. I do not manage to connect my T4Trade account with it. I would appreciate some help. Thanks
Hello, I installed a new instance of MT4 and my purchased tabs fails to populate. Not sure how to troubleshoot it. Anyone have any ideas? Much appreciated
Hello, 64bit windows, downloaded MT4 installation, installed, but at the end it shows MT5 and i cannot run any ex4, what happened? Doublechecked several times - it is MT4 installation that got downloaded.Thanks
I am working with MT4 on Galaxy Note 10+. I am unable to exit application, I must everytime kill the app to exit. Why
Hello. Any help and advice would be much appreciated. i have created a strategy which opens a trade once the Bid prices is above/below the upper/lower bands of of a deviation of 2 for bollinger bands . When the deviation is less then 2, the trade executes instantly. No issues here. However, the
  Common Error  (4)
Hello everyone.. Sorry, I want to ask, how to fix the error like the one in the image below
Hi All, My EA is not closing previous order before opening a new one.  I don't want to have multiple buy or sell orders on the same currency pair at a time.  How can I make it so it only has either a buy or sell order open at a time and prevent it from opening new position even if buy or sell...
  Telegram.mqh  (2)
I am trying to send trades to telegram. I have everything setup in telegram but can’t find telegram.mqh fir mt4. Is it something I need to create myself
I downloaded an EA and just changed the way it Opens buy/sell. It worked fine for a week, then refused to open any trades. NO error messages in Experts or Journal. It still works in STrategy tester , though. Please help. The code is too long to paste, so I have put it in Notepad, attached hereto
All the news and vertical line successfully showing in chart but in Experts tab under Terminal keep showing Error code = 4200 for both TextObject and Vertical Line. Error : Error code = 4200 //+------------------------------------------------------------------+ //| Creating Text object
  Simple Ichimoku Scalping  (61   1 2 3 4 5 6 7)
Simple Ichimoku Scalping. It is some variation of the settings of the Simple Ichimoku System. This Ichimoku template was improved onto Simple Ichimoku Scalping. On this thread you can find this Simple Ichimoku Scalping for Metatrader 4 and Metatrader 5. Installation for Metatrader 5. - download...
Please help some experienced coder. After compiling get error constant expression required. Problem is in array, strenghts is in pips. My idea is to get stongest and weakest pairs. Code:                 int num_array1[8] ={EURstrenght,USDstrenght,AUDstrenght,NZDstrenght,CADstrenght,GBPstrenght...
Hi All, Looking for a little help as I've spent the previous two days going through the zero divide error threads in the forum and can't quite find a fix to my issue. Basically, my EA runs fine for several trades, but then I get a critical error closing the EA. It is a Zero divide error and it gives
hi, is there any better way to place a buy stop or sell stop? i heard about an indicator (or script?) that prints two lines. one line for the buy/sell stop and the other line for the stoploss. these lines should be easily moved like a normal chart-line. is there something like this existing? or do...
  EA ON MT4  (2)
Hello Sir, I am account holder of MT4 for forex trading. My broker is [redacted] . I want to enable Auto Robot Trading and want to bind Expert Advisor for auto trading on MT4 platform. I have already purchased [redacted] program for auto trading. I am raw to forex trading and need your help for
Hello I was purchased indicator in mql5 then check my mt4 but still not appear install bottom as normal. make sure I was login in mt4. could you help and give your advice
Hi guys, I have a new EA but when I test it, it does not have any results. Could you see please the picture attached and tell me what is wrong? Thank you
I setup a one-second timer. I expect I can receive a signal on OnTimer() every second. But the truth is that there could be a delay. Sometimes the delay can be very large. The recent record is 849 seconds delay. I'm very surprised with the delay. Is there any way to get a reliable timer? I have
This morning i just installed newest mt4 from roboforex to subscribe to a signal. I deposited the correct subscription amount into mql and when i login to my demo acct, it show a balance of $49USD. When i click on subscribe button it ask to open a link. I selected the correct link (just one on my
Hello Looking for Kind help on MQL4 Backtesting Charting The current Standard back testing chart is hard to see when running esp at execution points. This is impacting my ability to improve/refine my EA I have seen YouTube Videos of EAs when Backtested show very detailed information's whilst running
I read in here: http://forum.mql4.com/56115 that someone had the same problem in build 500 and also in build 600. I have the build 600 and I'm having the same issue. My Expert Advisor is sending the orders just once but the terminal is opening the orders twice. Have anyone had the same problem...
Sir, I learned this MQL5 Programming but I want to practice this MQL4 Programming because What is the result difference b/w MT4 & MT5 in my Real account . I am getting error "Order Modify Error 1" too many times.... Please use this OctaFX Broker MT4 Terminal ....because you are using another broker