generaly , if you want to get indicator data, you can use the code such as:
printf("%s %f %f %f",Symbol(),macd,macd...
Ther is a bug in MetaTrader 5 64bit it does not work on my Win 7 64Bit. I get this error The procedure entry point could not be located in the dynamic link library KERNEL32. dll. But MetaTrader 4 works.
On the website of the Automated Trading Championship 2010, we've published a new article "The 6th Week of the Championship: A Sudden Rush to the Top". The Championship is in its middle now, while the leader is the same - bobsley. However the distance between him and the second place is the minimal...
On the website of the Automated Trading Championship 2010, we've published a new article "The 5th Week of the Championship: Big Trouble in Top-10". More than a month has passed since the start of the Automated Trading Championship 2010. One third of the distance is over and bobsley is still the...
I set "EventSetTimer(2)" on the first tick only and expect this "onTimer" event to fire during backtest, even in the weekend. I can't seem to get the output on the onTimer call which I assume means it is not being called.
Below pasted a simple code for testing the problem, I use build 355....
The MetaQuotes web site does not seem to be working and the MQL 4 & 5 documentation in pdf format is corrupt. Any idea when this will be fixed or is there a phone number I can call to speak with a real person?
This is what i have tried so far, but they all don't work except for the NormalizeDouble. But, it wont let me place the (take profit) at anything lower than 1.5 lots. I would like to be able to place it at 0.15 lots.
How do you get it to place the ( take profit ) from the trade price when you...
I am looking for some help with the below code, I am trying to pass an object to a different class from a CArrayObj class using the At method which returns an object.
But so far everything I have tried gives a critical crash stating access to an invalid pointer. So how can I...
Hi guys, i have a question about editing mql4 files. Is it possible to edit them in some other editor than the one which comes with mt4? For example i write java scripts in a programm called eclipse. I like it since it shows you more stuff while you are writing ect. Is there a plugin for ecplise or...
I run MT5 on two different machines. Since yesterday the EA on one machine now generates the following message: CTrade::PositionOpen: instant sell 10.84 EURUSD at 1.36664 sl: 1.37024 tp: 1.36254 [unknown retcode 10005]. I have tried everything I know even a complete re-installation of MT5 with the...
Hi team, I am a novice coder and have had a crack at this REALLY basic indy, but cant nut it out myself. I am trying to achieve what I have shown in the picture attachment. It would be really basic for someone who knows what they are doing. I can attach my coding efforts if someone wants a laugh,...
I have 4 charts of Euro/Dollar opened in MT5, each of them at different periodicity. Each chart window is resized and arranged with some overlapping, at my taste,
When I close MT5 program and reopen it (later of immediately), the charts appear split in 4 equal squares, and I have to start...
Lately, I've often this problem happens when I restart the platform.
At first charts shows the completely black and when I go to add a new charts of the currency seems to me this:
gap and date error.
What is the problem?
I would like to know ow is it possible to define values of indicator on the OnCalculate() initialisation parameters of my EA.
In fact I have to use the Fastval and SlowVal (or Main and Signal) of the MACD indicator for calculate some values in a loop For.
For example: (sorry for the format...
Am puttin final touches on my first mt5 EA when a funny error pops up. Someone correct me if am wrong but it seems under mt5 you pay your broker not only on deal entry but also when closing a position!! This was not the case with MT4 and goin forward this situation may work with some shorts...
Hello, I would be grateful if an indicator that trails the price and gives an alert when it retraces so many pips can be made available. It would be like a trailing stop loss but will not be attached to or close any trade - just to inform that price has retraced a set number of pips. Many thanks.
Is it possible to create a report on various FX pairs based on indicators without loading every chart manually ?
The report can be in a file or the values of the indicator can be reflected as additional columns in Market Watch Table.
Forex trading is said to be the most liquid financial market in the world. And the fastest moving market. What are forex robots? Forex robot are EA, also known as expert advisory that open and close a position automatically without human efforts or control, and they work almost exactly how...
Weekly summary: 4 trades, 2 profit, 2 breakeven. The week ended with 54 pips profit. With 3% risk per trade we made 5,7% gain per week. My statement at MT Intelligence | States BIG BEN BIG BEN | Rent a Signal
The secrets of a successful forex trading in Nigeria in particular, and the world at large, lies on two basic factors; you forex trading skills and the ability to keep to your trading rules in the forex market.it may surprise you to know that forex trading carries little or no risk.however,it is...
are you wondering to know as a begginer in forex if a forex trading system could perfect your trading skills?.well that depends on the kind of system you choose.an automated system might not help you develop a reliable trading strategy.but i think a forex system that gives forex signals and analysis...
hi i want to place different pair orders like gbp/usd,eur/usd. usd/jpy
but it is taking only eur/jpy per 1 hour order
i want to change the eur/jpy 1 hr to 30 minutes in file
how to do that one
but when iam placing the orders in mql5 it is saying that order disabled
pls rectify my problem give...
CopyBuffer(band_handle,2,0,5,band_lower); //buffers number 2-lower_band
Comment (" Band lower ====> "...
I have installed many daily average indicator but sometimes is 50 80 pips difrence bettwen indicator average and the realy bar range. So i need a simple indicator to determine the highest and lowest of daily bar. See the picture