MQL4 and MetaTrader 4 - page 960

[Deleted]
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){
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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. 
[Deleted]
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, but
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...
[Deleted]
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 not the
Hi, I'm a newbie. I'm using the following code to capture the prices (open, close, max and min) every time a new candle is detected.       ........... int init() {    lastCandleOpenTime = Time[0];    return(0); } int deinit() { return(0); } int start() int start() { if (isNewCandle()) {...
[Deleted]
Hi everybody! I'm pretty new to mql4, but I think, that I have a great strategy, however, my skills are not on the required level. I have just one simple question, that I haven't found answered yet- when you want to have takeprofit that changes it's value within every tick, how do you do that? To...
[Deleted]
Hello. Here's another way to analyse quotes using Deductor Academic . I can't fully automate it because of the limitations of the free version, but I'm still pretty good at manually updating files in the Deductor Every 1 or 4 hours. In the attached archive: scripts s_forDED_MA.mq4 - generates a
[Deleted]
Hi, I've created my first expert advisor. I have also created some simple test experts to see how they run. For example I created an EA that count the number of new quotes coming through and prints this number each time in the experts window as well as in the alert. My problem is, when I remove this
[Deleted]
The EA I am developing should place one or two trades per day. The strategy tester stops as soon as the first order is opened. What conditions would cause it to do that?
[Deleted]
Is somewhere available indicator signaling, with alert, proper alignation of 7-8 EMAs ? Thanks a lot.
Hi everyone Do you know any indicator or system that can make me a 10% monthly of my capital what i need is only 10 % if is more is ok . But 10 % monthly for sure . thanks Ps : I'm using MT4 fabs17
I can't find document for ObjectGetValueByShift()