MQL4 and MetaTrader 4 - page 1295

To post a new topic, please log in or register
Hello, Sorry for such a noob question. I downloaded a few indicators from the CodeBase but don't understand the protocol to import them into MetaTrader. Can someoneplease explain as I didn't understand the help file either. Thank you.
Hi, has someone an installation instruction of MetaTrader on a linux virtual privateserver. Maybe someone is interested to config/install metatrader on a vps for smallmoney?
I can't seem to be able to attach an indicator to a chart. From the MetaEditor Idownloaded an indicator the Complied it. How to I attach something from the OnlineLibrary to the chart? Thank you for the help. MCR
What is the most accurate way to Backtest using MT4 (BUILD 202)?? Every Tick, Control Points, or Open Prices Only?? Also how accurate is it? Doesit depend on the broker?? I use Interbank FX.
Hi All, I'm working on Back Testing of my EA. I realised that the tester doesn't work theway I expected. I describe: I am back-testing an EA on EURUSD, M1, day of 2007.01.02 I use a code to get information about the datas of the bar at the time of 17 hours55 minutes. if (Hour() == 17 && Minute()...
Hi there, I managed to draw a trendline on my chart (well, let my EA draw one of course :)).But now comes the thing I actually need to know: how can I find out when the pricecrosses the trendline I drew? For example: I connected the highs during the last10 candles forming a resistance line. How can...
  This EA needs repair (13   1 2)
This EA was coded to the following criteria: (see several posts below) The system simply buys and/or sells at a certain time of day (GMT), and either takes a profit or is stopped out. No indicators. 1) Must work on any pair, any timeframe. 2) Needs option for lot size 3) Needs option of buying...
I am looking for EA or EA's to use on live accounts trading from M5 - H4. Must bestable and at present free. I seem to be going round in cricles looking at variousEA's... from Firebird v.65 to Phoenix and 10points3. Has anyone got real experienceof trading for real, if so please get in touch. mark...
  StochEA v0.1 (8)
This is an EA which me and my brother created for the past few months. its only profitable (actually very) on EUR/USDchart with 4H timeframe. I would be happy if you guys would check it out and comment this EA. Thanx, Tom. Explanations: StochEA2.mq4 - The EA 0.1 version. stochea-eurusd-4h.zip -...
I have downloaded several indicator's to my MT4 platform and they show up on thecustom indicators list. but when I attach them to the chart nothing happens. Itshows the indicator being there but that is it.  Can someone please assistme in getting these indicators to work Thanks.
Hi: I cut and past one of the indicator from this site and inbed it in my expert. However,I have a difficulty geting it to work. Here is the setup. // -------------------------Property--------------------------------- #property indicator_color1 Blue // Medium at max or min #property...
From the Expert program I write a variable into a file. handle = FileOpen( "test.text",FILE_WRITE|FILE_BIN); FileWriteInteger(handle,BarsOrderOpen); FileClose(handle);This file is stored as listing.......tester files. With icustom import I bring my indicator into the Expert program. My indicator...
Hello experts, I´ve been trying to develop my own expert but it is harder than I thought. What I want is this: I want the expert to calculate the average bar size of the last 15 periods, ifthe last bar is larger than the average and it is a bull bar then color it in blue,if it is a bear bar...
When you recompile an expert the strategy tester, displays a messages saying that the expert was reloaded due to recompilation. What happens if you you recompile it during a long optimization run? Will it reloadit and start testing the remaining optimization cases with the new, recompiledagent?...
Strategy Tester ReportCZ_5 & 3 grupos_001_restrivcoes SB_03 Symbol EURUSD (Euro vs US Dollar) Period 5 Minutes (M5) 2006.11.09 02:00 - 2007.02.06 17:05 Parameters TakeProfit=2; StopLoss=20; Lots=4;...
I have been combining trading strategies that requires me to have indicators andobjects together in multiple timeframes. Here is the scenario, I am analyzing chart by putting objects (such as trendlines,arrows and texts) in different timeframes, using visualization tab in propertysetting. I want...
In a script the following coding can be used to create a Horizontal Line and a labelfor it: ObjectCreate("Label 1",OBJ_HLINE,0,CurTie(),1.3000); ObjectSetText("Label 1","Text of Label",13,"Arial",Black); When the script is attached the above code is executed and places a horizontalat the proper...
I am using some functions to calculate my Closed Profits. Once closed profits = X, I am having the EA shut down all orders and restart. How can I get the closed profits to reset itself to 0? I have tried a few methods, such as getting the EA to reset closeProfit to 0 aswell as getting my...
Hello everybody, Could someone tell/give me a little help ? I need an easy language or best a QL4file with Fourier transform indicator. Many tks in advance for reply.
Is there any way to download variable values using http protocoll? I think I could use an external DLL to do this but is there any easier way? Thanks, Mark
Hi There, I try to code an EA to buy and sell with Triggerline indecator, It is work ok now but if the order is stoplose or take profit it open new order. I wont EA to open one order for ech condetion, for ex, if triggerline red color open sell and not open new order even stoplose or takeprofit till...
Just wanted to make histogram solid.. SetIndexStyle(2,DRAW_HISTOGRAM,0,5,Lime); 5 gives a wide bar, so that solid impression is seen on chart. Sometimes it works, sometimes it does not...ANY IDEAS... void SetIndexStyle(int index, int type, int style=EMPTY, int width=EMPTY, color clr=CLR_NONE)Sets...
New MetaTrader 4 Client Terminal Build 202 has been released: Improved balance chart drawing in the detailed trade history report.Fixed Andrews' Pitchfork drawing, in the case of anchoring points close to eachother.Added support of connection via HTTP proxy server when downloading quotes from...
In MetaTrader, if I hover over a bar on my chart, the status bar gives me informationabout that bar - H, L, O, C, T, etc. Is there a way to programmatically get thatinformation when a user hovers over the bar? For instance, if the user hovers overa bar, I get it's time and display it as a comment in...
Hi All! I'm a beginner MQL4 user. There are lot of little - and smart - things dont know about it. I'm working on an indicator. I found myself face to an interesting thing aboutmultiplication. I show you: This row is works well: MD[pos] = iMA(NULL,0,13,0,0,ABS[pos],pos) ; But this one doesnt...
I wrote EA to place pending order with expiration 10 days and everything is finewhen I'm testing strategy with tester. But when I put EA on grapfic (demo account),placed order expires the same day at 23:59 with label "expires [good for day]"in Account history. Extract from EA code: int exp;...
On the website of the Automated Trading Championship 2006, the article "Automated Trading Championship 2006 Is Over" has been published. The 12th and the last week of the first annual Automated Trading Championship 2006 is over.There will be neither moves in the Top Three nor changes in the total...
If someone would be so kind... here is the system: The system simply buys or sells at a certain time of day, and either takes a profit or is stopped out. No indicators. 1) Must work on any pair, any timeframe. 2) Needs option for lot size 3) Needs option of buying or selling. 4) Needs option of...
Dear Kind experts I want to make a trade at a sepcific hour, say at open of 13:00 and at open of15:00 automatically. can any one send me the code to do this any information you will be providing will be greatly appreciated, as I'm beginnerin this Hishamn
  File Exists? (10)
I have a EA that should react on the existence of a file. So I just call handle=FileOpen(FileName, FILE_CSV|FILE_READ, ';'); and if the handle > 0 the file exists. However now on every tick I get a message in the "expert"-part of theterminal: cannot open file ..... The logfile from the...