Download MetaTrader 5

MQL4 and MetaTrader 4 - page 362

To post a new topic, please log in or register
hi guys :), I'm looking for something like this <Link removed by Moderator> I trade Spreads like 1 Dax long vs 3 Eurostoxx short, just need a tool to manage order entry and P/L Bye Simon ;)
I have loaded and am testing an EA on 26 pair charts in a MT4 account. Whenever i edit the preset file, and save it, i am copying the preset file to all the 26 charts which becomes very time consuming and cumbersome. Is there a simpler way to do this? I want the edited and saved preset file to...
when running an EA you see the orders and tp lines There could be a right click filter feature - where you limit the visual lines shown to orders generated by that ChartID So you could choose to turn this on or off for each chart. i.e. if you have one chart trading long only and another trading...
Hi, I just have started an optimization with: Expert properties -Testing Tab: Optimized Parameter: Custom & Genetic algorithm, and in the EA I wrote: double iniAcct;int init(){        ...        iniAcct = AccountBalance();        ...}double OnTester(){        return( (AccountBalance()-iniAcct) ); //...
I swear the other day I saw a time and sales box pop up (something I did accidentally) in my MT4 platform was I hallucinating it or does something exist?
After the message is shown, I then can log in but all of my chart setting will be gone. I have Mt4 on my iPhone either but it never has this problem. Can anyone help please? Thanks
I need to know the time when my EA started. I looked at the sleep function but is there any way?
  Great EA (2)
Hey, I try to combine two great EAs but I dont understand why the EA actually reduce or rise the StopLoss to Loss. Thanks for help! #define MAGIC 20130704extern string TOOLS = ".............................................................................................................";extern...
I want to draw an ellipse on the chart to the fixed coordinates x1=250 y1=70, x2=250 y2=120 (in pixel). This is the code: ObjectCreate("Insegna", OBJ_ELLIPSE,0,0,0); int x = 250, y1 = 70, y2 = 120, sub_window; datetime time; double price1, price2; ChartXYToTimePrice(0, x, y1, sub_window, time,...
Hi, I have a MT4 demo with pepperstone. And from this afternoon, MT4 hasnt been working for me. It says "Invalid Account" and so I create another account and get the same message.. I downloaded FXCM's MT4 and get the same issue. Just wondered if anyone else was suffering the same, and if not, what...
The problem is that as we don't have H2 H3 custom time frames so am using Period converter to build charts in offline mode its working like a charm but the problem is that when I disconnect the terminal the connection gets broken and I get a lost data gap it is not refreshing or building the right...
Hello there, Since the new build when passing a string to my c# dll I get buggy results. My mql4 code: #property indicator_chart_window#import "ClassLibrary1.dll"   string scanner(string pattern);#import //+------------------------------------------------------------------+int init(){...
There seems to be a problem with reloading of old EAs (compiled with build <= 509) on build 610 of MT4 when the timeframe of a chart is changed. [Also submitted to Service Desk.] In the following example code, the glbLastServer variable is corrupted if an EA is reloaded by changing the chart...
Hi All, Have created simple EA for automated trading but it seems that not easy to achieve consistent profit. Please advise is there any EA in the market that can achieve consistent profit? Manual trading really takes up lots of time of having to sit infront of the PC watching the price movement....
Hello, How can i make backtests with 100% modeling quality ...? Kind regards, Wouter vermeersch
Good afternoon, I've down loaded the new version 600 trader, and i've copied an EA across to it, opened it in the new editor, made the changes it has requested, compiled it, and finally got it into the new Trader. When I try to run it, or drag it into the trading window, it, says that "is not expert...
First of all, I love MT4 and I appreciate the function for using signals to profit from other traders. This is a great system if it works as decribed in the documentation. Please fix these 2 topics: 1. Lotsize percentage can not be < 1% In my journal I see the lotsize value conversion percentage is...
1) actually I am optimizing on b614 and I found a bit a weird thing. The Optimzation-Results-Tab shows the 'old' columns: Pass, Profit, ..., Drawdown $, Drawdown %, Param.-1, Param.-2, ... But if I (mouse-menue) copy-all (Alt-A) and paste it into my excel-sheet I have an additional column between DD...
Hi all, Not too sure what I am doing wrong but I have been trying to optimize this EA, but it is not showing any information in the Results and Graph tabs... I have downloaded History Data and have run the EA in Visual Mode, which works really well...but do you think I can find out why OPT doesn't...
Hi While I run this command with a new broker, I am getting the order window instead of executing the market order. if (GlobalVariableGet(gvariable) == 2) {      OrderSend(Symbol(),OP_SELL,0.01,Bid,3,0,0,"My order",16384,0,clrGreen);      GlobalVariableSet(Symbol()+Period(), 0);   } But in other...
Hello i've tried to write in code this: when K% line of stochastic(80,30,30) > 75, look back 36 bars (34,shift 2) and draw a H_line "tomato" from the highest high to current bar. when K% line of stochastic(80,30,30) < 25, look back 36 bars (34,shift 2) and draw a H_line "olive" from the lowest low...
  Why not filling? (12   1 2)
I see 2 lines, but not filling. //+------------------------------------------------------------------+//|                                        Sell_level.mq4            |//|                      Copyright © 2004, MetaQuotes Software Corp. |//|                                       http://www...
When upgrading to Build600 you see this message "Old EX4 files work correctly and exactly the same way as before". HAHAHAHAHAHAHA! So why is my application not working in Build 600 and it worked perfectly on Build509. I have not changed it or re-compiled it. Should not have to according to this...
I am a relative newbie to MQL4, and I am not a programmer by training, but I had developed a number of rudimentary robots before the updated version of MQL4 was released, mainly just to give alerts, but not to place orders. I have developed two robots since then, and when I attach them to the chart...
Hi everyone, When I convert data say M1 into different TF and then covert to say NY-time, I think I have to make sure that time rule of the broker is NOT changed so that the adjustment from H1 to H4 and then D1 is consistently correct. I wonder which broker doesn't change their time In case all of...
Hi, I have been searching for an EA that would open a trade in a similar way as a trailing stop would work. Let's say I am waiting for a retracement on an instrument. I would want to open my trade as high (or low) on the price as possible. So with an EA like this, I would be able to set my trade...
Hi, I have been searching in all of the MT4 folders (build 600) trying to find where the settings for a EA are saved once the MT4 is shutdown. When metatrader is opened again the settings are load with the last changes... but I can´t see from where MT4 is loading them. Any ideas?? Thanks in Advance...
How to set all charts with same template's TPL file. There is a command for it?
I want to start trading a new system and since i am new i would like to backtest it. the problem is that i have a mac and i cannot seem to get the f12 function to work. I have tried changing my mac preferences to activate the functions but it only shows my dashboard when i press f12 Has anybody...
Again more problems :( This sweet little snippet of code would kill my complete existence: void OnTick()  {//---        static bool isSell = false;        if ( !isSell && TimeCurrent() >=  D'2013.01.25 09:03:42' ) {                ResetLastError();        Print("Befor placeLimSTP "...