Hi guys, Good day, I'm an intermediate programmer, and I want to know how to add a condition to my EA for buying and selling. what I mean is that I want the EA only to place positions if the conditions are met. The condition is: High[2]<High[1] && Low[2]<Low[1] I'm using ArrayCopyRates to get rates...
[Deleted]
below is the coding I have for entering a position but I would like to possibly make another type of trailing stop... basically I would have a stoploss of maybe 100 pips but I want to make it so once it goes up a certain amount (I would make another extern int for this) it would adjust the stoploss...
need someone who can make an alert with a combination of these 2 indis when its crossing each other with different settings. exactly like a moving average crossing alert. i need it to be alert when T3 period 5 crossing T3 period 9. appreciated in advance. attached is the script
[Deleted]
Can someone tell me how MT4 updates offline charts? Is the .hst file associated with that chart updated or is the chart itself updated? When PostMessageA() is called, what data is it passing to the offline chart? a. can that data be accessed? If the chart itself is updated, what data is updated...
[Deleted]
Hello - I have been testing the MT5 platform for a few weeks, it is really very good and solid. I have a very curious bug that I have discovered. Here is the minimal code to re-create it (as a script). Basically, there is something awkward that happends when an array is resized in a different...
Hi All! I'm a newbie of metatrader but I love this tool! And this is a great forum, here is my first post: I have installed the metatrader4. Downloaded 1 min data in the History Center for EURUSD. I run the strategy tester on the EA "MACD Sample" that is included in the installation of metatrader4,...
Although this may sound pointless, over long peroids I try to interperate ticks and it scews my emotions and leads to me second guessing my entries/stops etc I am wondering if there is a way of delaying the appearance of a candle until the bar is complete.. (kinda like EOD for intra day) I was going
[Deleted]
MT4 lacks a simple change field option,i wanna see the percentage of change?is there any script or code for that? thnks lot
Hi everyone! Im new to MT4 and still getting comfortable with the setup but in regards to the MACD indicator, despite there being three parameters in the properties window for the indicator (fast EMA, slow EMA, and MACD SMA) it only displays what seems to be two of them on the chart..the histogram...
[Deleted]
This should be pretty simple to do but I just couldn't find the documentation on it. I'm trying to use Close(0) to represent the close of the current bar. However when I try to use the backtest, this doesn't seem to work. My plan is to only place orders at the close of an hourly bar, but in the...
Hello, I am trying to make an EA based on one indicator but with two different settings. Let me see if I can explain correctly: The indicators are show the trend of two timeframes. M5 and M15. Now I have managed to get the EA to trade when the two match (as shown below in the picture) and it Closes...
[Deleted]
Hi, I'm new to coding and have been trying to pick my way through it. I've run into something that has me stumped so would appreciate some advice. I'm trying to find the highest price whilst the stochastic is oversold. Using "if" I set a variable when the stoch first crosses 80 and another when it
[Deleted]
Is there any way to automatically attach EA to all symbols? Thanks!
I need to be able to set the time the EA trades? Any help would be greatly appreciated!
Once a SAR is calculated for a given period is it allowed to change? It's my understanding that the SAR for "tomorrow" is calculated using data from "today". If this is true, then shouldn't SAR remain constant once it is calculated for period [0]? My basic concern is that when I check SAR[0] at the
http://evrazia.org/news/11040
Hi guys, I'm looking for the solution for it, but, it's looks like impossible to be solve :S Well, I've looked at GOOGLE/Old entries of the forum, and old entries in another foruns, however, I've not found the solution. Well, I've developed a DLL in Delphi to use in my EA. It's working in my local...
Hi, Is there any public EA that would put and alert on a moving average crossover. I know nothing about MT programming language and have no time or intent to learn it. I know it should be a piece of cake for someone proficient hence thinking it is so basic that it must be in the public domain
I get the following error when trying to create a DEMO account on your server. 2009.12.01 10:57:28Networkfailed to connect However I can ping the server with decent ping times ... less then 50ms. So connectivity is NOT an issue, but DEMO account creation is broken!
[Deleted]
Dear friends, any formula for add zigzag with stochastic .Please anybody help it. With thanks smnvnkt
Hai, I want to create an EA where the orders get fired based on the values of a VC++ exe.How i can achieve this?
[Deleted]
/+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { double llots; double lSL; if (TakeProfit==0)...
How can I access (thru expert advisor) a moving average of another indicator (for example RSI, or Momentum ) both on the same indicator window. I don't know how to access the second indicator(MA). Regards Andreas
[Deleted]
Hi. I have got a problem trying to use EA calles "usualexpert.mq4" taken from S. Kovalyov book available on mql4.com website. I copied all fuctions and #include files from the book, made an attempt to compile the following code (which is almost the same as "usualexpert.mq4" EA): #include <stdlib...
[Deleted]
Please teach the company that can use MT4 in the securities firm in Singapore.
Would be nice to have in MT5 subminute TFs. I understand it is a lot of data to be downloaded from data servers but it could be somehow limited for just a couple of days of such fine resolution data. Other platforms allow even tick data or consolidated ticks. 5s data would be good.
[Deleted]
hallo tell me video link how to use mt4 platform for trading
I found this great EA (thank you Ron) and i need to include the next sentence: if(OrderType()==OP_BUY) if(Bid => iCustom(NULL,0,"JFatl",JFA1S,5,0,i)); closeOrder I need help to include this sentence (correctly written) (and the same for OrderType()==OP_SELL)) in this EA. I want fix a TP (in...
[Deleted]
If I run more than one instances of the same ea with the same code on my terminal, for example, one on the gbp/usd chart and another on the eur/usd chart, will the global variables declared at the beginning at the program cause a conflict with multiple instances of the ea running simulataneously
Hello, Im a trader, but can not set aprogrammer as I trade . Pls help me. I usually use Heiken Ashi Indicator. That indicator are very good, but I have not time for checking every time. Pls set open position and close for that Indicator. Thank you very much. My email: haiaukhongve@gmail.com Skype:...

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.