I want to send only one email when the new bar opens and then turn it of until thenext bar. Can anybody help me please? Thank you savr
On our website new updated client terminal MetaTrader 4 build 195 is released. What's new: Added visualization of testing. At testing the expert template <expert_name> .tpl is applied. If such templateis not found, tester.tpl is used.Improved drawing of balance at testing. Tester: the reopening...
[Deleted]
Hi, I am new to MQL4, but desperately need a script to find the highest CLOSE and lowestCLOSE of a given period, let's say 30 bars? Would really appreciate your help. Many thanks in advance. Best regards, Colin
[Deleted]
Is an expert advisor guaranteed to get control after every bid/ask change or cansituations occur where that does not happen. One possibility is that by the timeI attempt to execute at a given price, the rates have changed and by the time RefreshRates has executed the price is gone. These are market...
[Deleted]
Hello everyone, Well, Unfortunately I am not a programmer but really like the MT4 platform. So,hopefully I can learn this stuff over as I continue to see / use the information.I would like to know how difficult it would be to build some very basic (I think)strategies in an effort to create an...
Hi, I am sorry, if it his has been asked many times before. I would like to know where can I download software or program to make EAs. I wouldlike to make some simple EAs using EA builder software. Thanks in advance. Mukesh
I downloaded 1m history file from alpari. When I try download it into a historywindow it works fine showing that some 697000 records were created. But after Ireopen the terminal, history file is cutoof to 32762 records. is there a way to download more records into history.
[Deleted]
The following code: extern datetime TradeTimeBegin = D'2006.08.12 08:28:00'; shows up in the property sheet dialog without the ability to specify seconds. Ineed to code an additional routine to have the user specify seconds via a secondinput which gets added to TradeTimeBegin. The datetime docs...
[Deleted]
How to enter a user-defined input after initialization? For example, I need the datetime in the user input to represent CurTime() whichthen the user can edit. The app would then operate on the user-edited time. Is there a way to accomplish this? Thanks Bill P.S. I know I could just "force" the...
[Deleted]
The following code: datetime SomeTime=D'08:28:00'; yields the following error: '08:28:00' - date literal string is incomplete Yet, the docs indicate you can specify a time constant as follows: D'12:30:27' //equal to D'[compilation date] 12:30:27' What's wrong here? Is it not possible to...
ND/Igorad, Please help to code the following simple medium term strategy. This strategy is from August '06, Technical Analysis of Stocks & Commodities magazine.The author is Jamie Saettele. He publishes a 3 1/2 year Tradestation back test that shows a $1,000 account growing to $71,300 in the 3 1/2
Hi All, I'm trying to develop an EA however I can't seem to workout how to do one of the most important parts... I'm trying to get the prices of another symbol, Using marketinfo I've been able to get the latest bar details, however there doesn't seem to be a way to get historical prices? If anyone
Hi can anyone explain this part of the code in the "macd sample ea " ..... Important notice: to exclude insignificant changes of the MACD indicator (small'hillocks' on the chart) from our analysis, we introduce an additional measureof controlling the size of the plotted 'hillocks' as follows: the...
[Deleted]
Is there a function in MQL that lets you see the open interest in a currency pair?
I just downloaded the "Fibo_Pivot_Lines_GMT" Indicator and i'm tryingto use it in an expert advisor. MY CODE: FIBO=iCustom(NULL,0,"Fibo_Pivot_Lines_GMT",MODE_?,0); Question: What "MODE" do i use in order to return FR3, FR2, FR1, PIVOT,FS1, FS2, FS3 (that are set by the indicator)? I'm using...
[Deleted]
Does the chart periodicity have any effect on a running expert advisor?
Can someone tell me who created the "Daytrading" EA and where is therea thread that talks about it in depth!!! thnx
[Deleted]
can anybody tell me how to create an arrow on a price chart when a particular conditionis met. for eg... if the ADX value isl less than +DI there should be an arrow on the pricechart at this particular price. I am tryin to use ObjectCreate("arrowi",OBJ_ARROW,0,timeofbar,0) but its of no use....
//+------------------------------------------------------------------+ //| VlineTime. mq4 | //| | //| | //+------------------------------------------------------------------+ #property copyright "whodat" #property link "medat" #property indicator_chart_window int LonOpen=945;...
Hello, Would it be possible to get a better sample or at least more documentation on theDLL sample that you do provide? For instance: What the heck are the printf functions in the .cpp code doing? They don't seemto do anything... Can you debug custom DLL's while working with MT4? Maybe using...
Does any one know if it is possible to display two currency pair in the same chartwindow? Any help appreciated.
We are working on a new terminal for Smartphones. Here are the first pictures ofnew terminal.
Greetings, I am facing the following problem: I created an expert advisor and a custom indicator designed to work together. However,when I try to access the indicator's data from the expert by using the iCustom function, I am unable to get any values other than zero. Here's the headers for the...
[Deleted]
I am new to MQL programming , I am in the process of creating an EA and I need tohave the following user defined variables i.e (Lots, StopLoss, TakeProfit3,TakeProfit1,TakeProfit2, TrailingStop) is it possible to have more variables than the fourstandard user-defined variables in MQL i.e (Lots,...
No, it doesn't exist yet, but I thought I would create it if no-one else has. The idea is this: any automatic system using 1M, 5M and 15M timeframes is ambushed by news events. If your system typically takes only 5 pips then its stoploss will be trampled by a 100 pip adverse move from payrolls! A...
In chart options, there is the ability to fix the scale as it currently is set orto fix the chart scale at 1 pip vertical for 1 bar horizontal. Certain tools, the ellipse, for example, work better on a chart with a fixed scale. The 1:1 setting is not very useful at higher time frames, as the...
[Deleted]
I'm struggling with understanding how to count bars and objects. I see bars arecounted right to left (present to past) by default and I know how to count objectsbased on their insertion order index (which isn't always past to present on manuallyinserted objects). However, I don't know how to count...
I am sure of having the solution to automate the process in a sure way but I don't know the programming MQL4. I need a programmer and to associate with the one to develop the process. Are you able to me to contact me with somebody and to sign an agreement? If they want to contact me my email...
[Deleted]
The code below is my attempt to delete all arrow objects on the chart which do nottouch a price bar. When I comment out ..., the script accurately Printsall objects which do and do not match the criteria as expected. However, when Iuncomment ObjectDelete, the arrow objects which should get deleted...
[Deleted]
Is there any documentation on which function calls are able to be handled from yourlocal machine and which require a round trip to the server. Recently, in a veryfast moving (gaping also) market, on one platform the spread widened dramatically.My calculations used the original spread and thus were...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.