Expert Advisors and Automated Trading - page 418

Hi, Please post the name of any MT4 brokers that offer stocks/shares to trade.. also preferably brokers who also offer a large amount of historical data on their stocks in their history centre. thanks in advance, myles
Hello everyone I'm looking for a script / EA that opens automatically many pending orders (buy, buy stop, sell, sell stop) with adjustable intervals. where can I find it?
If I remove conditionals at line 1 and 2, it works fine getting the profit about time that I want, the problem is that i want to get only a specific EA profit. Doing this bellow i receive 4755 error(trade deal not found). Why it does not work? double getResultadoDiarioEA(){ double retorno =...
[Deleted]
how to coding mqh file or do there any tutorial for learning mqh ? thanks.
[Deleted]
Hi All, I know mql4 programming and I am confused that I will learn mql5 programming or not. As most of the broker support only MT4 platform, so is it possible to run mql5 written program in mt4 or can i login mt4 account into mt5 terminal ?
Hi all. I create a binary file, to which I write certain price data. For the reading purpose, I declare file as binary, but now I'm having problem how to write new line characters to it (like char 13 10). How do I do this? Much thanks.
Hi, title says it all, normally when you use FileWrite method, string is appended to the end of file. However I would like the other way around if possible, that is to append the new strings at the beginning without overwriting existing content, so that the last string appended is always on top of...
I am totally drain out. I took few hours to find out why the program wont enter the second if clause. Any skillful programmer wanna give a shot? if(TodayVolatilityPercentage>=90&&(dayTrend==1)&&orderOpened==false)      { Print("Entered if clause");...
Hi: I have a hedging EA that I would like to trade using USA brokers. As you know, it is forbidden to hedge trades according to the regulations. Does anyone know a way around this? Is there software that could split the buys into one account and the sells into another? Thanks for any advice!
I am new to the mt4 programming. Can anyone please help me with this? I'd like to know whether a daily candlestick is up or down. How to achieve in the programming?
Hello, is it possible to install and run Meta Trader 5 on a Server? (24/5) If yes, wich kind of Server do I need and does somone have a Installation-instruction? Thank you.
Hello Traders, The attached mq4 file is downloaded from here, and I have made some small modifications. But to be honest, my MQL knowledge is so minimal, I'm not sure how to archieve what I want. I'm hoping that somebody is willing to help me out with this.    # How to enable the Traling Stop? The...
Hi, I now have EA that works on H4 but I want to make stop loss function work in M1 timeframe I try using OnTick but doesn't work Can anyone please advise some hint ? Thanks in advance
Hi all, Could anyone please help me! When I am doing back testing using code: double TodayHighest = MarketInfo(Symbol(),MODE_HIGH); Print("TodayHighest is: ",TodayHighest); double TodayLowest = MarketInfo(Symbol(),MODE_LOW); Print("TodayLowest is: ",TodayLowest); All the...
Hello guys, I know this is far fetched but I was wondering if anyone wants to join me into creating an EA that uses both fundamental and technical indicators. I am talking about any and all indicators people have written and are using. I mean all from the simple MA to more complex algorithms...
Hi everyone, I'm trying to make my own trailing stop, because I want to put my own stop rules. As a test I made this stop which I put in OnTick () class, but analyzing this stop I noticed that he has a problem, he never stays in profit zone .. always is an amount as a small prejudice .. even...
There is little information on the forum about ready-made solutions and the effectiveness of neural networks for trading in the market. I suggest discussing and sharing experience here. If there is already a thread with discussion, please link to it. I am using classes from here , simple multilayer
Hi there mql5 forum, Im working in a EA(MQL5) and i want that every time, the EA trades, bring the chart of the currency pairs traded to the front. For example, im reading the email and the EA trades in EURUSD, and that chart jumps to the front, in front of the email window. Is it possible...
Hello, Is it at all possible to stream the tick chart into a column in Excel, where every last trade is filed in subsequent rows in a column? Also, is it possible to have Excel execute trades automatically with some kind of DDE - for example, if a cell reads "BUY," then Metatrader would execute a...
Hi! I have a problem that I just can't find the solution for; I have an EA which has a few different methods for taking the trades. Now what I would like to do is to draw some sort of a line indicator of how these methods are doing against each other. First I tried to find out if it is possible to...
Hi there. The title says it all, if I sum up bid and ask volume on every tick for give instrument (EURUSD), I notice, that sometimes volumes in market depth are exactly the same. Why is that so? If new tick was triggered, that would mean that a deal was made at a different price then before, but...
Can someone Please Help me on what I am doing wrong on my code. I want to open a trade once price goes X number of pips above or below Ask/Bid. My Code Below is not opening trades and returns no error sellprice=iOpen(NULL, 0, 0)-Distance*MyPoint*Point; //Distance is the number of pips away from...
Hi, I am trying to code an EA for pending buy stop and sell stop orders. buy stop : open[0]+0.0003 sell stop : open[0]-0.0003 This EA is placing only buy stop orders and not placing any sell stop. Kindly suggest necessary modification...
I want to send information about a trade oppurtunity from MT5 to MT4. What i wonder about is in what order things should be done. My idea is that the receiver should create the pipe and "listen" and the sender should open and send Receiver: - Create, Open, Send Receiver: - Open, Read, Flush,...
What's wrong with this code? It only open sell orders but not buy orders. extern int MagicNumber=10001;extern double Lots =0.1;extern double StopLoss=120;extern double TakeProfit=120;extern int TrailingStop=50;extern int...
I'm seeing some signals that are 'ranked' high and yet have very nasty draw downs and are doubling up on losing positions.    Great way to lose your entire deposit...
Do we have any sort of reliable guarantee that MetaTrader doesn't blend/backtest and re-use any EAs or Signals we publish on the markets?  One thing I know is that successful traders will split their trades across different brokers and sometimes fake massive drawdowns in order to make sure no...
  Ochange function  (4)
Hi How to do a function that observes a variable and check if it's changing. Something like this? "HAS CHANGED" is just for showing the logics that i am looking for. double low_f = Low[iLowest(NULL,0,MODE_LOW,52,1)];if(low_f HAS CHANGED) {Print("Value has changed new low_f value is" low_f);}   Or...
Hello, How to make two classes in a way that each class to have a reference to the other? In general I want to have later these classes in separate files. The problem is that when I define the classes, the first class doesn't see the second definition. #property strictclass...
can someone help me to add to this EA stochastic filtering , so that the opening of the position is conditioned by crossing stochastic and CCI crossing ?