MQL4 and MetaTrader 4 - page 1034

I am using the code below to check a log file. Most of the tickets I would expect to have been closed sometime ago and I would therefore expect the code to take the 'else' route but the FileWrite suggestions otherwise while ( FileIsEnding (My_FileClose_Handle) == FALSE ) { temp_string =
  Martin plus loci  (136   1 2 3 4 5 ... 13 14)
The main thing is not to spit, it's a bad idea in a vacuum of ideas. Much has been written about Martin, and its main drawback - increase of the position volume in exponential progression in case of bad outcomes. However with respect to our rams, the increasing of the position volume can be
Here is code that works on EURJPY but does not generate a signal when applied to other symbols such as EURGBP. Help as to why
[Deleted]
this indicator repaint, i edit i=1 but not showing line.
I'm consistently having problems setting both the 'LINE_WIDTH and LINE_STYLE in the SetIndexStyle function. I'm following the info and examples in the MetaEditor, but.... )< 8( #property indicator_color1 Aqua ....... ....... int init() { SetIndexStyle(0, DRAW_ARROW, STYLE_SOLID, 5, Aqua); //...
[Deleted]
  HELP.  (2)
Please MQL4 community I need your help about auto trading. Can anybody please help I am new in forex.
Hi, I'm having a problem using series variables in an Expert Advisor. I can't seem to work it out. I know how to do this in an indicator, but things seem to be different in Expert Advisors. If I do something simple like this double myVal[]; int start(){   myVal[0] = 100;      Print(Time[0] + " ,...
A friend of mine coded a custom indicator, and gave it to me. It works perfectly well on his PC and other peoples, but not mine. It doesn't give an error or anything, it just doesn't work the way it's supposed to. If anyone can give me advice or pointers on how to get them working properly, that...
[Deleted]
Send us your suggestions on our site on what we should include next in our free downloads!!!
[Deleted]
double ffUpperChannelValue;double ffLowerChannelValue;int start(){        //Controls number of Bars   if(Bars < wideChannel)       return;       if(barHasChanged())       setValuesOnBarChange();  //set values for global variables        /*         //EXIT   if(OrdersTotal()>...
If you would like something coded, I can code it for you. Price: If I have little else to do, then I will do it for free. If I am busy then I will ask you for money. (Today on 24/10/2010, I have plenty of time) About me: I currently work as a programmer, I teach programming, I am studying a...
  Chart Problem  (4)
Hello everyone.. wish that someone would help me to figure out this issue. As you can see on the picture the candle stick jumped from13/1/2012 to 8/5/2012. Can someone guide me to solve this issue. Thanks in advance.. :)
Hello Everybody I'm using MQ4, build 432, on Win7 Ultimate. When I start MetaEditor, and highlight some code, and then <CTRL>C to copy it, MetaEditor crashes. Of course this happens without saving ANY work I have done so far! Does anybody know about this problem, and is there a cure? Regards
Modification of "Close at Profit", this EA has the option of closing when a currency pair take a benefit = X, now I have done is to do the same but, I separate trade Buy close at X & trade Sell close at X independent. But i dont't see where is the error. I see the text in chart but 0,00 i don't see...
hello,, could any one please suggest a good but cheap programmer to do predefined pattern recognition expert advisor thanks in advance
After a long three weeks of work I havebuilt my own custom indicator and am happy with the on screenresults. I have been trying for the last two days to output a returnvalue to an EA without any results. How do I get it to return a value tomy EA like iMA does? FYI my EA is the simple expert...
Does anyone know is there any ready formula for t scoring in mql4 to to rate the system/indicator?Thanks.
In his paper http://www.priceactionlab.com/Literature/profitability.pdf Michael Harris represents the profitability rule as : w = pf/(pf+R) where pf = profit factor, R = payoff ratio and w is the win rate. How can I convert this into a code in the expert advisor?Can anyone help?Thanks.
New article The Golden Rule of Traders is published: In order to make profits based on high expectations, we must understand three basic principles of good trading: Know your risk when entering the market; Cut your losses early and allow your profit to run; Know the expectation of your system –...
[Deleted]
Hi All, I am new to mql language and took an attempt to create my own EA based on various pdf and forum here. I have managed to built an EA that works in strategy tester but when I put it to work as EA then it does not open any trades. When I then test the same day in strategy tester - trades are...
Please help on building a function like: double BidAtTime (int time) (where time is the number specified the time, detailed to seconds (example 2012 June 15, 14:28:19). If you hesitate to help with the complete coding, then just guide me on the algorithm Description of the idea: BidAtTime...
[Deleted]
  EA not working  (3)
My EA is not working for some reason, please help? Had it running for 7 - 8 hours but still no trade initiated ><
This is displayed at the bottom-left corner of MT4 platform: Please kindly explain each symbol and number. Thank you.
[Deleted]
Hi, I've just changed brokers and my new broker doesn't have a have a MT4 Android (xogee) application. I went ahead and downloaded MetaTrader 4 Mobile by metaquotes and what a disappointment it is!. It's pretty much useless. There's no ability to: Zoom into charts to check the...
How do I have to change below code of that histogram code in order to be able to drag n drop that indicator into an existing cci indicator window? When I do it now it shows: It should be like the above sidewinder indicator at top (yellow, green, red), only a small "line". (shown at bottom of cci,...
[Deleted]
Hi, Please pardon the question, if it is too trivial. I've noticed that in MT4, some currencies have data for a particular date and time (in the past) while other currencies don't (i.e. the dates and times don't always correspond). Is there a way to get all currencies to have data for one set of
MetaTrader 4 Client Terminal build 419 Terminal: Fixed display of dialogs in the case of incorrect or corrupted settings of the dialog coordinates. Now the dialogs are never displayed outside screen coordinates.Terminal: Fixed terminal crash during shutdown with one of the dialogs open (list of...