MQL4 and MetaTrader 4 - page 1221

[Deleted]
I have a system that I would like written into an EA but don't know who to ask -or how to know if I can trust them. Any advise or information would be greatly appreciated. Thanks joyce
[Deleted]
Hi all, I am programming an EA and just got stuck in a point. I want the EA to alert when a trade has been modified. I can use file functions to save each trade specifications and let the EA check all the existing trades with the file to see if something has happened or not! but I'd prefer not use...
[Deleted]
If able, I'm looking for a MACD [similar to the MACD True indicator, with adjustable settings] ALERT that will show the PRICE and Time when the MACD line crosses the zero line (in the pop-up MT4 alert window) and stays crossed for at least x minutes (adjustable setting, such as 15 minutes). The only
[Deleted]
I'm trying to make an expert advisor that selects an order when it closes out at a loss and re-enters it. It shouldn't be a problem with pending orders.. but this doesn't work at all. Can anyone help? int start() { //---- Orders=OrdersTotal(); Count=OrdersHistoryTotal()-1;...
[Deleted]
while making an EA, I am in a kinda trouble. If the buy orders closed, I wnat to open only sell order... Even if every condition meets the criteria of opening buy position, I dont want to buy positions again. What code do I have to add if(iRSI(NULL,0,OPBUY_LEFT_1_Period,OPBUY_LEFT_1_AppliedPrice...
[Deleted]
Hi, I am looking for the right solution to sleep a EA for few minutes. I search on the forum but don't found a tips. Anybody have a idea to do it ? Regards, cake40
[Deleted]
Hello, I developpe my indicator. And i would like to know, how to call it in a EA ? Could anybody help me ? Cheers, cake40
Hello! Can anyone tell me where is the problem? Thanks! for(int cnt4=OrdersTotal()-1;cnt4>=0;cnt4--){ // I also try: for(int cnt4=0;cnt4<OrdersTotal(); cnt4++)      OrderSelect(cnt4,SELECT_BY_POS,MODE_TRADES);      if( (OrderType()<=OP_SELL) && (OrderSymbol()==Symbol())...
[Deleted]
Hi guys, i am encountering some issues here which i have no idea how to solve by myself. The situation is: 1. i have 10 same EA loaded on 10 different pair charts. 2. after some time, i cannot open some charts' EA properties by clicking the smiling face OR pressing F7. It is like hanging at there,...
[Deleted]
is there a way to pause a few seconds before an event is fired after an if statement?
can someone answer me below 2 question : 1) amd cpu or intel cpu run faster in MT4 ? 2) amd cpu or intel cpu run faster in MT5 ? i will fabricate a computer for testing EA? Do MT4 variable - double use Single precision or double precison? thanks
Anyone into ANN? Do you know how to get Encog neural netwok framework to work with MT4? http://www.heatonresearch.com/ninjatrader/articles/starting-encog25-ninjatrader http://www.devx.com/opensource/Article/44014 http://www.codeproject.com/KB/recipes/benchmark-neuroph-encog.aspx
I am a newby to the forum. when I click on the messages to post a new message, I only get an option to select an individual member. How do I post a message to all publicly?
[Deleted]
Hi everyone. Can anyone help to make this changes to this indicator please.First of all the session open price must be show a line in the actual session, but the price must be show on the price bar, and when a new session start, a new line must show on that session and on the price bar must show...
Hi, I would like opening some orders form my office but the network rules are blocked :( and Mt4 can not running :( :( in fact. the HTTP/HTTPS rules are open. Any EA for accepting an order from HTTP/https webpage ? Regards, S.T
Hello, I want to draw an old saved value on indicator, therefore I have to calculate the indicator-loop backwards and not as normal: for(i=0;i<limit;i++) I tried it like that for(i=limit;i<0;i--) but it doesn't work. Any idea?? Thank you!
[Deleted]
If my expert is calling a function on an external dll, and this function returns a string (char *) allocated on the dll How can i free the string resource after the expert is done with it
[Deleted]
Hello, i have a question about the timeframe of iCustom。what's it indeed in multi-timeframe? For example,there is a custom indicator name MyIndicator in EA, and the timeframe is set to 30 mins,please see below。 iCustom(null, 30, “ MyIndicator ”, ..., int mode, int shift); Now, i add this EA to 1...
Anyone knows if there is a multiple time-frame offline "second" chart? Where I can adjust the time-frame to any seconds? i.e. 1 sec, 5 sec, 30 sec, ... etc Thanks!
Be patient, this is my first practice account and I am still reading daily about how everything works. I have a question about S/L . I placed a trade yesterday to buy the EUR/USD and was incorrect in my decision. During the day, my P&L was negative -7000ish, but the bad EUR/USD trade i had placed,...
[Deleted]
Hello, i have a question about the OrderSend()? how can i open an order in different pairs in the same time For example if EA is executed in the GBPCHF and want that the same EA open order in the EURCHF in the same time
  double entry  (11   1 2)
Just a quick question Something weird happen to my EA, it is entering the same position for 2 times which this had never happen before. The only changes is my EA is compile with version 227 and MT4 is version 225 Could this be the problem?
[Deleted]
  Magic numbers  (4)
Hi, I have a question about magic numbers. I have my own EA which had unwanted behaviour one day which resulted in large losses, but I wasn't able to repeat this to make sure what the reason was. My question is - if I have 2 orders open at once, one on let's say EURUSD and the other on GBPUSD and...
How to take sample of the last 60sec in 1 second interval. (Assuming that all predefined variables' values historic data include some kind of time value - correct me if they don't) i.e. (the date and time now is Dec 18, 2010 @ 12:30:27') D'2010.12.18 12:30:27' price at time[0] - (price at time
Hi guys, I will apprecite if someone knows a MA cross EA where the MA periods are parameters . Thanks in advance
Hello, and thank you all for this great forum and Advanced Elite section. It's well worth the money. The reason for this my first post here is that I feel that my system is pretty much complete and now I'm trying to find a way to automate it so I don't have to spend so much time in front of my
Total newbie here, I'm teaching myself to program using the MQL4 book. I've coded the following to give alerts when stochastics cross back from overbought/oversold levels. How can I adjust the program to only get an alert at the end of the bar and not per tick? Any help will be appreciated....
Dear all I have difficulty in translating my idea into an array. I want to use "CCI value cross 0 upward" as start of an array, recording all turning points of high (i.e. high[1] > high[2] and high[1] < high[0]) and low, and use "CCI value reaches 100" as the end of that array. After that, I want...
Hi! I am using the following loop to execute trades. The first two if statements fire, the second two do not. I was wondering if anyone had suggestions on how to get this working   for(int i=1;i>= 0;i--)   {     if(ma - ma2 <= VarianceSell)       {      res=OrderSend(Symbol(),OP_SELL,0.01,Bid,3...