Download MetaTrader 5

MQL4 and MetaTrader 4 - page 240

To post a new topic, please log in or register
I'm looking into developing an EA to trade the DAX or GER30, but when I attempt to run one of my more basic strategies on the DAX in the strategy tester, I find that I can't get it to download any Metaquotes data. I believe its using only the data provided by the broker FXCM. So can anyone confirm...
Hi, I can't figure out how to get the indicator to consider all the candles as opposed to only the ones which have come since i have opened the chart.    I've got pretty simple code for example's sake, just working with the close prices:  Any help really appreciated. Thanks void OnTick()  {//---...
Hello, I was wondering what's the difference between these 2 commands. Thanks for the help
where can i  find the souce code of  iVolume function ?
consegui baixar um indicador no MT4. mas nao consigo abrir o mesmo. qual o procedimento?
 It really isamazing the kitchen that I got from Stilhaus Kitchens. Stilhaus Kitchens Reviews
I wrote this to check if the close price of the last 150 bars were above the moving averege of the last 150 bars. bool ma_buy_2() { int i = 1; int n = 1; double MA_Array[]; double Candle_Array[]; for(i=1; i<150; i++) MA_Array[i] = iMA(Symbol(), Period(), 200, 0, 0, 0, i); for(n=1; n<150; n++)...
  Build 752 (3)
Disappointing the latest version of the terminal, the terminal closes constantly for no reason whatsoever!!!
For currency trading in MT4, we use magic numbers to identify individual trade. For the e-mini S&P trading, can we still use magic number? 
When trying to use the function TesterWithdrawal ( https://www.mql5.com/en/docs/common/testerwithdrawal ) in mql4 I receive the error: "CExpertExecutor::TesterWithdrawal is not implemented yet" I found of this funciont in MQL4 Reference: MQL4 Reference / Common Functions / TesterWithdrawal...
In an Expert Advisor code, I would like to know on which bar of a chart the user clicked. From the example and documentation of OnChartEvent() function, a left click of mouse can be captured as a position (x, y). Is there a way to get the bar time/number on which the user left clicked?
I would like to use these functions, however there is no help i.e. descriptions which probably means that these functions are not implemented.I remember that i saw some help in MQL5 regarding this, but now i cannot even find that.Anybody knows more?
Dear Metaquotes i use this  code to test arraybsearch i feel the result is incorrect int OnInit()   { //---    ArrayResize(array,10);    array[0]=64;    array[1]=128;    array[2]=52;    array[3]=78;    array[4]=30;    array[5]=21;    array[6]=88;    array[7]=977;    array[8]=2110;    array[9]=887;...
The Search did not provide me with any result regarding the subject... The latest version of MT4 for Windows Mobile targets Win. Mob ver. 6.5, not higher. Today's devices using 7.5-8 (!!!) Is there any hope for correct version of MT4 for featured Win. Mob. devices of 21 Century? (I'm not Android...
Hi, i have made an observation. Actually i am doing this observation for 2-3 years on same broker. I thought maybe i am wrong and evaluate things wrong but i am now read to clarify this. I would like to hear opinions from community please.  Problem: There is price difference between...
real headach here Built in indicator like stochastic can be displayed like belowfor(x=0;x<6;x++)    {      if((iStochastic(NULL,TF[x],PercentK,PercentD,Slowing,MODE_SMA,0,MODE_MAIN,0)) >           (iStochastic(NULL,TF[x],PercentK,PercentD,Slowing,MODE_SMA,0,MODE_SIGNAL...
Hi all, I try to code an EA that handle with d'alembert progression (for all that don´t know progression d'alembert: http://www.bettingexpert.com/casino/roulette/strategy/d%E2%80%99alembert-system ) The plan is to start with 0.01 lots and SL 13 pips / TP 14 pips. Each time a trade close with a loss,...
Hi, If I have 2 mt4 terminal instances running on 2 different computer with 2 different locations, is that a normal behavior that if I submit an order at a computer, it will be 'discovered' on the second computer 30-40 seconds later? Is there anything extra from metatrader (or the broker) involved...
  Historical Data Solutions (13   1 2)
With the new builds for MT4, it appears as though the importing of historical data to the History Center is no longer allowed thereby restricting back tests to the use of inadequate data.  What are various solutions to dealing with the problem of inadequate historical data in MT4? 
Tradeing Trader
Hello, i am searching for infos how i can codeing that Metatrader does trade on a binary options broker plattform. When i search in google i just find sites where people want to sell somethink but no tutorial/infos how to codeing it.
Is it possible to get the total profit/loss of the current day so far? If so, can someone point me in the right direction?
I'm trying to modify an order, but I'm getting error 130. I already checked for STOP LEVEL and it is 0 (I'm using Alpari). This is my code:   int digits= MarketInfo(Symbol(),MODE_DIGITS);if(digits == 2|| digits == 3) pipdigits = 0.01;else if(digits==4 || digits==5) pipdigits=0.0001;selltakeprofit =...
Hello,  MetaEditor. List of functions Alt + M It's a shame that the functions are displayed in alphabetical order, not in the order choose in the source code.
Dear all I am new in MQL4 programming and would like to have your help, please. The first thing I want to know is whether my broker can see the detail of my EA if I put it in demo account or even real account to run it? If yes, is there any method to avoid it??? Otherwise, the broker will be the...
Hi,  I think most of you have experienced that the Metatrader causes problems when you plot a trendline on a specific timeframe and switch to another one. Today I noticed a very large difference in the GBPCHF. Attached you see a weekly and a daily chart. The blue trendline fits perfect on the wicks...
the function below only calculates the dollar amount of the last open trade. I am looking to calculate the dollar amount of all open trades for the currency the EA is on. I can not find what I am doing wrong. can I get some help? thanks in advance. double LastBuyProfit()   {   for(int...
Is this even possible? Im planning something like this: void OnStart()   { //---    ChartOpen("EURUSD-Pro", 15);   } //+------------------------------------------------------------------+ But if there are no charts open I have open one first. Greetings BeLikewater
hello, i want to Close the trades after  special numbers of bars if a Target isnt reached;  for example:  after 10 bars CloseOrder if Target of 10 Pips isnt achieved. I have problems to code it because i dont know a function which counts the bar of the Trade opening. Has anybody an idea? thx 
Hi there,   I am interested in purchasing 1 minute e-mini S&P 500 data, from 1998 to present. Anyone interested in sharing the cost?  If there is enough interest, we can also get the e-mini NASDAQ 100.
I'd like to ask for help from some techperson with this. OS WIN7, MT4 version:400, Build 745. My MT4 became quite sluggish to thepoint of freezing during high volatility (report) times. If anyone Google "freezing mt4" search comes up with video on tube or written instructions. To fix theproblem I...
1...233234235236237238239240241242243244245246247...1244