MQL4 and MetaTrader 4 - page 900

[Deleted]
  Delettion of pending orders  (16   1 2)
Hi! Please advice on how to write  a function to delete a pending order if it has not been triggered for a specified number of  periods (candles). Thanks.
[Deleted]
Hi, I am using: https://www.mql5.com/en/code/7673 for create graph no-standard time frame on MT4. I created graph 2min, inserted my test easy code, see below. Why fce. IndicatorCounted() always return zero?!! When I insert the same indicator in graph with standard timeframe MT4 (1min, 5min,...)...
[Deleted]
Hi, I have several MT4 managers and am trying to find a way to get all of the positions for each currency pair into a single location such as excel? i haven't had any luck so far. Can someone tell me if this is possible in excel or if there is software available that can combine positions so that it...
[Deleted]
my jounal reads like this during backtesting 1.volume limit  exceeded 2.high price not reached from the least timeframe 3.low price not reached from the least timeframe   what could be the possible fault/ does anyone have any idea?
Помогите пожалуйста. Как правильно записать OrderSend(…) на МТ4 при торговле опционами, стандартная запись ордер не открывает. Grand Capital позволяет на платформе МТ4 торговлю бинарными опционами. Открытие ордеров вручную.
#1   I have tried hard to look for an institute that offers true Direct Market Access service for fx trading, instead of manipulating the price, the institute hopefully truly pass the fast, accurate and true price spread to the investor, and add a reasonable slim fixed markup on the spread pips.....
Hiya all, So I had made this -for me - really handy EA. If you load it, you can chose from the four pending order types, and three lines are drawed on the screen: the Triggerline, TP and SL. As soon as the price gets triggered the order opens; the TP and SL can be changed realtime: The TP and...
Good night everyone, I have a little problem with one of my indicators. It works fine when just loaded, in real time and in visual backtests. However, when MT4 closes and opens restoring the charts previously opened, the indicator goes nuts and one buffer (the last one) is always storing EMPTY_VALUE...
Guys I am looking for any EA which can trailing profit. I mean when I set trailing 10$ and set trailing step 3. this mean when profit goto 10$ EA set 2$ as trailing. when market reverse EA take profit 2$. Is there any type of EA in this forum.   Please help me.      
I am running MT4 & EXCEL 2010 on Windows 8 64bit. I cannot get the DDE link to work, EXCEL just hangs when i use the formula =mt4|bid!eurusd I have activated the DDE server in MT4, Checked "transition formula entry" in EXCEL' and installed MT4 to a folder outside program files but none of these
[Deleted]
Hi Everyone, I create a custom indicator on a separate window, which has a range from 0 to 10. Could you please help me to put  1 comment on the left handside, at the level 5.0.  Thank you for your help.  HHC  string short_name = "indicator at 5.0";IndicatorShortName(short_name);
[Deleted]
Hi guys, I wrote EA, I need read data from extern files. EA in tester mode return error 4103: ERR_CANNOT_OPEN_FILE When run the same EA on demo graph/market, reading is ok. Tester mode cannot file operations...???   Thank you for answer. 
Can anyone tell me how you can see which of the EA's opened an automated trade. I have 2 EA's, but can't see who has opened the trades.  Thanks,  Steve 
[Deleted]
I have been trading the USD majors on a discretionary basis pretty well while using a systematic trend indicator. Essentially, the goal of this indicator is to determine whether we are currently in an uptrend/downtrend. From that I use support/resistance, and feel to time my market entries/exits. I
[Deleted]
Hey guys, with the latest 509 version, you can see when dragging the TP / SL the pips and the TP / SL win or loss in your deposit currency. But what annoys me is that after the dragging of the TP / SL line the info is gone. Is there any option to keep the info visible at the line? regards naik
[Deleted]
Hi, I'd like to add just another question to the iBarShift discussion: e.g. iBarShift(" EURUSD ", PERIOD_H4, D'2013.06.21 14:10' , true) currently returns 62. I would have expected it to return -1, since there is no bar in PERIOD_H4, opening exactly at D'2013.06.21 14:10' . So when would it return
New article Graphical Control of External Parameters of Indicators has been published. How often do you have to set or change external parameters of indicators? Many of you must have once thought of moving them to the chart to be able to conveniently drag an icon or an object to the required...
New article Social Trading with MetaTrader 4 and MetaTrader 5 Trading Platforms has been published: What is social trading? It is a mutually beneficial cooperation of traders and investors whereby successful traders allow monitoring of their trading and potential investors take the opportunity to...
hello everyone, is there a way one can combine two expert advisors using different magic numbers? I know I can write them all into one file, but as they are, separate is there a way that they can be combined, without writing them into one file?? thanks
hi, i have a string array such below. Is there any code to show string variables from array in data window? string pair[28]= { "EURJPY", "GBPJPY", "AUDJPY", "NZDJPY", "CHFJPY", "CADJPY", "USDJPY","EURUSD", "EURGBP", "EURCHF", "EURCAD", "EURAUD", "EURNZD", "GBPUSD","GBPCHF", "GBPCAD", "GBPAUD",...
Dear all   here is my code:   //+------------------------------------------------------------------+//|                                                      testing.mq4...
Is there script that can set a stop loss to close only a percentage of an open order?  I have a position that I want to hold open but would like to scale out of in the event price action begins to move against me.
I have 28 arrays. Every array has double values. How i code to compare these values? For eample i want to find the second value from 28 values for every order(secondvalıue[i]) Please show some simple codes. Thanks.
[Deleted]
Good morning, I write a simple indicator for stochastic cross with the arrow is either above or below the bar. However, I want the arrow to be at the bottom of the chart window, say 0.5 inch above the lower border of the window. I don't know how to do it and I wonder if you can help me. My code is
[Deleted]
  bug on iBarshift  (8)
code: Print("wtf ", iBarShift("JPYJPY", 1, Time[0], true)); Print("wtf ", iBarShift("JPYJPY", 1, Time[0], true)); output: 2013.07.05 10:49:29 test GBPUSD ,M1: wtf 0 2013.07.05 10:49:29 test GBPUSD,M1: wtf -1 as you can see, giving ibarshift incorrect symbol produces inconsistent result
[Deleted]
Hi, I have graph, when bars start no standard time, example: TF 15min: xx:05; xx:20; etc. I wrote easy code script: int start()  {  datetime time=StrToTime("2013.02.25 09:00");  int StartShift = iBarShift(NULL,0,time, true);  Alert(StartShift);  return(0);  }  Why function iBarShift don´t return...
[Deleted]
Hello Everyone! I'm new to the forum and new to MQL -- so please be patient with me.  I am looking to write a program but am unsure if MQL4 easily supports the kind of functionality I'm looking for. What I want is a program that continuously monitors the net value of two or more manually placed...
[Deleted]
SPAM removed
[Deleted]
I'm looking for simple EA, that buy whenever CCI break it's own MA on the way up, and sell whenever CCI break it's own MA on the way down. I looked at some samples, and didn't find one that is simple. this should be simple.   please help,   thanks,  
i am using demo acc when i open strategy tester before it was possible to select start date and end date . but 14 day back start date is selected and enddate when selcted optimization beomes checked  in and w cannot select end date attached file clip pl help