Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1112

To post a new topic, please log in or register
Does any one know how to remove an EA programing. I want to remove EA completely (not disabling). Any one knows?
i'm trying to copy trades from one account to another but the symbols on the ibfx account all have the M at the end and the other account does not. is there anyway i can have the ea modify the symbol name before sending it across?
Is there a suggestion box for the next release anywhere? The use of the 2D surface in the Strategy Tester Optimization Graph is a neat tool for assisting to identify better settings for an EA, but all the results are shades of green regardless of their result compared to the original balance. Yes,...
How to create an indicator that show the opening and closing of a specific market with is range, for example, US 1430 to 2100 GMT, instead of drawing lines all the time. and have a shaded area if possible.
I did something today that made my chart data shift to the left.  It doesn't matter which periodicity I select.  Sometimes it 'looks' like it's right (until you look at the date range on the bottom), but then I click and drag to the left in the chart window and the data keeps coming because for some...
I've tried looking for the answer to this but could not find it. When I use a Print statement in an EA or script, where can I see that output once the code has been run? I'm inside I'm using FXDD and have looked in the Journals and Experts tab but can't see it. In the Metaquotes editor panel, there...
Help! All of a sudden all the fonts in my metaeditor help winodw are HUGE -- so big i cant read anything. I tried changing the default font size in IE but they are still much bigger than they have ever been. Is there any way of fixing this? thanks... Here is a screenshot:
Simone Ambrogio
Hi, DDE or whatever. Is There a protocol for obteining the same as for historical quotes(History Centre): that is to say, downloading indicator output bar-by-bar? Thank you so much, SA
Writing a script for a monthly pivot indicator that has time shift has been tormenting me for a while. I have not been able to come up with a way of programming such an indicator. Does anyone know of one that works or have any idea how I may be able to go about making this indicator? Thanks a bunch.
Hi all, I try to write an EA code for buy array but I can’t get it works if you can help me out with the code I’ll greatly thank you... This is what I try to do, if previous buy price is 1.75, then current buy price must be 1.76 sound simple but hard for beginner ..please help!
I am new to MQL4 and have looked over some forums. Is there a program that will convert Trade Sense language into MQL4. Also, can I have multiple entry and exit strategies in one trade system? I have an entry condition which I need to code if anyone can help IF High >= Highest High (20) And RSI...
Hey, if you like to know how to handle complex APIs structures such us SHFILEOPSTRUCT, take a look at file SHFileOperationTest.mq4 file at Handling Forex with MetaTrader Tags: SHFileOperation,APIs,DLL,SHFILEOPSTRUCT,MetaTrader
  Ideas anyone? (2)
Hi there. Since most of U have been doing this for way longer than me I though I would as U for some advice. (From zero to here in 1month and a couple of days for me) I've been working on an robot that simply opens a buy/sell when all of the Heikan Asih smoothed (wrong spelling) is in an buy or...
If I have a MACH setting 5,35,5 and a STOCH setting of 6,3,3 and I wanted to flip the stettings on there head, what would the settings need to be. To clarify : I would like to see the current settings in reverse. Thanks
Hi, I'm new with mql I'm comparing signals of an indicator in M1 and M15 windows. I was trying to put at M1 window the indicator with M15 time period when I found some problems. Am I wrong or a signal for M15, i.e. at 15:30 contains the values (ticks) from 15:30 to 15:44?? or does the value for 15...
I cooked up some new code becauseIt would be cool to develop a function that returns the price of resistanceI'm lame and I have nothing better to do on a Saturday than think about forex  Plus, I think you guys will be able to improve on it. This attempts to find prices that have exhibited resistance...
for(p=LowestBuy();;p-=0.0001) This gives me 'unbalanced parenthesis' errors when I try to compile it.  Can you do for loops based on a double data type in MT4?  If so, what am I doing wrong?
  Short Term Momentum (13   1 2)
On 2008 Currency Trader Magazine dedicated three articles to this system. Based on 10 years published back testing we could say results are very promising. We had only one problem. The special momentum indicator needs to be developed and igorad do it in no time . In general terms, the setup is: 1....
This time I need to change the bar color in my chart window by the changing value in a custom indicator (MACD & SMA). How to do that ? can anyone help me in this respect ?? I'm implementing some code as strategy, so i need it !!! Thanx in advance for getting help from u guys. A simple example will...
Below is the same basic code calculations. The first set of code is an indicator. The second set of code is an Expert Advisor. When I print the values of MacdBuffer and SignalBuffer, the value of SignalBuffer is different in the EA and the Indicator. I do not understand why it is different. I must...
I'm using FileWriteArray/FileReadArray to store some data that I need. But I'm stoing the data as a comma-delimited string because I need to be able to store multiple values. When I get the string back from my file, how can I parse it? I started this project assuming that there would be a "split"...
Hello All Anyone knows whether the WindowScreenShot () function is supported under the backtest mode? I cannot locate where the GIF file is saved and I doubt whether the backtester is executing this function, and the funtion doesn't return any error code as well Thanks Thomas
On the website of the Automated Trading Championship 2008,an article Reporting the 8th Week (17-23 November) has been published. The eighth week is over. This week was not lucky for Gorez's Expert Advisor - it left the first place. And he was an unchallenged leader of the contest for the last...
Can anyone help me with this? It compiles but does not work.....maybe I have something in the wrong place or wrong syntax? Thank you in advance...... extern double My_Money_Profit_Target=60; //The amount of money profit at which you want to close ALL open...
  No connection (1)
Have been using Mt4 successfully for about a month. This morning I get a message 'Invalid Connection'. Now it just says 'No connection' . Have tried changing the servers found under the log in bar, but no go. Any good ideas anyone ??
Hello Dear Friends, I need help. You can export data as IFR, volume, etc. for the Excel via DDE? How? Thanks for your help. Paulo
do u guys, got same problem too? When i click "save" there's nothing files inside folder! please explain to us, why this problem occurs! regards, MANSTIR
Hey guys, Really its a good place to know about MT4. Can anyone tell me, How to add 2 or more custom indicators in a single seperate window? thanx in advance.
  add colors!!! (2)
Hi guys, Can anyone tell me how can i change the color of my chart candle sticks??? thanx.
  automatic stop placement (15   1 2)
I would like to have a fixed stop order opened whenever I take a position. For example, if I buy at "x", a stop order would automatically be generated at "x-y". "x" is the entry price. "y" is the number of pips I am prepared to risk on each trade. If I sell at "x", a stop order would automatically...