I see three functions: AccountEquity(), AccountBalance() and AccountFreeMargin().How to understand the difference among the equity, balance and freemargin on my account?It's appreciated if you can help explain them one by one with their difference. Thanks.
Where is the best information on how to program indicators for build 600+ as a beginner. I have used this: https://book.mql4.com/ and https://docs.mql4.com/mql4changes But seems that I still dont get it. Is there anything for dummies out there? Thank you Belikewater
I have these conditions that if it is there on M5, I set it to hit a switch. Then when M1 hits the same conditions, a popup alert will come out with a sound. How do I code it that the indicator takes down the time M5 hit the conditions, and if possible how do I add 30 minutes to that? (and display...
I have a custom indicator that keeps track of the consecutive buys and sells on a chart. So if the last 2 closed trades were buys then it will return "2" and if the last 2 closed trades were sells it will return"2" also. I want to use this logic in an EA. What I am trying to achieve is if "2" is...
[Deleted]
Here are my EA tests (MT4) (see attached image). The results show that there were the following drawdowns: Absolute drawdown: 34154.58 Maximal drawdown: 43694.00 But I can't see these values on the graph. The maximal drawdown is about 17000 on the graph. What's wrong? Is there a bug?
[Deleted]
OK, is there anyone who make enough money to live only from some robot. I mean someone who to make money from a robot is like profession. And is there someone who make a lot of money like a million.
I have a custom indicator which I will be using in an EA to establish trade levels etc; I also want to be able to draw the indicator on the chart using the EA and without having to load it manually all the time. can this be easily done using either Import or Include in the EA? So i'm testing it...
Hi https://docs.mql4.com/customind/indicatorcounted How does IndicatorCounted() know which indicator, if there are more then 1 launched on the chart; and what if they have different array sizes ? Will IndicatorCounted() handle this automatically for all arrays and sizes ? Please advise
Hello freinds, I do not know but I as the EA try to close simultanisly 2 trades, it close the first, but the second I get the following error: Cannot call 'stdlib.ex4::ErrorDescription', library is not allowed. BTW, I do not know what is going on. I downloaded MQL4 and I get MQL5. As I can't know...
Hi forum, I want to do a script which places a trade according to moneymanagement rules. It should place three lines in the chart. Entry, SL and TP. Of course in different colors/styles to distinguish them. Then I want to drag them to the correct places. That's easy until now. But then I need an...
Notification to IPHONE stoped working yesterday. The Notification opton works now only to Android mobiles. Did someone knows what had happen and how to fix it?
MetaTrader 5 Platform Update Build 1010: New Signals, Market and Options The MetaTrader 5 platform update is to be released on Friday, October 31, 2014. It will contain the following changes: MetaTrader 5 Client Terminal build 1010 Signals: The showcase of signals has been completely redesigned. New...
when doing a Test for Notification to the mobile application, nothing had happen. I reinstall the MT$ and the mobile application again but still doesn't work, no Notification.
Hello, Not sure why this is so difficult, but I am trying to line up numeric output on a chart use an OBJ_LABEL object. I want numbers to be vertically displayed and right aligned. The printf() function doesn't seem to do this correctly, I have also tried using TextGetSize() and adjusting each...
[Deleted]
The following code will show the Open, Close, High and Low for the 26th candle, back form the current. How can I draw an arrow, to mark this candle? double xPH = iHigh(NULL,PERIOD_M5,26); // High[1]; double xPL = iLow(NULL,PERIOD_M5,26); // Low[1]; double xPO...
Hi all, Anybody has the same problem with iCustom? In tester it keeps returning empty values but on a live chart it works like a charm... I do not have the source code of the custom indicator so I'm bound to iCustom. See the pic the bottom is live chart the top is the tester on same pair, same data...
With a custom EA that has been written, I am getting access violation errors: Access violation read to 0x00000048 in 'D:\IC Markets 2 FXT\MQL4\Libraries\!CT APAMI 3.2.dllAccess violation read to 0x00000000 in 'D:\IC Markets 2 FXT\MQL4\Libraries\!CT APAMI 3.2.dllAccess violation read to 0xFFFFFF54 in...
Nice to meet everyone. I need a sample Help me create a template Write a function that returns the total number of orders in history, named function is HistoryTotalOrder I am very grateful for that Thanks for your reply
my example --------------------------------------------------------------------- void OnTick() { //--- int Ticket = 99254128; double Price; //doc Price cua Order 99354218 if (OrderSelect(Ticket,SELECT_BY_TICKET,MODE_TRADES)) { Price =...
hi this is my first post. i would like to ask if someone would be willing to help update the T101 Basket Trader EA and MN TimeLines indicator 1. T101 Basket Trader v2.3 _B6 - this was updated by gvc at forex factory to work on build 600 and he suggested i ask somebody to help update it. the most...
[Deleted]
Hello everyone, I am new here and just getting to know the MT4 environment. I have lots of experience with professional and paid futures trading platforms and each and everyone of them offers me an option where I can buy the bid and sell the ask. As I see in MT4 you can only do the opposite which is...
When I test an EA, it always "close at stop" many days before the end date set for testing.I double checked the code and there's no this kind of sentences. It means it happens not consistent with the code strategy, thereby misleading with the testing report.Below are examples, If testing during...
[Deleted]
Here's my story, I trade with specific broker (Alpari UK) only At opening trading time this week (monday at 00:00), my EA open position with very wrong logic.. here's the screenshot.. my EA logic is to open BUY, if price open below the lower band of PREVIOUS day Bollinger Band (BLUE BAND), open...
[Deleted]
Hello, please help me 1. How to install development environment for the MT4 plugins? What language does the API use? Where can we download the API? 2. Where can we obtain technical documentation (MT4 API description)? Links to tutorials, code examples, etc. are very welcome too. At least provide me...
For over 2 years now I have been using an EA (FATv3 Trader On Chart BASIC4.ex4) for One Click Entries on my Charts. With the latest update MT4 (Build 745) continues to Trail my SL regardless of what I'm doing !!!! Removing the EA used to stop the SL in its place - NOT ANYMORE !!! Now removing...
Hello, After last update of MT4 platform (Build 711 and newer versions) I have a problem with One Click Trader script included in this software. Every time when I turn it on in the upper left corner on the main chart and restart the platform script back on to hiding. How to fix that? I never had...
Hello, One broker has changed mt4 provider and moved all orders from one provider to another one but now all magic numbers of the old provider are missing in the new one. I know it is not possible using MQL to change the magic number of an order. I am asking here if the owner of full license of mt4...
Hi all, With Point you get the point value of the Quote Currency (QC). How do i get the Point Value of a pair expressed in my Account Currency (AC)? So if trading USD/JPY, i want to know the point value of that pair in EUR, as that is my AC. I know MT4 has a function or constant for that, but i...
There is this code to programmatically a chart https://forum.mql4.com/24948#194891 But a call like this: ChartWindow("EURUSD"); ChartWindow("GBPJPY"); ChartWindow("AUDUSD"); only works for the first symbol, the second and third window don't open, why is this so ? I modified the code to take...
Hello, 1) Is there any way to disable mt4 auto-update? I mean how can I trust an expert advisor, which can go crazy any day :) 2) Is there any way to choose prefered datacenter manually? I mean auto connecting filter is a ping, my personal - minimal reconnects :) Thanks in advance.
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.