I am getting the "Expert is not custom indicator" error when attaching the EA to a chart? ANy ideas why? #property indicator_buffers 2//---- indicator buffersdouble ExtMA10Buffer[];double ExtMA80Buffer[];datetime TouchLipsFlagUpdate =...
can some one tell me what i am doing wrong this ea does not want to trail
[Deleted]
I want to block my EA after 2 or 3 consecutive trade, or put am max operation limit like max trade in an hour is 3 or max trade in a day is 5...or in a specific candle How i can do it? with something like that?? static datetime LastClosedBar =D'1980.01.1' LastClosedBar = Time[0];
[Deleted]
I'm trying to program my stops so that if profit is greater than 30 (pips), we will have a stop equal to the 55 Period MA, if profit is greater than 60, we'll use a 21 MA, if profit is greater then 90 we'll use an 8 MA. The problem is when profit goes above 60 (so it reverts to the 21 MA) and then
[Deleted]
From the docs it's evident the order code which relates to the server is on a different thread. From the docs it's also evident that indicators work on the same GUI thread. What about different EAs? Is there a different thread each EA attached to a chart? My issue is that I need to know if I am...
[Deleted]
Hi everybody doing good work here, I am new here and also a trainee programmer. Pls I need a perfect code to limit the number of trades my EA will make in a day. Hope experienced people here will help me out. Thanks.
Hello, if trades are canceled or they expire without opening, in "comments" there is the text "canceled" or "expired at xx". Is it possible to see there the comment I wrote when I set the trade, instead ? Thanks, Burdi
During applcation of the indicator "DeMark Trendline Trader",Idon't know what the following mean.Can any one give me an explanation ? sent to my email:mjmljqmjmljq@163.com Question 1: UTL Break >1.1144 on USDCAD60 @ 1.1249
Hello Im having a little trouble with the string concatenate function, my code so far is as follows - string open_pair;string pairs_names[2] = {"EUR", "GBP"};open_pair=StringConcatenate("\"", pairs_names[0], pairs_names[1], "\"");Alert(open_pair);double final_check_ma1 = iMA(open_pair,PERIOD_H1,15...
[Deleted]
Hello all, MetaTrader Version: 4.00 Build 224 (15 May 2009) Metaeditor Version: 4.00 Build 224 (14 May 2009) I have encountered a very strange bug in MQL that has me completely baffled, so much so that I am looking back at ALL my old code to make sure that it is written to avoid this problem. I hope...
[Deleted]
I'm working on a new theory. It may help, or it could be a shot in the dark. I've rewritten elements of the MACD so that is will monitor the difference between the MACD and its signal line. I am operating under some assumptions, and would like opinions on whether or not the MACD could be used for...
[Deleted]
Hi all When you attach an expert adviser to the chart, or when you right click on the chart and use "expert adviser, properties", you get the properties dialog with the "common" and "input" tab. In the common tab under "common" you can set the drop down combo box to Long & Short positions, Only...
Hello, I would like to present you the best EA program that I possess and programmed myself. My best programm, because you can let the program almost run like a real money printing press without watching the whole time to it. Although this is a strategy where the Lotsize raised after loss trades,...
[Deleted]
Hello traders and programmers! i have been searching the web the past few weeks for an indicators that recognizes potential reversals using fibo chart patterns. if anyone hase something like this or wants to take a crack at programming it, please shoot me an email. :-) thanks ZealousCapital@gmail...
Hi, During using the Meta Trader and my EA, the following problem occured: STOP There has been a critical error Time : 2009.03.10 08:57 Program : Client Terminal Version : 4.00 (build: 221, 05 Mar 2009) OS : Windows Vista Professional 6.0 Service Pack 1 (Build 6001)...
I was very surprised by the result of the Championship! A group of EURGPB advisors, with small targets, work quite correctly, and go up without breaking the rules --- I will try to create my own variant
[Deleted]
Thanx guys, with all the good advice here and help from the coders I have managed to put my idea into practice... here us a graph of how it trades...I cant wait to forwards test it on a demo account!!!
when testing ea in mt4 strategy tester, the spread equals to spread now,not the past spread in the testing period so i want to ask how to collect the spread for backtesting? 'FXTticksCollector' i have try this, but the size of .fxt is too big, just run 2 day of it, it already 600MB~ ~ Do any one...
Hello, How will be traded an order at "instant execution" with a SL and TP ( stop loss and Take profit ) can you explain how it will be done ? what Take profit value is useful for ? in both case BUY and SELL thanks for the explanation of How it works in META TRADER, Regards Antoined
Who can help me to find a good mt4 broker for scalping strategies without hedging restriction in Canada or US?
Hi, I'm trying to create a log file for an expert advisor, but I'm having a problem writing the data to a file. I'm testing it in the strategy tester right now. The problem is that when I open the log file, there's only one line of text in the file - the last line that was written. It appears to be...
I have found this expert that is really impressive! ForexRobotGain Have you tried it ?
[Deleted]
Hello everybody, I'm new to both forum and MetaTrader. I use the XTB-trader-platform from X trade brokers. Writing to a file using the fileopen filewrite etc. functions does work (no negative values returned by fileopen-function), using fileread I can even read from the file established yet fail to...
Login ID: 823074 Password: y5axwbc Server: AlpariUK-Demo http://cybernet.mt4stats.com/ Contact: mark.johnson.uk@o2.co.uk
hi there, could somebody tell me how to get an ask or bid value for the past? maybe one minute back or whatever. thank you, mike
hi ;) i need your help! could please somebody explain me how to calculate the minimum stop loss and minimum take profit for a broker to place an order? i found this here, but im not sure if this is right, specially if i want to place more than one order. Declare a global variable for the minimum...
[Deleted]
Hi guys, any advice on this? after updating to build 224 my EA's crash the platform...one of my other platforms has build 223 still and the same EA's are trading just fine...its definitely the build 224 that is messing with something. Is there something I can change to make them trade...
[Deleted]
I just downloaded MT4 from Alpari and found that the compiler cannot launch. I use MT4 on a VPS with no problem so I wanted to add some of my custom indicators to my lap-top but without the compiler I am unable to do this. Has anyone else had this problem? Does anyone have a solution?
[Deleted]
Hi, I have questions regarding the reliability of the orders and tickets. Suppose I have an open order. Is there any possible way the net contracts could change (i.e. margin call, or unexpected error)? If so, I was planning to implement some kind of error check that would correct such unexpected
greating, I have an external inputs variable for me indicator, it will prompt the inputs tab when i add the indicator to chart. however when i added my libraries function call (#include), the input tab will disappear when i add the indicator to chart. please help, thanks #include "C:\Program...

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.