MQL4 and MetaTrader 4 - page 1518

[Deleted]
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...
[Deleted]
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...
  Parse a String?  (3)
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"...
[Deleted]
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...
[Deleted]
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...
[Deleted]
  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
[Deleted]
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.
[Deleted]
  add colors!!!  (2)
Hi guys, Can anyone tell me how can i change the color of my chart candle sticks??? thanx.
[Deleted]
  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...
[Deleted]
I am writing a script that creates an object on a chart window.  I would like the object to be "selected" when it's created so that it can easily be moved and changed as needed.  I have set the options on the program so that all created objects are "selected"; nonetheless, all the created objects...
Hello All, Does anybody know if we are allowed to include PayPal buttons in our profile? I'm offering freelance services and I'd like to facilitate payments to anybody interested. Thanks in advance for your feedback.
[Deleted]
Dear Sirs, I want ask how I can make my EA with mql4 format to exe file? Thanks. Reza
[Deleted]
Can anyone provide some feedback on a good U.S. based broker for trading forex? I do employ an EA so I will need the broker to offer automation. Please let me know if you are trading real money when making a recommendation. Thank you all very much for your help.......... Dan
//------------ colortest --------------------int colortest()   {   string res="any string";//   return(res);   }//------------------------------------------- The code above gives compile error: '(' - incompatible types Now whats wrong with this puppy ??
[Deleted]
Figure: I have the time to quantify the price formula and the yen needed MT4 programming. I have to stay in phase with the manual measurement is cumbersome stage of the calculation. If you can achieve this complex calculation, I will contribute my capacity Of formula together with you to make MT4...
I need a little code to run not on every Tick but each time the chart is updated, e.g every 1M. Ideas?
[Deleted]
  error 4063  (1)
Hi there, I am having a problem with my EA, everything works fine but when it tries to close an order I get an error 4063, with a message saying " ticket for OrderClose function must be an integer" can any one point me in the right direction of some documentation on this problem please.....
i write an nn ea. when retrain the neural network , i need the tester pause waiting for the trainning of neural network, do we have an api to pause the tester ? thank you
[Deleted]
I wish to have someone turn the el-kanah strategy to EA. also some one to creat an EA for the midnight Straddling System. If this can be achieved it would be a good system to use during the night hours. I can be contacted on emial: akinmoraks@ymail.com for detailed information on this trading system...
Hi, writing to files has definitely some room for improvement :( very unconvenient that the Array() only writes bin-files not to csv. So to do further research in excel I have to glue everything to one string to write this liine at once to the csv. But now I would like to exchange all (us-)...
Trying out some stuff, but due to weekend close I'm running it in the tester. In the start function: hl=iLow(Symbol(),PERIOD_M1,0); ObjectCreate("trl", OBJ_HLINE, 0, 0, hl, 0, 0); It draws one (the first) hline, but no more. Have checked the price (hl) and it follows the price. It should work but it...
[Deleted]
Is it possible to send an http request to a server in an EA? For example to take care of finance news...
please enlighten me. This failes with: "wrong file name"? if ( result <= 0 ) handle=FileOpen("C:\Users\cas\Documents\Trading\eigEntw\forex\neg.csv",FILE_CSV|FILE_WRITE,';');      else               handle=FileOpen("C:\Users\cas\Documents\Trading\eigEntw\forex\pos.csv",FILE_CSV|FILE_WRITE,';');...
Can someone direct me on how to import the indicator heiken_ashi_ma_20 into my expert? Help me point out which condition qualifies for long and short in the code???? { maOpen=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_OPEN,pos); maClose=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_CLOSE,pos); maLow=iMA(NULL,0...
[Deleted]
Does anyone here know and can help me how should i write the correctDDE syntax if I would like to have 1 hour and 4 hours Open, High andLow? I tried modified the standard syntax used for Daily High low i.e.=DDE("MT4";"LOW";"EURUSD") to =DDE("MT4";"LOW";"H4";"EURUSD") but notworking. Appreciate...
I have develop a platform which makes you can sell your ea without give your ex4 file to the customer. if you have a good ea, or your are the best dealer .please don't west this chance. visit here also i have developed a nn ea. which use severial bars to forecast the next bar. the day before...
[Deleted]
I have code an indicator that works properly. However, when I place part of the calculation into an EA I get different values. I have isolated the problem to my SignalBuffer variable. I get different values in the EA than in the indicator. The indicator value is the correct value. The relevant code...