MQL4 and MetaTrader 4 - page 1306

I am running my TrendWhipsaw EA on two computers for two cross pairs, EURUSD and AUDUSD. I normally stop the EAs once the profit hit my target profit of 100 pips each a day. Regularly, once or twice in a week the profit never comes but the loss just getting bigger so I have to run till getting out...
Hi, I am using Windows 7 and recently installed Meta Trader. Every time I open Meta Trader I am receiving '1607182': connect failed [Invalid account] message. So i cant log in using my account details. Is it because of Windows 7?
[Deleted]
I just saw the following occur in some [double related] code I'm writing. EDIT: Removed since it contained incorrect info This is real bad. That means, the only way I can do the above comparison safely is EDIT: Removed since it contained incorrect info And if I wanted to compare for equality (for
  "meters" ...  (69   1 2 3 4 5 6 7)
Not a new idea, but since we do not have something like these ... And I was wondering is it complicated to make one ____________________________ In this thread indicators that can be called "meters" will be posted. The "meters" in this case refers to a certain way of presenting data. More or less it
[Deleted]
I’ve lived through several recessions and one thing I have learned is that the economic structure of our society is about supply and demand. Look at your own life, your daily activities and consider how the theory of supply and demand affects you. Take milk for instance . If your local grocery...
New article Practical Application Of Databases For Markets Analysis is published: Working with data has become the main task for modern software - both for standalone and network applications. To solve this problem a specialized software were created. These are Database Management Systems (DBMS),...
[Deleted]
Is there an easy way to get the current value of an indicator in a chart sub window? Seems like it should be so easy... WindowGetValue(winId); If I can not get a value from a window, how do I figure out what indicator is running in a chart sub window so that I can call iCustom? Thanks! Matt
[Deleted]
I am stuck and not sure what I am doing wrong. My EA is reporting a OrderModify error 1 on almost every tick. I am trying to get the EA to modify an order when the "entry" variable changes from the OrderOpenPrice(), which was originally opened using "entry". In the past to check values I have...
Does anyone know why there is an one year gap in the GBPJPY data when the data is downloaded from Metaquotes server? You can see this for yourself in Tools -> History Center - > Group 11 (GBPJPY) -> click on 1 hour (H1) and look for March 2004 to December 2004. They are not there. Winsor
Why does MetaTrader repeat the start function for every second? It does that to my code: //+------------------------------------------------------------------+ //| alanFirst.mq4 | //| Copyright © 2010, MetaQuotes Software Corp....
[Deleted]
In MQL4 Documentation is this code snippet to illustrate the use of Symbol()... int total=OrdersTotal(); for(int pos=0;pos<total;pos++) { // check selection result because the order may be closed or deleted at this time! if(OrderSelect(pos, SELECT_BY_POS)==false) continue;...
[Deleted]
How do you convert a source code into an executable file (.mql4) using Meta Editor?
[Deleted]
How can I check to see what has happened with my last order, whether it has hit the TP or the SL or whether it's been closed and I need to know if it's still open as well
From www.molanis.com. Check our video tutorial https://www.youtube.com/watch?v=BTqqbwBhrjg
Hello all, I tested my simple EA on MT4 startegy tester. I noticed that my EA is too good to be true so I decided to look at details and here what I found: My EA tested on H4 period wth EVERY TICK (best) option. 1. EA sent SELL STOP order at 1.6116 on 2010.01.04 00:00 am with SL 1.6196 and TP 1.6035...
Hi there. This is a EA that I'm working on. It's in the "play with" stage now and I though I would make it open for everybody to play with. How this works. Al the changes takes place here: // PLACE ORDER if (OrdersTotal() < 1) { //if (m1==1&&m5==0&&m15==1&&m30==1&&h1==1&&h4==1) if...
If so, has anyone manage to make a call / read to them. It's to populate all symbols available from a given broker... TIA
[Deleted]
hi to all, what i want to do is, a custım indicator that has two color .one variable is ima(...)-ima(..).this is macd u know.The second variable is imaonArray of macd.if macd is above the imaonarray line color becomes green.İf below maCD LİNE İS RED.tHİS İS AN EASY TASK BUT i think i miss something...
New article Migrating from MQL4 to MQL5 is published at mql5.com: This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows...
  Profitable Platform crashing  (18   1 2)
We have 4 live accounts with a broker who will not be named for legal reasons (a major one). Of the 4 accounts, they are trading the same EA but one is more aggressive. The aggressive one is up about 5% (was I should say). The others are flat, as they have just started last few days. The...
[Deleted]
Hi all, I ran into a problem that the optimization does not take into consideration of all possible scenario. I found out because I have a particular set of input values that give pretty good result. But when I ran the optimizations, I couldn't find that particular set of input. In journal, I found...
  What happened to Doe last night?  (170   1 2 3 4 5 ... 16 17)
I don't actually follow him, but I saw him on the news today: Snob link is right here . Here's another picture - from MT4
  MT5 tester available!!!!  (95   1 2 3 4 5 ... 9 10)
HOORAY! --- The weekend is gone ;)
Hi fellow Brothers, Recently, i've design an indicator for support / resistance line using zigzag methods. Now, i want to add some features as possible target line for GBPUSD range within support/resistance line as per below picture. attached is my code. hope anyone can help me on this. #property...
[Deleted]
I am trying to run a script that will collect data in an array and then analyze it in excel. The problem is I don't know how to get it to excel. I have tried both http://www.fx1.net/excellink.php and http://fxdialogue.com/ and neither of them work for this solution. My arrays are 100,000 by 20...
[Deleted]
Hello. I would like to inquire about auto update system of MT4. When the system of MT4 was improved newly, a massage "Click this button for Update " appears in opening MT4. I am trying to make a completely automatic system also including with rebooting PC . But when this massage appears it cannot...
  Functions A-Z ?  (4)
I remember reading in someones post the mention of an MQL4 Functions A-Z document I have tried searching the site search for it but I have not been able to locate it does anyone have a link to it ?
Hello, My trading strategy is trying to utilize percent of equity, where as once I start seeing millions in balance, using a standard account with 10,000 initial balance, and lot sizes of 400-600 I'm getting stopped out. My question is could it be possible? Could it really be draw-down or the
Strategy Tester Report AlpariUK-Demo (Build 226) SymbolEURUSD (Euro vs US Dollar)Period30 Minutes (M30) 2001.01.01 00:00 - 2010.05.12 23:30 (2001.01.01 - 2010.05.13)ModelEvery tick (the most precise method based on all available least timeframes)ParametersFixedLotSize=10;Bars in test116635Ticks...
Hi, This post doesn't really have much to do with mql4, but here it goes anyway: I've spent a month developing the latest EA, and this puppy does seem to have some potential... I get roughly the same result testing with Ticks and ControlPoints, and the results are very nice on backtest, and this...