Download MetaTrader 5

MQL4 and MetaTrader 4 - page 948

To post a new topic, please log in or register
New article Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator is published: MetaQuotes Programming Language 5 (MQL5), included in MetaTrader 5 Client Terminal, has many new possibilities and higher performance, compared to MQL4. This article will help you to get...
Hiya, Can anyone tell me if it is possible to have an indicator tell you the Put/Call Ratio?? And if so, how do I do it?? Thanks.
I was hoping someone could help me with a little problem I have with metaeditor. I cannot edit any of my mq4s. I have recently installed windows 7 and now I cannot edit any indicators or experts. I can open them and compile them but when I try to edit its as if my keyboard is not working. I...
What is MQL4 syntax to close one BUY order by the other one SELL order ? I manage orders by Magic Numbers ...
  MQH File (13   1 2)
Can anybody direct me to a link that teaches how to create mqh file? Or at least give me some simple example. I did not find it in mql documentation. Thanks for any possible help.
Hi, is the margin requirement by 1:100 leverage account (10k USD) different between brokers? I see on fxcm 1600$ / lot and on fxdd is 540$ / lot (1 lot = 100.000 ). Can i somehow calculate margin requirement for 1 lot per broker?
Hello, I have looked through the postings here but have not found what I need to do in Excel to link it to MT4. Ie., I assume there is some DDE string I need to add somewhere in Excel for it to know now to connect to MT4? After looking at the other postings I have checked that "Enable DDE Server"...
Hi everybody, I'm very new in MQL4 and I would like to know how I can program this; I want to have an open price Period 1H at each 6h time Ex: Date 7/april/2007 time 6h am eurusd 1.3334 Date 8/april/2007 time 6h am eurusd 1.3440 I don't know how to update my datetime so when it's give me my...
Hi, I create poll to know what you need in this forum. Maybe I can help you. Question: What EA/Robot do you need? Answer: A- Low Performance, Low Drawdown B- Medium Performance, Medium Drawdown C- High Performance, High Drawdown Question: How much budget for trading with...
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...