[Deleted]
Hi all, First - please excuse my ignorance in MQL4, I'm still a newbie when it comes to this one, your patience is appreciated. I'm trying to create an EA based on 'Urban Forex 10 Pips Scalping' strategy (http://www.urbanforex.com/forex-trading-strategies/68-10-pips-per-day-scalping-strategy) This
[Deleted]
[Deleted]
hey guys i jsut have two questions which i cant answer myself by googling or with the book: what does this mean?: int/bool something if (!something) what does the "!" tell me and why is there no condition in the ()? and the second question is: its almost the same as top what does it mean when...
I was curious about the speed of mql4 compared to mql5, so I did a little test. I implemented a simple prime searching algorithm and ran in MT4 and MT5. Code in MQL4: int filehandle, i, d;double x;int start() { Print(TimeLocal()); filehandle=FileOpen("primes.txt",FILE_WRITE); for (i = 1; i <=...
[Deleted]
Hello I use MT4 and I configured an indicator (RSI), currently I'm working on my computer and occasionally I'll see if the RSI is not within my chosen. It is not possible in the configuration of this indicator to my attention when he reaches the upper or lower limit by a sound? Patrick
hello, can any one help me, i want an EA for stochastic that when %K of stochastic cross 70 level then automaticaly buy a 0.1 lot size position without TP and SL and same when %K of stochastic cross 30 level then automaticaly sell a 0.1 lot size position without TP and SL according to stochastic...
-
Hi all experts here, need your help I created an EA based on price volatility. It will buy/sell if price jump up/down suddenly. When I compile, no error but when I test in Strategy Tester, it fails to open any buy/sell order, it gives error 0 in error message below is the code you are welcome to...
[Deleted]
Any one help me I hereby attached one indicator. can anyone convert the indicator to expert advisor. kindly do the needful. This indicator accuracy above 80% . Regards J Johnson
[Deleted]
My EA will not work unless i check the (Allow Live Trading) + (Manual Confirmation) If I just check the (Allow Live Trading) it will do nothing ... just skip the step of OrderSend() and generate an alarm!! do i need to add some sleep time or what? //---- buy conditions if ( OrdersTotal ()== 0 )
Just loaded 2 Robots to the FXCM MetaTrader 4 Demo platform - Best Secret EUR/USD & GBP/USD. I get the smiley's in the top Right hand corners - but the robots are not trading? Looking at the Navigator - they are greyed out? Any advice?
Hi, can anyone point me in the right direction. Thanks in advance ObjectSetText() indicator code problem I have a problem with indicator code that, although placed on all charts, output is only at the first position or chart opened. The code attaches a text of pip calculation (OrderStopLoss...
[Deleted]
I have a problem with the tester that I'm hoping someone knows how to fix. When I run a backtest the symbol properties tab appears to get populated with the current spread data (at the time the test starts). The problem is, if I test on the weekend when the market is closed, then the spread is...
I am placing the same indicator on the same chart and drawing objects on each of the two indicators. I next want to identify which object(s) belows to each indicator. I can get the window number from each object by using the ObjectFind(name) function. This returns the window index. Great. But I...
Hi all, I don't know whether you've ever encountered such weird situations. when I'm trying to test an EA, sometimes the result is positive while sometimes is negative. I swear I'm using exactly the same historical data/test period/timeframe/parameters/agents, everything is the same, everything!!!...
[Deleted]
I created an EA for MetaTrader 4, but I have a problem with her on the platform InstaTrader. They open only buy positions. On platforms from other brokers I have met with this problem. Has anyone experience with it? Direction of trade need to generate random. Executing it as follows: // Vygeneruj...
Hi guys, I need yout help. I need a simple Grid EA that creates 10 or more buystop orders und 10 or more sellstop orders at given time (you can also use this for London open breakout) with given gridsize. EA had to close all orders (open + pending) when accountprofit is reached. Who can help? Kind...
[Deleted]
Does any body know some decent MT4 brokers that allow trades to trade instruments such as Oil Natural Gas CFDs: Apple .... Gold Silver ?
I have previously tried to ask this question but, being new on the forum, I may have written it in the wrong window, so here it goes again. If such an EA does not already exist, I would like to locate a programmer who can write code which will trigger an audible alert within MT4, whenever three...
Hi, I found free indicator called XMA, I've noticed that it can be very useful, but unfortunatelly I'm totally green in MQL4. This indicator has 5 parameters, but I only know period parameter. Could you explain me how work the rest (Porog, metod, metod2, prise)? Please, expain me in plain english....
Hello, Here is script which exports data in different time frames and different fx pairs. It can also export indicators data. Original code it is here: https://www.mql5.com/ru/code/7716 I modified code to change output format (format it is now the same as pressing F2 and exporting). Script is very
HI I hve a problem i wrote a simple scripte #include <stdlib.mqh> #include <WinUser32.mqh> double idax[10]; //+------------------------------------------------------------------+ //| script "trading for all money" |...
[Deleted]
why the market is moving damn slow like tortise this week ...//
[Deleted]
Hi, Has anyone out there used or know of a trading algorithm/system that somewhere in the decision making process flips a coin (uses a random number generator) to make some decision? For example, in a google search I see that there are trading strategies where a coin flip is used to get in to...
[Deleted]
Hello .. I just started using Auto traders few weeks ago, i start writing a small EA .. when i test it using strategy tester it works fine, but when applying it to the live trading it is not working!! can anybody help me and tells me why? bellow is my code:
I am trading with the Trend with a 30 pip stop loss which protects me against spikes against me. I would however like to take advantage of spikes going my way. Please advise me how I can do this. I had been thinking along the lines of determining the normal high low range and when it goes above this...
[Deleted]
Dear traders, I use MT4 to trade and would like to use an Expert Adviser in my trading. However, I know nothing about programming and was quite lost, when I started reading the Book here. Could anyone of you please tell me, if I can find such an adviser somewhere or, eventually, tell me how to do it...
Dear, I am using one indicator (MA) but sometimes the cross does not happens even when the two lines of MA comes very close... Can any indicator help me to predict will the cross happen or not??? any indicator or guidance on this by experienced or any knowledgable trader will be /is highly...
I'm looking for detailed information and full and complete documentation on the communication protocol used between a Broker's MQ server and MT4 terminals.
[Deleted]
#property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Yellow #property indicator_width1 2 extern int H = 33; extern int MinBars = 0; extern bool SaveData = false; double dH; bool UpZ; double CurMax,CurMin; int CurMaxBar,CurMinBar; double Top,Bot; double SumR,SumT...
[Deleted]
Hello I am using 5 different Donchiand bands in chart. I like to show them their position according to their color and sort in ascending order as shown in attached image. But I really dont know how to do it. If I write codes how to sort in program, I will be dying. If there is a command or easy way...

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.