Download MetaTrader 5

MQL4 and MetaTrader 4 - page 757

To post a new topic, please log in or register
  EV Problem (2)
MQL4 EV Problem A strange new error has appeared in my EV’s. When I load any EV I get the following sequence of messages: loaded successfully; deinitialized; uninit reason 1 (or reason 5); removed. I urgently need to solve this problem so I will be grateful for any help
In the data window, what is "volume" based on? For example, on a typical 5 min bar in the EURUSD, there volume might be 160 or so. What does the 160 represent? Thanks!
Hi,I write data into file, then read it, But I just can write,can not read,how I can do ?              int handle; bprice=1.3560;   handle=FileOpen("mo57", FILE_CSV|FILE_WRITE, ';');    if(handle>0)       {         FileWrite(handle,bprice );         FileClose(handle);       }             double...
I am looking for help in trying to "call" this indicator (see attached) from my EA. icustom does not work because this indicator does not use buffers to store the values. Does anyone know how I can "Call" this indicator using an EA and get the values or does anyone know how to add buffers to this...
Hello Metaquote, i got attracted to mql4 platform because of the automated trading opportunity, but i am having problem coding my strategy to a robot, my strategy is to buy when the stochastics are below 80,and sell when they are greater than 20, but all my efforts have proved abortive, i have used...
Hello members, Your help would be greatly appreciated. I am using the OrderSelect() function to cycle through orders for various reasons, however, when I do, the EA begins to affect trades on other currencies and magic numbers. I believe this is because when the OrderSelect() function exits, it sets...
Please can anyone tell me if there is a way (or technical indicator) I can move cross hairs on one time frame chart I can see the cross hairs on another time frame?
Hi expert, I'm was running EA for Automatic trading and it running find in Demo acc. but facing problem to start running under real acc. any idea...why ?
I googled this for many hours and could not find a single broker that charted gold in yen, usd, and euro. Are there any that offer this? example - gold in yen, gold in usd, gold in euro.... I need them to have them all not just one or the other. thank you
This is a simple expert to check indicators values. The expert get a iSAR indicator, send its output to a function. The function doesn't change it, just print it and returns same value back to start(). Back in start() the value is print it again. The same is done for Open() in a second function. How...
Hey all =) I have a little doubt about indiactors... Can i use the force index indicator results in my ea by some way? I'm trying to use it for helping the decision of buy-sell. Thanks =)
All, Maybe it just has to do with the fact of being a newby to Meta Trader 4, but is it possible to have the Graph Output (Showing the bid and ask lines in blue and red) from the order menu into the main chart for a symbol. I have seen there are loads of custom indicators which can be added to Meta...
This strategy is extremely simple and I use it to detect opportunities and it is very good. If you open an H4 EUR/JPY chart and you insert the Bollinger Bands(20) indicator, if you observe the chart you will see that the bands are simply a Resistance and Support.The Upper band is a Resistance and...
Here is a very basic overview of a role of a Stochastic indicator in the Forex trading. Knowing exactly what to expect from Stochastic, if you ever plan to add it to your own system, will affect trading results dramatically. For this trading method:Entry rules: Buy when the faster moving Stochastic...
Hi I have an EA that uses ATR, and I have modified the standard metaquotes indicator so my EA can read the data from this indicator, I am new to coding and the Atr returns a value of 0.0000, you will see I have iATR as a backup also: double Atr(int shift){   string gvName    = "AtrForAntony";...
Hi! I'm writing a school paper about market attractiveness for automatic trading algorithms, EA's etc on Forex Exchange. Since their are no surveys about this from what i have found(?). I would be very appreciated if I could ask you members on MQL4 community a couple of questions. The goal of this...
Hello to the MQL community, I'm using the ZigZag indicator for my strategy and building an EA for that porpuse. Is there a way for getting info. from this indicator? The info. that i need, is the price at the last top "zigzag", and the price at the last bottom "zigzag". I enclose a picture...
yes sakis that is true they use dollar index to trade. We use the same in the place that i work i think is very good it can show you the direction when it crosses with the other price. And you buy the one product and you sell the other if you henging with out losses
Hi, If I want to put a comment in the upper left corner of chart, I can use the Comment(...) function. But is there any way for an ea to read what the comment is for the moment?, like a GetComment() function or similar. Best regards Grufgran
hi, I would like to understand why does MT4 draw an EMA line from the very First bar. I always thought like other MA's there must be some calculation points before the first EMA is finally calculated. Look at the pic below: I reduced on purpose the Bars in the Chart to 35 so to see all there is:...
Last night my MetaTrader client crashed. Here are the crash-log: Filename : mt4clw.65F8BA3D90FC34B655214EEE1B3F96F8 Time : 2011.03.28 23:16 Program : MetaTrader 4 Terminal Version : 400.392 (16 Mar 2011) Revision : 2119 OS : Windows 2003 Server 5.2 Service Pack 2 (Build...
Hi all, does anybody know of a script that was once on the site, that removed the active border around the live chart.. The top part where the close/minimize buttons are. i am guessing it was some type of winap, I have tried to search but my searches here always come back as not found.. I have also...
from a traders point of view ! Imagine a speculative trading strategy that is guaranteed to make money 98% of the time. Are you interested? There are many ways to accomplish this. Here is a stylized example: You draw a card from a 52 card deck. If it comes up any card other than the ace of spades,...
Is there any way ro to use Standard error chaNNEL in my ea?
I have a five digit broker. In my EA when I tell it to Alert(Ask) it only shows 4 digits comapred to the chart which shows 5. How do I get it to I get the Ask command to give me 5 digits? Would MarketInfo work?
Simha: B"H Hello, Upon running my EA (which makes use of a single self-developed DLL) on a single symbol, the memory consumption of the MT4 terminal (terminal.exe) is raised by ~100[MB]. Running the same EA on another symbol (additionally) increases terminal's memory consumption by ~100[MB] more....
I got this answer after several words for search, including "expert". The search returned this: Your search did not match any documents
Dear comunity! how to put to price moves in the same chart for correletion thnks in advance
I hope someone may be able too help the over works quite well however it seems too use far too much data and stops MT4 from opening or at least takes 10 mins too open. I was thinking there may be a better way of doing this may be using moving average i know i may loose some accuracy but may be...