Hi there, I've written an EA (Probably badly... but I did it!!) and when I run it through backtests I see all the trades it would have taken. Then I go to trade live, I've ticked all the right boxes and I even get a smile face on the top right, however the EA won't take any trades. Does anyone have...
Hello I need some sonor alerts to some indicators, I rade that it is very easy and doesn t take time to make it. these indicators belong to one of best traders I n my country . I'm student so make me good price please. I want it the sooner the better, this is my kainermy@gmail.com send me a mail, I...
[Deleted]
I have a very simple code sample: if (Range>avgRange) Comment("Deviation by ",Range-avgRange," pts. ",Range," = ",avgRange); if (Range<=avgRange) Comment("No Deviation! 100% Ranging!"); In my specific example, both variables 'Range' & 'avgRange' are of 'double' type and are IDENTICAL in value...
Can someone help me with the included code? I am having problems with closing the first file and going onto the next file. What is occuring is that the initial file remains open. How do I close the first file when going onto the second file....
[Deleted]
If, on a chart, we have made two bars that are lower than at least the two bars prior and we trade a line back to a bar from that current bar that is at least as low as the current bar, there will be a highest bar between these two bars. The moving average that I would like is of period length from
[Deleted]
can you give me sample code for making SOAP OR REST API request from MQL? It also need help to send HTTP POST data to a web page from MQL.
Hi, I have an indicator as ex4. I put this indicator with the standard settings on my EURUSD H1 Chart and get only one signal the last three month. But the same indicator with the same setting shows about 80 signals in the last three month. The settings (inputs), timeframe, underlying, broker
Hello! Does anyone have or know how to write such indicator. It should draw trend line on chart from x time candle close to y time candle close. Thanks!
Here is a simple question for you gurus. I have a simple "if" statement that lets through everything it seems, in stead of skipping the code after the "if" statement" when the condition is not true. The result is that I get a lot of error 130 - invalid stops unnecessarily. I must be making some...
Hello, This is my first post. I am programming a custom EA that uses ADX Cross indicator which prints in the chart arrows to signal buys and sells. Like the following: I added another buffer to the Indicator in order to be able to read the signal, which was one of three: BUY, SELL or NOTHING. I run...
Hi, does anyone know of a script or other method that can place and/or move a limit order continuously between a live moving bid/ask with stop 10pips away and take profit 5pips with options to change,sl or tp distance or limit distance from bid/ask. Effectively, the idea of a market order but via a...
[Deleted]
hi everyone. i really and desperately need your help anyone!! my broker is fx pro, based in cyprus. thier server time is GMT + 2. they have told me i cannot change it, but they also said that the mql4 community may be able to help in getting a custom indicator or something. can anyone help me please...
EA will not be OP when setting lots smaller than 0.05 original settings extern double Lots = 0.10;extern double StopLoss = 100;extern double TakeProfit = 10.00;extern double TrailingStop = 5.00; Values lot changed, but EA is not the OP extern double Lots = 0.01;extern double StopLoss = 100;extern...
It does not work in new version mt4 client of FXCM though It was working perfectly before. http://download.fxcorporate.com/FXCM-MT4Install.exe //+------------------------------------------------------------------+//| OneKeyBuyMorePairs.mq4...
Is there a function that can tell me which chart an order is on? If I shutdown then restart MT4... my EA thinks the order is on all my charts
Something i don't understand is when do you load indicators to a chart, is there a reason for it? Is it to make the expert advisor less harder working than to load the indicators from the indicators folder? And is there a difference for loading indicators in the way the expert advisor is written?...
[Deleted]
It doesn't want to buy. Expert Advisors/Allow Trading are enabled, smiley on the top, seems ok. Please help, thanks
[Deleted]
Hello everyone, I'm learning MQL4 (already know programming) and I'm trying some logic, loops and price levels. I'm trying to check the high of the previous candle and display an alert at that level. Example: previous_candle = (symbol,0,1) if (Ask = previous_candle) alert(hello world) Not working
Is there a way to paint candles in an indicator instead of just straight lines so we could get high, low, open, closes of the indicator value?
I have long wanted to make a separate topic, but I have never been able to concentrate. There's a lot to say. I'll just give you an outline for now. I'll fill you in later. For now, please speak up
[Deleted]
Sometimes my EA ignores my advices and opens an order, allthough the conditions I had made are not fullfilled. Could it be that the system has too much to do ? I have 15 different currencies in my window and the same EA running 15 times . How much currencies can MT4 handle at the same time ? I
[Deleted]
I have following codes when i execute it on the chart it stars to placing one pending order continuesly what should i add to it for place only one single order /-------------------------------------------------------------------- // simpleopen.mq4 // The code should be used for educational purpose...
[Deleted]
Hello. I am new to MQL4. I have several questions. I can you say as it indicates which price is the line? As he said when opening a new wing in order to create a moment of opening the new wing? thanks
[Deleted]
if(condition==true) { //Opposite as the OP_BUY Stop Loss scenario. RefreshRates(); while( OrderClose(t,OrderLots(),Ask,Slippage, Green)!=true){Sleep(500);} } This works fine with the backtester but with live trading I get no result not even a log entry. The EA button is...
Does anyone know how I can code an EA to draw lines on a chart? Thank you!
[Deleted]
"Reliable and constant forex profits"- That's what the authors of the system claim.
(107 1 2 3 4 5 ... 10 11)
Here you will be presented with a trading system with reliable and constant profit. Although the system is 100% reliable, we do not use it personally and we only give you the proof, As proof that it is possible to have a constant profit on the Forex market. Naturally, you can use it. In fact, the
[Deleted]
I have been given FTP details to download an xml feed (Trading Central feed) onto MT4. How is the procedure to add this information onto the MT4 platform?
[Deleted]
Hi everyone, I have an issue with ibarshift. I have the following code int init() { int time = Time[0]; } int start() { price = High[iHighest(Symbol(), 0, MODE_HIGH, fPeriod(), 0)]; } fPeriod(){ if(Time[0] == time) return(0); if(Time[0] != time) return(iBarShift(Symbol(), 0, time, true)); }...
hi i have had some indicators after subscribing to a monthly abonnement to the most known trader in my country ad all arabic world, and also beterthan many in the us, i made a comparaison, i live in new york, brooklyn . as yo see it works for all of them . it is easy to make a sonor ALert for MACD...
Hi, I want to understand how a simple indicator like a 2 MA cross works and draws arrows in the main chart because I want to make a simple indicator myself. The indicator I want to make must do some very simple calculations with the values of every bar and it's previous one and based on the outcome...

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.