Download MetaTrader 5

MQL4 and MetaTrader 4 - page 949

To post a new topic, please log in or register
Hi, Is there somewhere to get the actual real account pricedata for a specific broker/account type, for offline backtesting? My recent EURUSD 'superscalper' turns 500 into 2Mill in a year on Alpari demo, using the standard history data. Problem is that these data is largely useless for optimizing a...
Hi Anyone can help me write or maybe help me where I can find a script that return the length of body of bars, upper & lower wick, it is so tedious to calculate by hand. thank u
Has annyone a mt4 elliot Label draw tool ? 1,2,3,4,5---a,b,c,d,e,w,x,y,z xybalduin@msn.com thanks
Can someome help me on this matter? i want my ea to be placing order at the closing of candle (i.e formation of a new candle ) i have used this formular : bool Fun_New_Bar() { static datetime New_Time=0; bool New_Bar=false; if(New_Time!=Time[0]) { New_Time=Time[0]; New_Bar=true;...
I made a posting here recently about the never ending problems, grief and saga of the MQL4 Strategy tester. I am unable to locate it now. It is gone but the problems are not! What has happened to my posting on this subject?
I thought I had this straight in my head, but constant looking at the logic/flow + decisions made, seem leaky as a paper hulled ship! . When the line goes down AND no data ticks incoming I assume start() never called - Y/N ? . Should start() be executing when server down event occurs AND...
Pls am having problem with the attache Ea. I want it to be placing other at the end of the closing candle ( i.e on the formation of a new candle not on the present candle) Actually forum has help me but what i was told to do i did it but it does place order.Kindly help me if there is any mistake...
Greetings all, I need a code that will only allow my expert to go long if the last trade was short and only go short if the last trade was long. Thanks...........
Hi I want to make an EA that closes all orders and exits metatrader if certain criteria have been reached. I know how to close the orders, but I can't seem to find how the EA could close the whole metatrader program. Anyone knows? thx in advance
Can someome help me on this matter? i want my ea to be placing order at the closing of candle (i.e formation of a new candle ) i have used this formular : bool Fun_New_Bar() { static datetime New_Time=0; bool New_Bar=false; if(New_Time!=Time[0]) { New_Time=Time[0]; New_Bar=true; return(New_Bar); }...
Hi, With MathSqrt function I cand get the square root. But how can I get the cubic root or another root? Is it possible in mql4? Thanks' iancu
Hello, i search a programmer for a dll for my ExpertAdvisor ( MT4). Interested programmers I will send the EA, to see what is todo. I will pay with PayPal. Thank you for a request. Joe
Hi All, I have a new problem... My EA's all of a sudden are not working (Placing trades)... They work FINE in backtest, but when put on a live account real or demo, they do nothing....(Not a newbee I know turn on and OK live trading ....smiley face, No Isdemo commands... etc) There are NO errors.......
Does anyone know how to set the charting application to Eastern Standard Time??
Hi, Can an expert advisor programmatically turn off the mt4's 'expert advisor' switch? and also to turn it on? (i am referring to that button at top of mt4, which enables or disables ea execution)
Hello, at first, sorry for my bad english ;-) I looking for an EA only for backtest, who read old real trade data from a csv file (only time lot entryprice), and then it use in optimize mode, to get betther settings for Limit and Stoploss. eg... With this program we can test best settings for signal...
Is it possible to have the application produce a sound at EMA crossovers?
  sma & ema (2)
hi all, anyone could please help me on that: i am looking for the source code of the function iMA. thank you so much! ,,,
//+------------------------------------------------------------------+ //| 2MACross.mq4 | //| Copyright © 2010, Andrew Young| //+------------------------------------------------------------------+ #property copyright "Andrew Young" #include <stdlib.mqh> //---- INPUT PARAMETERS extern bool...
  pls help (2)
pls can someone tell me the code for new bar? Actually i know of this: void Fun_New_Bar() { static datetime New_Time=0; New_Bar=false; if(New_Time!=Time[0]) { New_Time=Time[0]; New_Bar=true; } } But my problem is that i dont know if it is correct or not, and if it is correct, how am i going to...
I am in need of two indicators. The first is the difference between +DI and -DI for a 21 period timespan and calculated as a histogram. The second is a stochastic with periods between 3 and 21 that is plotted so that its color changes when its slope changes. I hope there is someone out there that...
Does somebody know, where to get IDDownloader or recent Dynastore 1.7 for MT4, which simulates eSignal data in real time for softwares compatible with eSignal data.(using MT 4 data).
Hello mql guru's, Is it possible to use an "if/then" condition for creating a variable? This is what I need: double Var32 = if (Var17 < Var18) Var18 - Var17; else Var17 - Var18; of course this won't compile, but how can I get the data I need into a variable form? I'm obviously a newbie, and Thanks...
I need help, please. I try to import simple library file GBSend double OutPutBid(double A, double B) { double C; C= A+B; GlobalVariableSet("AAA",C); return(C); } and I get an error: Start function not found and cannot be run and the EA #import "GBSend.ex4" OutPutBid(double A, double B);...
Hello All I am seeking a collaboration with a trader who has advanced programming skills. I have developed Gann Style indicators that have proven succesfull in price Time/ Price projection and wish to share my knowledge in exchange for programming this into a coded indicator. Please contact me...
Please can anyone help with this idea.I will like to get a particular value(price) at a particular bar say bar[1],such that the price at which if price hit will result in treand line break occur can be returned using iCustom(...........).your suggestion will highly be valued thanks
  Closeing Problems, Please help (81   1 2 3 4 5 ... 8 9)
Hello to all Hope that the syntax is better than before. For the last week, I have been reading the Codersguru. The program below, although does not have any errors, the compiler will log only one order. But my code will not close it. The program states --- ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask...
It seems I get 138 errors on different inputs of dates May-June gives many 138 errors March-April doesn't I find this somewhat strange