I placed "AAPL.csv" into the MetaTrader terminal folder's Files subfolder (MQL4/Files) to be accessible by the EA. The structure of this csv is as follows: Date,Open,High,Low,Close,Adj Close,Volume 1980 - 12 - 12 , 0.1283479928970337 , 0.1289059966802597 , 0.1283479928970337 , 0.1283479928970337
Hey guys, I just downloaded another MT4 terminal for my newest account. When I go to open a Gold chart I can't fine one?? The only options are Fx pairs?? All my other MT4 terminals have XAUUSD under metals. Why not this one? Br, Patrick
I have this function which checks whether there are open trades using a certain magic number. The problem is I intend on using this EA for multiple currencies at once. Each order using a certain magic number depends on certain criteria being met but other criteria could appear in other currency
Hi all, I'm trying to collect the return values from a function a put them into array. I've the doubt if it make sense to collect the values in the function itself or outside? On the other hand once the values are collected they can be used in array function (as arraymax) right? this is the function
Hi, How the stop out function works on back testing MT4? See attached = seems Equity is more than 50% down from balance and brokers SO is 50% = tester has not closed the test ... Thnx, L
[Deleted]
Hi, I am a newbie and i'm trying to set the values for fixed minimum and maximum. For the life of me i can't find the solution to this problem. Can someone help? The values i am trying to get is: fixed minimum = 0 fixed maximum=100. Could someone also tell me why the figures changes? or point me...
I have the following indicators on the chart 1. VWAP 2. News Indicator (Shown as Vertical line) 3. Candlestick pattern indicator (Shown as Up&Down arrows but doesn't show up in the objects list) Can an EA be programmed in such a way that it will get some of the values from these indicators and use
Try to run a script every so often to remove TP and SL on all open orders
Hi everyone, I had a problem about result on strategy tester. The detail is like this, I want to create an EA using SAR indi. Since this is the first time I'm using indicator that is non-line indicator I tried a simple condition to show when SAR indi change it direction. So I use this code to
In Platform MT4 when I Draw Trend Line after draw it disappear , not stable what is the reason and how I fix this issue ?
[Deleted]
hello all my experience in mql4 is not much but i am trying i have an expert for moving average but the problem when i add it to work on any time frame like 5 minutes it opens an order every 5 minutes when there is already an existing order!! this is a part of the expert
hi, i have problem with two different data for US30, or for EURUSD. I bought forextester.com with monthly data. I imported to MT4 and I checked different between forextester and MT4. In MT4 I have really good data, in forextester I have really bad data. So the question is how is that possible? I
[Deleted]
Normally I use English for my MT4 platform and I tried to use other languages like Chinese, Japanese but it didn't work properly. I want to know how to fix this issue. Thanks
Programmatically placed arrow objects work but interfere in readying the chart. The common function below, in hopes to disabled it, can't handle dismissing it. ObjectSetString ( 0 ,sName, OBJPROP_TOOLTIP , "" ); In the object you drawn manually for example, this is what you see,. I have indeed seen
Whenever I test the rsi values using this code, the value returned is always 0. I don't understand why. I appreciate your help in advance double RSI15 = iRSI ( NULL , PERIOD_M15 , 0 , PRICE_CLOSE , 0 ); double RSI60 = iRSI ( NULL , PERIOD_H1 , 0 , PRICE_CLOSE , 0 ); double RSI240 = iRSI (
hi guys, do u see any problem in call ontimer here? i didnt have any problem with close the order but i expected congrat=true in comments because of my ontimer function, but it seems on timer didnt call or ontimer didnt work properly. it works when the tanzim become true ! void OnTimer () {
Hi pals, Hope you are doing fabulous. What data my broker has access to gather from me from these four?(for example my IP, hardware ID, etc.) 1. By logging in to my broker website. 2. By visiting its website. 3. by logging in to my trading account via MT4. 4. By sending an order to its server via
I can't display my graphics, I have already uninstalled and reinstalled several times with no result and I have searched everywhere without ever finding anything about this problem. I can't add any symbols either. My broker is FXCM
Hello! I didn't find answer on forum. I cannot delete old alerts in Metatrader. Reseting terminal and laptop didn't help. Now I have plenty of old alerts which prevent me to trade. Please help me. Thanks
hey. I have a function which prevents the EA to send orders on eachtick once conditions are fulfilled , i have attached the code of function. Problem is, until now it was working fine But now i want to send Multiple orders under one symbol. please provide the right directions. bool Checkorders( int
[Deleted]
I have a bot that is working fine in the backtesting , but in live trades, it closes trades immediately its opened closing them in losses, why is this? Kindly help and thanks in advance. Below is the code
For some reason Purchased EA & Indicators are no longer showing on the terminal window at bottom of my MT4 platform. I have multiple MT4 platforms real & demo accounts from 3 different brokers - and on all my terminals purchased EA are not showing, I can't even search from this window. Also if I log
I opened a buy position of 0.01 lots and MT4 returned the correct margin usage. However, when I opened a sell position of 0.01 lots on the same instrument as well, the margin usage does not decrease, but stays the same. Can anyone assist me please? Due to this issue I am unable to continue working
I would like some help please, I am new to coding and have basic knowledge of MQL4 and recently built my first EA, I would like to help with this question please, How do I do code when price is bearish, price comes down and touches my MA, i want to be triggered into a trade going bullish. like a
How to code for the first MACD (Green) crossover only (if MACD second time crossover then it is consider as not valid signal)
Avalanche is a win-win trading system that allows you to enter the market at any time on any instrument. Description: Two orders - BuyStop and SellStop of equal volume are placed at the same distance from the current price. When one of them triggers, the other one is removed and the same order is
I'm using MT4 and have tried several period converters. All seem to work fine as long as the symol is for example EURUSD or EURUSD+ Now that I've switched to a pro account, the symbols my broker gives me end with .. (EURUSD..) and it won't convert the timeframes anymore. I'm a little desperate as I
I'd need to create a queue structure with the below interface but the size can increase at any time: double bucket[]; Enqueue(double val) // add as last item in the bucket double Dequeue() // remove the first item from the bucket double ReadFirst() // read the value of the first item in the bucket
I bought an EA -- <Deleted>. I installed it in one VPS. Everything was right. It works fine. I tried to install it in another VPS but failed. It says - Product is purchased, but not downloaded yet. there is an button 'Install' in the right of above word. I pressed 'Install' button. A few seconds

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.