Download MetaTrader 5

MQL4 and MetaTrader 4 - page 457

To post a new topic, please log in or register
I am using the MT4i personal trade copier, but since a few days is not working any more. I read about some issues between MT4i and Metaquotes. Does anybody have any idea if this problem is permanent?  
oksorry so some one has programmed me a Ea template and give me those problemscan you help
Hi, Maybe someone could help me.. Trying to loop through open orders on every bar. When there is one order open, my code does not see it, but when the orderstotal is one less -- then it sees the open order, but some reason there is a double execution of there being an order found and not. For...
Can A .ex4 in indicator folder cause a OrderSend function for open instant order?
Hi all,   Appreciate any help here. I am new to MQL4 and have only been trying this for a week. I have written a bunch of functions, which I then call, in the start function. My problem seems to be the order in which things happen or possibly I need a loop, or maybe just the brackets are in the...
Dear all,    IS there any preprocessors used to enablbe the duplicated inclusion of the header files?  and how? Thanks a lot for your time and consideration, and your prompt reply.  
Hi there, Thanks in advance. I have this working code that in Strategy Tester detects a MACD crossover and places a trade in the relevant direction: #property copyright "Brett"#property link      "NA"bool TradingConditionsChecked = false;extern int TIMEFRAME = 0;// MACD signal related variables...
Hi I have this error after installing the program metatrader 4, as it could solve?, Thanks. Event id (1001) Windows Error Reporting  Problem signature:    Problem Event Name: BEX    Application Name: terminal.exe    Application Version: 4.0.0.500    Timestamp implementation: 005bb200    Faulting...
I am newbie and I have a custom indicator that I want to determine its value at the end of each period (e.g at the end of M1,M5....) I need X= buffer value at the end of period   Please help 
I have been trying to create an EA based on Fisher_Yur4ik indicator. code: #property  copyright "Copyright © 2005, Yura Prokofiev"#property  link      "Yura.prokofiev@gmail.com"#property  indicator_separate_window#property  indicator_buffers...
Hi, I'm trying to find a value for the RSI highest value in 20 bars. I can't use "iHighest(NULL,0,RSI_Buffer[i],20,i), because it accepts only OPEN/LOW/HIGH/CLOSE/VOLUME/TIME. How can I find it? Thanks
Newbie programmer here. I am working on an EA that uses fractals. "LastUpFractal_Br" is a bool variable that states whether the upfractal broke or not. When a downfractal breaks, it is set to false. I want the EA to give me a message when that value changes and only then. I changed a code that does...
There is this down/up load data at the bottom right hand of the MT4 platform which reads something like this - (5126/3 kb) I understand that the bigger number (5126) is the amt of data downloaded from MT4 server. And the smaller number (3) is the data uploaded to MT4 server. 1) What i would like to...
Hi,  has anyone got any idea to use Stoch on a tick chart? i am new and trying to bundle Stoch on a Tick Chart.  many thanx just 
I want to get data from a string.  The data is divided by  a "|"  character, like this: BUY|0.123456789|2.34567 I can get the first bit of data: string response = "BUY|0.123456789|2.34567"Alert( StringSubstr(response, 0, StringFind(response, "|", 1)));  That works but how can I get the second and...
Hello everyone, Id like to know, how do you reduce the drawdown that an expert advisor has? Iv been trying many things such as reducing the lot size that my expert uses, or adding code that i think will mitigate the potential losses that the advisor may make when trading, but i think that these...
GRRR.... I would like to go back in time and get the value of an account lets say on the 20 th of May at midnight.  It looks like you have to loop though and recreate all the Old Data wins and Loss. But you reach a Problem if you have a Open Trade at that Time. It will not reflect the open position...
Hi, I'm looking to code up an EA with the following functions, but I'm not very good at coding.  Is anybody willing to code an EA with the following options?  Willing to pay, based on price.  (If this is not the appropriate place to post such questions, can you please point me in the right direction...
MetaTrader 4 Client Terminal build 482 Terminal: Added one click trading panel: To show/hide one click trading panel, use the icon in the upper left corner, a context menu command or Alt+T shortcut. Terminal: Increased the number of allowed parallel...
Is there a way to alter 'extern vars' in such way that calling F7 window, will show the altered values? (I mean, without saving and calling the file) James
As the title says, which broker provides the best history when using their own MT4? Which Broker provides the best price feed? Best meaning most reliable, without price gaps or missing bars and such. I have seen some price feeds that lack complete info causing a candle that gives misinformation.
Hello! How do I code an EA so it would show a moving average,or several of them (with predefined range) when I drop it to the chart( I am guessing the code should be in init() func. Please Help.
01 MT4 Default「Ichimoku Kinko Hyo」.png 「9 26 52」 picture of a setup of the standard indicator "Ichimoku Kinko Hyo" of MT4 loading   (a color is the specification here) I am.    Japanese Language 01 MT4 Default「Ichimoku Kinko Hyo」.png 「9 26 52」 MT4搭載の標準インジケーター「Ichimoku Kinko Hyo」の設定の画像...
Hi Guys, I'm trying to modify an existing indicator. The indicator currently plots, Monthly, Weekly and Daily Highs. I'm trying to introduce a 'Quarterly' high/low as well. The code was pretty simple, so I changed the values of the # of minutes etc. and tried to compile. There was no errors but the...
Hi Guys I'm interested in an AE that can quickly calculate what my position size should be. So for example if I'm trading the eurusd and my account balance is 10k and I want to very quickly find out what 2.5% would equal in lot size. I was thinking something like a left click and hold or something...
Hi! I need to get profit in point of last closed position.   This is the code, but something wrong. Please help. Thank you.    double GetProfitLastClosePosInPoint(string sy="", int op=-1, int mn=-1) {  double p;  int      i, k=OrdersHistoryTotal(), pr=0;   if (sy=="0") sy=Symbol();  for (i=0; i<k;...
Can anyone tell me an easy way of calculating the percentage of days up vs days down over a given period.  So 20 day look back, 16 days were up days = 80%.  Not exactly rockent science i know but  I don't want to do it in Excel.  Do I need a custom indicator?  Or can I put it directly into a EA?
I need a simple robot that simultaneously opens a buy and sell position, with a stop loss of 1 pip, and a take profit of X number of pips. It should open multiple hedging positions on the same chart, with various expanded take-profit margins, but always a stop-loss of 1 pip, to eliminate all basic...
Hello, I am using demo version of MT4/5. and I am intersted to open an A/C with them. I live at Ahmedabad, Gujrat, India. So how can I open an A/C to get an online charts of NSE stocks and F&O? and what are the chrges? Thanks in advance
  INDIA NSE (10)
Dear CAN I ADD INDIA NSE STOCKS ( ALL NSE FUTURE STOCKS ) ON META TRADER 4 AND IF YES THEN HOW IF NOT THEN WHAT IS THE PROCESS FOR THE SAME OR IF IT IS PAID THEN WHAT ARE THE CHARGES FOR A YEAR.
1...450451452453454455456457458459460461462463464...1244