Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1245

To post a new topic, please log in or register
Hi, When You go F7, you see the input box for the EA showing all the extern variables. How does one place in those input box EA extern variables a text message to remindme what some of the inputs are for variables/ Like extern int Period = 1; extern string Test 1 = daily, 2 = weekly, 3 =...
  Pivot Points (like a Dots) (25   1 2 3)
Hello. I have used by some time the VTtrader due to the facility that it has for people with little knowledge on programming, as it is my case. But because that platform is much very slow, at the moment I am migrating my chart configurations towards the MT4, that of step is saying, seems to me an...
  RSI R2, 84% accurate (17   1 2)
Hi, All, I quite new to this forum and would like assitance in programing this concept taken from http://www.tradingmarkets.com/.site/stocks/commentary/editorial/The-Improved-R2-Strategy.cfm Apparently its 84% accurate when applied to stocks but Iam sure this concept is universal Please reply to...
Hello, I thinks my problem must already many before me have had. I rent at present a Windows V-servers with approx. 320 MB main memories, but itpasses that ever more frequently the program MetaTrader 4 brings the server forfalls. I do not point as I it to change can, but I point that it because...
  ASCII DATA (7)
Hi MQL4 and fellow traders, I am about to purchase Tick data that I wish to import into MT4 for back testing. The supplier I wish to purchase from is offering the data in ASCII data formatwhich they feel is compatable with MT4. I have ensured that the timestamp of the data will be the same as...
  Placing Stops (1)
Hi, Probably a stupid question,but............ Could somebody tell me how to define Stoploss as 2/3 of the 7 day average dailyrange. Thanks, Ed.
It really exist ?
Metaquotes, Take a look at an output of my log file during today's NFP. All you can see is tradecontext is busy. Can you program something that does nothang orders up this way? A few of my buy stop orders did not get triggered becauseby the time the orders were placed the price had too close to the...
  Magic Number (6)
HI ppl, Can someone help me please put a magic number in my EA.. is because for only one chart the EA works well .. but when i try to use more than one chart for the ea the ea don't work well. Can someone tell me what is the settings i have to put in the EA Thanks Fast_cris
Is there a way to find server's timezone in MQL? So far I couldn't ifnd a way todo this. I know that if I "tell" my program what my own timezone is (i.e. by meansof an input parameter, e.g. extern int MyTimeZone=8 for GMT +8) then I can comparelocal time to server time and calculate server's time...
The screenshots function is documentated the following way bool WindowScreenShot(string filename, int size_x, int size_y, int start_bar=-1, int chart_scale=-1, intchart_mode=-1)but here I need to use the current scale of screenshoted window. So the questionhow to get it in the program this one of...
Hi, Dooes anyone know of any reason that my stoploss and takeprofit are no longer working?I have been testing this a system for weeks and all of a sudden it stopped trading and the log indicates error 130 which I researched as improper stoplossand takeprofit settings. If I remove the stoploss and...
May be this question is stupid but I've found no answer in all helps. The questionis because there is a menu point Add breakpoint. But I've not understand how canI use these breakpoints. If I've just add a breakpoint in MetaEditor and then runthe script from MetaTrader the breakpoint makes no effect...
extern double JumpWidth_Percen=0.25; string Trend,Buy,Sell,TradeComm; double Close1,Close2,Close3,Close4,Close5,Close6,Open1,Open2,Open3,Open4,Open5,Open6, Fast1,Fast2,Fast3,Fast4,Fast5,Fast6,Slow1,Slow2,Slow3,Slow4,Slow5,Slow6, Average,FastW,Currency_momentumA...
Hi Rosh, this is related to the bug I described here: 'A couple questions from BugReport' I read the "Azbuka..." article and your explanations on the russian forum('AccountStopout.. : опубликуйте пожалуста более подробную документацию'), thank you - these were actually quite useful and now I...
Take a look at the chart. I downloaded data from FXDD's databank and ran the backtests.I had upgraded my MT4 to build 202 and now the back test results are at best GARBAGE.Is this a bug? MetaTrader, please respond.
Metastock code v1=Square(StdDev(PRICE_CLOSE,10)); MQL4 code v1=StdDev(NULL,0,10,0,MODE_EMA,PRICE_CLOSE,0); what is Square ?
Can anyone tell me how to program my EA to select the last trade that closed anddetermine if it closed by hitting its Stop Loss or closed by hitting its Take Profit(that is he only way trades close with my EA). I know the OrderSelect function is useful for this, but I don't know exactly how to...
Hi forum! I started learning MQL4 now but it's not easy at the beginning. I am not new toprogramming (I also program VB, VBA) but the syntax and the declaration of variablesseem to be pretty complex. Therefore I want to know if somebody could give me avery short code just for my orientation. The...
if I have two times in this format 1167736680 from functions in MT4 Time() or OrderOpenTime(). I want to calculate Hours between two datetime numbers as above, how is that done?
Please see the attached EURUSD charts for M1 and H1 time periods attached. Theyshow two different quotes. I think M1 is not updating while H1 is. It is from Alpari'splatform. Why is things so screwed up when we are trading involves real money onthe line?
New MetaTrader 4 Client Terminal Build 203 has been published: In object FiboFan, fixed drawing considering close anchoring points.Tester: Added check for optimization pass counter overflow.Tester: Optimized usage of memory when generating a testing sequence.Tester: Optimized usage of memory when...
i am a chinese. i am learning forex trading. but i don't write MQL4-indicator. who can create the follows as a MQL4-indicator for me. i will thank very much. can make friend? N:=BARS for SINCE(*Parameter*); VARL:=LOWEST(LOW,N); VARH:=HIGHEST(HIGH,N); VK:=VARH-VARL; (LINE1) K1: VARL+0.1*VK;...
Peter Goodier 09.03.07 05:39 FROM peter_zyn 9th Mar 2007 I need a simple indicator that places the results of an algorithm calculated onebar at a time, 5 bars ahead. Consequently the current bars will place its results 5 bars into the future. Example bar Algorithm (HIGH[0] - LOW[15] +...
I would like insert the control point model in my expert advisor. Have you the algorithm to determinate the control point, the explanation of metaquoteis not clear, perhaps it's a secret algorithm :) Thanks Fabien_math
This is to perform some function that MQL4 does not have.
I need to know what is the min. requirement for Virtual Private Server to run ExpertAdvisor ? (Memory , speed needed,...) Thanks.
  Spread monitoring (20   1 2)
Is there an indicator, script, or ea that monitors the price feed and alerts when the spread on a designated pair reaches x amount? If there isn't, can one be made?
Hello together, a question for understanding. I'm using the iMA(NULL,0,6,0,MODE_SMA,PRICE_CLOSE,0) on a 5 minutes chart. During the bar is in process, how is the value calculatedbecause the close price is not read yet? Will it use the actual price? And whatis the behaviour with PRICE_WEIGHTED....