Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1269

To post a new topic, please log in or register
is there any possibility that i'm able to backtest custom indicators like how ibacktest EA's? thanks =]
Hi, i have a list with datetimes like 2007.05.21 23:33, etc. So what i want is ascript or indicator to draw the time as text with the correct datetime as parameter. How can i do this with mql4? I need to know how to do it with more than 1 datetime. Thank you in advance ps: is possible to read...
I have added a line of code to my EA: Comment("Balance:",DoubleToStr(AccountBalance(),2),"Equity:",DoubleToStr(AccountEquity(),2)); and it shows that EA is able to read and display Account Balance /Equity informationfrom back test in visual mode. I wanted to ask Rosh or other experienced...
i want my EA to give different stoploss value to different currency pair based onthe spread. if spread <5 stoploss = 20 if spread > =5 <=10 stoploss =30 and if spread >10 stoploss=35 pls help me with this simple code i have tried different means but it keep givingevery trade the same stoploss...
#property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Lime #property indicator_color2 Red extern double Threshold=1.2; double buffer1[]; double buffer2[]; extern int period=10; extern int price=0; // 0 or other = (H+L)/2 // 1 = Open // 2 = Close...
Anyone any idea when will MT4 be running on MS Vista?
Hello I'm using a signal service that I must place many pending orders at their anouncementsand some times delete some of them and do instant orders when Email comes. I have written some scripts for doing them on my PC. It seems they are not usableon mobile trader. Am I right? Can you help me? Is...
I am working on a project now, where an outside program needs to send a commandthe MetaTrader platform to do something specific. This command contains some intnumbers, nothing serious. It should be checked periodically (like every secondor two) by the platform, which then could act upon the command...
I'm completely confused here. I am trying to create an EA that will initially do some very basic task; eitherpop a MessageBox or write to a file - both of which I've done before with MQL.But for some reason the Start() method is never getting fired. I can get a messagebox during init: int init() {...
  Client side? (1)
Hello. I'm new in MQL4, but I faimiliar a little bit with C programming. My question is the attached experts to chart is stored on server side or on clientside? If my computer off it will work or will not?
Is it possible to get a chandlier to start off of a price cross of a differentindicator? i.e create the chandelier object and ploy from that point? ie. take a pivot. if price crosses above the pivot then the chandlier starts fromthat point. But then have chandelier to only have a life of 2 SAR...
I have an EA which is performing quite well on different MT4 platforms (Neuimex,FX-Lite, Spacevision, NF etc) I would like to implement it with FXDD and everything seems like with the others,except it never takes orders. What could be the source of this kind of problem? (Other EA are working with...
//+------------------------------------------------------------------+//| Test.mq4 |//| Copyright © 2007, MetaQuotes Software Corp. |//| http://www.metaquotes.net...
Hi, I want to develop an technical analysis tool to generate some basic buy/sell allerts. I need to implement an algorithm that defines support & resistance historicallevels (scanning a stock data and calculating support & resistance levels andtheir strength- according to the volume and number of...
  Hi I´m new to the stuff (12   1 2)
I want to programme some automatic trading strategies, but its really difficultto get an overview in the whole programming stuff ( Im quite a beginner althoughI have some programming JAVA experience) So to start with I´m asking for some help with the basics... How can I programme the following?:...
Hello guys! I have problems with backtesting EAs in MetaTrader. Sometimes MetaTrader works, but usually it makes problems. Usually after 1 seconds I hear a sound and then it did nothing. In the journal I can read: 2007.05.18 14:01:27 There were 1 passes done during optimization, 1 results...
This , I am sure is a real dumb question but how do I export my activity log toa spreadsheet - cannot see how to Thanks
Hi! I have a problem with iCustom. It appears on an expert advisor while running in "Strategy Tester". If I use iCustom with timeframe different from the chart's it returns values wichare not correct. To be exact : adx_minus = iCustom(Symbol(), PERIOD_D1, "adxdon", 14, 34, 34, 2, 0); This return...
Hello, I am very new to programing and am hoping someone can help me. I need to superimpose one chart onto another - effectiveley Drag & Drop myRSI on top of my Stochastic. I only require the lines. i.e. Stochastic; length=6,SlowK=5, SlowD=2, black out all inputs & 'OBought / O'Sold lines etc....
good day. i complied my mq4 files. i downloaded those code base such as fx5 divergence.i compile 'em, i got the ex4 files. and then i drag those files to the c:/programfiles/metatreader/experts/indicators.is that correct? but those new indicators that i drag into the metatrader's expertfolders didnt...
  EAmsrc V.6c (10)
For backtesting EAs and to optimize the settings we need to have M1 data from the brokes. So please post any links or data (free data) for it in this thread.
If this has been answered somewhere else, please post a link. I'm looking to create an Indicator that will pop up a messgage box when some conditionsare met. The conditions are already plotted on the chart via some other indicators.Is it possible to pull this data from the other indicators into...
  MT4 to MT3 (2)
I will need to convert files from MT4 to MT3 and download a MT3 platform. Can you give me advice if there is any tutorial for this convertion, and whereI should download the platform? Thank you
Is it possible to create some tracker expert, that will monitor open orders andwill select appropriate order and close it when certain conditions are met ?
After you stop laughing at how new I am. please share with me what the differenceis between a pending buy stop and a pending buy limit OP_BUY0Buying position.OP_SELL1Selling position.OP_BUYLIMIT ??? 2Buy limit pending position.OP_SELLLIMIT ??? 3Sell limit pending position.OP_BUYSTOP ??? 4Buy stop...
When I test my EA which uses function OrderTicket() I get zero value. The code is: int Orders[]; int i=0; for(int cnt=0;cnt<OrdersTotal();cnt++){ OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if (OrderSymbol()==Symbol() && OrderMagicNumber()==MAGNUM) { Orders[i]=OrderTicket();...
Hi all, As you can guess I am a newby on here and have a couple of questions. Am I right in thinking that my indicator works on bars: int counted_bars=IndicatorCounted(); //---- if (counted_bars < 0) return (-1); if (counted_bars > 0) counted_bars--; int limit = Bars-counted_bars; for...
//+------------------------------------------------------------------+//| Test.mq4 |//| Copyright © 2007, MetaQuotes Software Corp. |//| http://www.metaquotes.net...