MQL4 and MetaTrader 4 - page 250

To post a new topic, please log in or register
Hello, Currently development a program that would use intermarket influence withAI, Program currently extracts forward data prices from Metatrader and has builtin Astrological engine For the past couple of weeks I have been training data with open source Artificialintelligence engine NUPIC www...
I practice to migrate a indicator. like follow. but i find a problem. the value of indicator is fixed to the last value  no matter where mouse focus.  Just like the following 2 pictures, both always shows 13.0497 how to change the indicator's value with the mouse. thank you.              
Hi Guys, Back when I was playing with MQL5 it didn't allow hedging and this was a issue for me so I went back to MQL4. I now see MQL5 is all over your face and taking over MQL4 website links...  Were should I go ? to 5 or can I stay on 4? O NEED HEDGING....its a deal breaker... 
  Is there any difference between to use "Ask" directly  and to use "MarketInfo (Symbol(), MODE_ASK)" instead? In another word,  "MarketInfo (Symbol(), MODE_ASK) " = "Ask"? "MarketInfo (Symbol(), MODE_BID) " = "Bid"? Otherwise, when are they same? When are they different? Thanks. 
Hi,  I'm really struggling with a what is most likely easy piece of code. I'm new to mql 4 so bear with me.   What I'm trying to achieve is this. Wait for the previous bar to close outside of the bollinger bands. Easy enough.  What i'm struggling with is when this has been achieved I then need to...
Seriously consider forex signals if you are not yet trading profitably, have limited experience, or just don't have much time to devote to your forex trading. From the simple one email a day variety to the forex mentor who sits with you all day holding your hand as you trade, a portfolio of forex...
  Hello All (1)
I am Skylondon and live in United States . I am professional trader .I want to share my trading life . People tend to have many questions when they are presented with something new, especially when it is related to their money. Lots and lots of questions will pop up during the first encounter. The...
PLEASE. Aonde eu encontro o arquivo metaLang.exe?  Where do I find the metaLang.exe file?   Eu quero compilar .mq4 pelo php para .ex4. Ajuda! I want compile .mq4 to .ex4 using php. Help !   Obrigado. Thanks. 
Hi, I'm working on an EA and I'd like to be able to pause trading without deselecting Autotrading Button or deleting it from the chart since it is holding important data in memory in form of arrays that are needed to continue after unpausing: I'm using the following code......
I saw in the MQL4 Document: If FILE_READ is specified, an attempt is made to open an existing file. If a file does not exist, file opening fails, a new file is not created.FILE_READ|FILE_WRITE – a new file is created if the file with the specified name does not exist.FILE_WRITE –  the file is...
Hi, I have written a dll in C# (used dllExport). The dll basically connects to a host and performs sql queries.  This dll works perfectly on my laptop. When I try to run this dll on my VPS which runs on windows server 2012 R2, I receive an error: Unhandled exception 0xE0434352. I know this is a very...
I was hoping someone would know how to check the current chart symbol....for the example below i have tested a couple of variations... such as... if( Symbol()==CADCHF) {gur=gur+1;} thanks in advance.... 
Hi Gurus, Can I get a chart event, when I click on mouse button (BEFORE I release the button)? As I experienced, the event occurs when I release the button. Thanks
Hi, Newbie here. I'm an experienced MySQL developer and am trying to get a reliable and consistent ability to read from a localhost MySQL 5.6 database. My code works, but there seems to be issues with it. First off, if I have more than 2-3 columns of data (1 row returned), it returns errors. Also,...
Is there anyway possible to restrict someone removing an EA from a chart?  I.e. a password requirement or similar? 
Hi, Is there anyone knows if I can use COM Objects in imported dll library?   If yes, how do I declare the new object to use the COM reference? 
I have an Excel spreadsheet with live data from MT4. Works nicely. Here's the problem: I am running 2 instances of MT4, (different broker feeds). Question: How can I defferentiate the 2 instances of MT4 in Excel ? My link looks like this: =MT4|BID!'#FDXU2' I thought that maybe I could somehow rename...
Hi guys, I have some problems whith an EA I'm trying to write... The EA is simple. There is and indicator that draw a down arrow for sell and a up arrow for buy. My EA will buy or sell where the arrow  appears (at the same candle). I tryed to do this but there is something wrong..... please help me....
I want to add the parameter to choose ordertype using enum or any easy funtions available! can you share your suggetion! OrderType StopOrder LimitOrder I want to do the following. currently i use both parameter, eg: StopOrder=true ; LimitOrder=false; If user choose StopOrder only pending order...
please i need to on how to protect his an indicator by adding security like password or licence .
i use: #property indicator_label1  "Myline1" SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1,clrMagenta); .................. i see such connections with lines: how to make them like this  (without the connecting lines) ?? :
Hey everyone, we wrote a short post on how to improve your position sizing. This uses R but is easily applicable to your MT4 strategy or EA. Position sizing is an important, often overlooked aspect of trading. Many traders look at position sizing as a way to decrease downside risk without seeing it...
Most traders either fall into the technical analysis camp or the fundamental analysis camp when describing their trading strategies. However, both technical and fundamentals play pivotal roles in driving the fx market. Incorporating both types of analysis into an EA can be difficult due to the...
Hi, I triying to read data from metatrader 4 with my app (on vb.net) I catch data with DDE but it is only bid/ask/high/low. I want to read realtime data for finished candles (M5 and M15 etc) How can i read from metatrader 4   Thanks in advice.  
New article Evaluation and selection of variables for machine learning models has been published on mql5.com: This article focuses on specifics of choice, preconditioning and evaluation of the input variables for use in machine learning models. Multiple methods of normalization and their features...
Hello,   I've got a question more about MT4 itself then on mql4 language. I'm wondering how the folder management works. I tried to change the name of the installation folder of a terminal, and when I started it, it had candelled everything, it was like a new terminal just started for the first time...
I want to be able to have tooltips appear when hovering over graphic objects (created using a canvas object). This facility is available for buttons but not for custom graphics. I was just wondering if anyone has implemented this feature.
Hello Forum, I would be curious to have a look at the actual code behind the MT4 Strategy Tester, so that I could get a first-hand understanding of how the numbers are computed. I'm looking at analysis of gains vs. losses now (average, %'s, totals, etc.) but there are some other grey areas too.. Is...
Hello, I have an Indicator, which use the Functions High, Low and Close. Now I want to change it. I want to add the parameter "Timeframe", so that I can put the indicator on the H1 chart and see the indicator for the M30 oder D1 Timeframe. Is this possible? How can I do it?!