MQL4 and MetaTrader 4 - page 606

To post a new topic, please log in or register
I've developed an EA - the latest of many! - that I'm checking in the MT4 Strategy Tester (build 445). The strategy is essentially grid-based and not affected by spread changes to any noticable extent. For speed, I've been back-testing on the M5 timeframe and using the "Control points" modeling...
  Leverage (1)
I do not know anything about 'Leverage'. I am new in trading, my leverage is now 1:1000, but I can not know what is 1 or 1000 stands for. How does leverage will effect my account. Please any body tell me about leverage.
Is there someone who can help me to explain about this ebook? It seems quite interesting trading system. <attachment containing eToro broker promotion is deleted by moderator phi.nuts>
example alert(\naaaaa); 
Is it possible to get data from different charts on a single EA? I am not talking about MTF, but instead getting object names and descriptions, for example, from different charts. Example: if chart 1 has object X and chart 2 has object Y then EA that is active on chart 3 will open trade.   I've...
I am trying to test a new EA I have written in the MT4 Strategy Tester. I am looking for some bugs that I must fixed, but the Journal does not give all the data so I want to open a "Log" file under "Tester", but the folder is empty. NO log files. What could be causing the problem? Please HELP!
Can anyone offer some help in correcting this buy / sell code ? Any help is much appreciated. <SNIP>
Hi community, so after yesterdays great assistance I tried to finalize my program and added a trailing stop/stop loss part and an order closing part to my EA. But apparently often a position gets opened and closed immediately again, opened again and closed again and so on. Now my first thought was,...
Hi, I use this code as Trading Times filter . But I need to add Minute section like 09:15 ... Any suggestion ?  ------------------------------------ extern bool UseHourTrade = True; extern int  FromHourTrade = 9; extern int  ToHourTrade = 11;    if (UseHourTrade){...
Hello (again) MQL4 community. I am a newbie in search for an answer. I am trying to export the strategy tester report and I am having problems opening/viewing the output file. I am using the Oanda  - metatrader demo account.  Please  see the image below for explanation.   Basically 1. I right click...
#property indicator_separate_window#property indicator_buffers 1#property indicator_color1 Blue#property indicator_maximum 2#property indicator_minimum -2int TestBuffer[];//+------------------------------------------------------------------+//| Init...
i am trading under trade orbitz. they have just upgraded their MT4. i have downloaded and installed it. the first time i run, it is fine. but after i exit and rerun the program, it failed to connect to the server. anyone know what is the problem??? 
picture: http://www.upload.ee/image/2913828/Weird.png Third terminal(third from up in picture) is installed some time ago. Second terminal(second from up in picture) i installed recently. And first one(first in the picture) is copy of second terminal. All terminals are from same company and i...
Hello, I use this E.A, and in strategy tester work good, but when I put it on a real account, when it have to open two trades, sometimes (only sometimes), it open just one, so I cant testing in real. Could exist a code for an expert to review and correct if dont open a trade, every second? Sorry for...
I am trying to set up an EA that looks for the last two digits of price to equal certain amounts. For example, when last two digits equals "00", perform a Print function. I was able to do it by converting the Bid/Ask to a string and using the StringFind function, but this is using too much resources...
Hello everyone. I'm starting a topic on the use and experiences using Martin Pring's KST indicator in FX trading using MT4. Would welcome any comments, ideas, experiences, thoughts, observations and the like. JGF
APeng
Hello everyone! Is there a way to identify a selected object? E.g. if I double click a horizontal line, it is selected (you can move it, delete it and so on...). So what I want is to select an object via double click, my ci is recognizing the selected object and takes  it into further processing....
HI, Could you tell me why this is working only if I have only one order open at once? if( OrderType() == OP_SELL && OrderMagicNumber() == 0 && OrderLots() == 0.05 && OrderStopLoss() == 0 ) {OrderModifyReliable(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+75*10*Point,OrderTakeProfit(),0...
Hi community, I just started learning MQL4 and although there are some similar problems solved on this forum I can't figure out my problem. I started doing the followoing code to place an Order depending on the behavciour of the Stochastic Oscillator, which worked as intended: int init() {    return...
Hi all:  Im using filewrite function for first time and its working well but the output it gives into the csv file is not double values nor text, more specifically, I will get the value of the pair without comma separator (ie if its 1,323 it will go 1323) but the worst part is that if there are...
I have written a couple of simple EA's MANY months ago and just wrote a new one after all this time - but I have become very rusted. When I want to run this successfully compiled EA in the Strategy Tester nothing wants to happen. I cannot even open "Expert Properties" to set the external variables....
Hello,   STRATEGY Buy:- Buy from thebeginning of second green candle     SELL Sell for the begining of second red candle INPUT   MAGIC NUMBER   MODE OF EXECUTION MARKET EXEUTION/INSTANT EXECUTION    CHECK RESISTANCE TRUE/FALSE...
Hello, Im new to MT4 and happy to be here. The font is too small and I want to make it bigger I have no idea how to write scripts I found a script I can use at https://www.mql5.com/en/forum/129576   I have no idea where to put it. Can someone please help me, and please be specific this is a foreign...
I think I am overlooking something patently obvious here     myVal = GlobalVariableGet(Symbol()+"_ADR_R5");     double ratio;    ratio = myVal/totalR;    logInfo(FULL, "getVars", "myVal = "+myVal+"  totalR = "+totalR+"  ratio = "+DoubleToStr(ratio, 2)); The results of the print out statement...
Hi, I saw there is a few EA can replace a Chart with A Browser and showing a web pages on top of the MT4 chart.   How to do it?  I know a little bit of the background, it seems it loaded the chart with a Browser ActiveX by using the WindowHandle, but how? any example. 
Hello  I haven an EA that runs 24 hours a day and takes into account the 3 main timezone session. Here is what I usE to identify the current time zone and so it is then used to find the start bar of the session:   //+------------------------------------------------------------------+//|...
Hello Can you send push notifications to a Windows 8 device in the same manner your do to an Android or Apple OS? It should be possible: http://msdn.microsoft.com/en-us/library/hh202967%28v=vs.92%29.aspx
Hi all, I've been focusing on relative strength trading , mostly according to MQL 484 article (realllly good, go check it out if you've never read it). Anyone else do this? I use CFP and complex pairs but have been trying to find ways to make it filter better trades, etc. My timeframe is 4 hour,...
MetaTrader 4 Client Terminal build 445 Terminal: Added integration of MetaTrader 4 client terminal with MQL5.Signals service. Now, all users having MQL5 accounts can subscribe to trading signals. The client terminal will copy trading signals with minimum delay according to the specified signal...
Hi, I'm trying to make an EA as described below:  Candle 1: - check every candle  - current candle may or may not have a signal - if this candle has a signal, open a trade - if not, do nothing until next bar   The problem is that my current version only opens the trade at the next candle and...