I would like to include the carry charge in my estimated profit/loss calculations. How can my EA get that information ? Is it available through a MarketInfo() call ? Any help would be greatly appreciated. Thanks in advance. ~
Hello forum, I put this indicator together to allow me to mark some local times on my charts that I have interest in. Seems to work fine except for the labelling. The lines draw where they should, but only 3 of the 6 labels work the way I hoped and I can't see the error or difference between working...
[Deleted]
I use a grid strategy and since closing and reopening to the new build 600 my EAs have seemd to forget the number of grids I am in. Also it is placing the incorrect exposure. Is anyone else having the same problem?
Am I the only one having an issue with launching the mt4 build 600 terminal? I have installed multiple instances on my VPS yesterday and launched with no problems but trying to add a few more today and after install the terminal does not launch... Any ideas?
Can anyone tell me how to correct datetime for this update? This is a snippet that had been working for over a year. It's purpose is to detect when a new bar has drawn. Was bullet proof. Not now. Doesn't work following the upgrade. int checkTime(){ int thisBarOpened=datetime Time[0];
How can you force an EA to run only OnTimer in mql4 and ignore any incoming broker ticks?
Привет, при открытие отложенных ордеров в MetaTrader 4, нужно держать его всегда открытым для исполнения ордеров или нет? Спасибо!
I did not want or ask for the mql4 update because I did not want to destabilize what I've had running. But when I restarted, there was the update and now some things that have been working for months/years, are now broken. Q1: Does anyone know how to fix datetime under this update? Q2: Is there new...
I see that this version does not comply with the above Experts and indicators and that most of them had stopped as well that there is nothing in the executable file for the new version rejected by the BitDefender So please .. please .. please .. let us choose or make you part as a prof and when you...
The for loop below v3[i] Is there any reason to create a conditional comparison instead of directly assigning v3[i] = val3; ? IE one vs the other below: for(int i=Bars-1; i>=0; i--) { val3=iMA(NULL,0,40,0,MODE_EMA,PRICE_CLOSE,i); v3[i] = val3; // vs conditional below if...
Hi What function is used to move the custom indicator further away from the candle on the charts. For example: SetIndexArrow(0, 241); SetIndexStyle(0,DRAW_ARROW,STYLE_DOT,1,Blue); SetIndexBuffer(0, v1); SetIndexLabel(0,"Resistance"); This produces and up arrow for a fractal, but the...
Hi, I am surprised that I do not come to a simple algorithm to obtain the net price of a hedge position. e.g. 2 diffrent EAs, one for long-trades and one for short-trades: [EURUSD] Open positions: Buy 3.0 lots@1.3515 1.0 lot@1.3525 Sell -6.5 lots@1.3540 -1.0 lot@1...
[Deleted]
My broker did not update to builld 600, can some one send me a link to it Thank Tou
Hi Forum, I created a small indicator printing the spread as a label-object. It works fine. I just have a technical question: The label-object is printed with every tick. Is it a problem when the object is printed and printed again? Is is "better" to delete it before creating it new? I do it this...
I get the error 1 parameter for ArraySize function must be an array with a particular broker. How could this be explained? double _V[],_value; if(ArraySize(_V)>0) { Print(" V value:.. ",_value," V first:.. ",_V[0]," V last:..",_V[ArraySize(_V)-1], " V max:..",_V[ArrayMaximum(_V,WHOLE_ARRAY...
[Deleted]
Hi, I am wanting to know if there is an EA for the following scenario I have an open BUY position that is currently running at a loss. Im bullish on the position in the long term but the loss at the moment is getting bigger each day. I want to open a sell position of the same lot size once it falls...
I noticed that on my daily charts that I am getting 6 daily candles per week (mon - fri & sunday). Since the market is only open for 2 hours on Sunday, I feel that is skewing my indicators such as the stochastics & macd. Is there a way to merge the Sunday & Monday candle?
Hi, does the new build allow to use external DLLs - http, mysql requests? My scripts completelly stopped working after the latest update.... Thanks. JN
Hello everybody, I'm working on an EA which using MqlTick and SymbolInfoTick function to get tick data but I don't know how do back test to get reliable result so please share with me your knowledge in this topic Thank you
Hello again What is your best formula for finding fibonacci highs and lows. I have this one that works for me but It draws from windowsfirstVisible bar.. What is the best formula you have found for these highs and lows? int fibHigh = iHighest(Symbol(),Period(),MODE_HIGH,WindowFirstVisibleBar()-1...
Who is the best coder to look at with the most profitable expert advisor that trades with time instead of price. So I mean you trade now and you exit in a few minutes calculated by a formula. What is the best formula for this and who is the best guy with the most profitable expert advisor to look...
Hi say for example I have file with these signals. Open Date,Close Date,Symbol,Action,Lots,SL,TP,Open Price,Close Price,Commission,Swap,Pips,Profit,Magic Number 01/28/2014 15:00,01/28/2014 15:28,USDJPY,Buy,0.18,101.80900,103.65900,103.00900,103.07500,0.0000,0.0000,6.6,11.53,469222 01/28/2014 11:29...
For some reason my EA's files are no longer being read in the new editor. No error messages, but it doesn't get done. I presume it's a location issue. I started looking for information, can't find any. Does MT handle this now or do I have to specify where the folders are, till now I haven't had to...
Hi, Recently i have integrated the use of MYSQL Database to an EA and it is working fine. Yesterday, the MetaEditor updates to build 600 and when i compiled the EA and run it on a terminal, suddenly error comes up on accessing MYSQL Database... Does the build 600 not compatible on MYSQL? I hope the...
https://www.mql5.com/en/charts/1405842/usdjpyf-m1-one-vector-group?bind=1
I am new in EA programming and so happy when I first develop my first EA by reading from this forum. However my EA though doing what I like it to do been very efficient in trading every opportunity as instructed. When the market is volatile it trades so many in a day offsetting profit resulting in a...
I tried the following but it didn't work. The error in compiling says it expected each case to be an integer but I have strings such as "USD", "EUR", etc. double USDBalance;switch (AccountCurrency()) { case "USD": USDBalance = AccountBalance(); break; case "GBP": USDBalance =...
Dear Brothers I founded a bug I was using this code to export the data file to c:\Data before updated to build 600 #import "shell32.dll"int ShellExecuteA(int hwnd,string Operation,string File,string Parameters,string Directory,int...
[Deleted]
My antivirus has picked up the Metaeditor portion of the new build as a virus and deletes it. The file name picked up by Trend Micro is "C:\ProgramData\Metaquotes\WebInstall\mt4clw.png\metaeditor.exe" When I go to the WebInstall folder this is what I have ... inside the mt4clw folder is this why...
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.