Expert Advisors and Automated Trading - page 72

To post a new topic, please log in or register
Hello, I want to know why this EA disappeared from the market after I bought it, I couldn't even find any pages about it anymore. If there is any technical team please let me know what happened, thanks.
Hi everybody, I want to solve one task with linear regression: I have the function y = ax1 + bx2 + cx3 + dx4 + ex5 + fx6 y and x1 to x6 are known and I have the matrix with their empiric values (100 examples). I want to calculate the approximation of a to f. I download the library "alglib.mqh" which...
Hi, I have looked up all information on this issue and I can start MT4 strategy tester with a config file. What does not working is the autoloading of the .set file. Which format should this be? TextExpertParameters=Setfilename.set This does not work . Anyone any ideas? Regards, Dennis
Just trying to subscribe to a signal, i click the Start Copying In Metatrader button a pop-up window opens saying open URL:MQL4 Buy Protocol? which i click, Metatrader opens but nothing seems to happen many thanks Andy
Can an EA incorporate or read price values from indicators that are active on a chart? Eg, an indicator that looks for daily S/R levels, pivots, or round numbers? Apologies if this has been asked before. Also, how would one go about programming an EA to enter a trade when price reaches a round...
Hello everyone, I just subscribed to a signal and currently copying the trade but this puts a different lot size as planned to my trading account. Thus, which to confirm if I can alter the lot sizes in my trading account for all subsequent trades that will be entered. I look forward to all possible...
Hello, I am looking for a solution so that my trades are automatically closed at the same time that I established the expiration date when creating the trade. An example, if I established that the expiration date for a new trade was on 01/23/2019 at 2:00 p.m. and the trade opens, even if it is open...
Hi  I 've Imported "user32.DLL" to my expert . It has a class by the name of " SendKey" . How can I use this class in my expert ??!! MQL5 does not recognize the class in this DLL . Please Help . Thanks .
Hi there! I've been trying to create my first EA without much success. I'm not an expert in programming and my almost forgotten php programming skills doesn't help either because I have the feeling that I'm trying to program my EA the way I would program a php so apologies for the mistakes both in...
Hi Everyone,  I need to automate Buy or Sell with some condition.I used to get calls like below Buy above or Sell below.At the end of the day,Only one will get executed daily. I need to create a mql4 code to place Buy n Sell order.If any one of the Buy or Sell executed, the other order needs to be...
Hi, If I subscribe a signal which has an open position, will it be copied also? In worst case I would be holding unfavourable position from the start? BR DW
Hello everyone! I have developed and algorithm and actually it's a 2 part question: 1. when testing it using real tick data i get some setups give me better profits 2003-2009 and some give me better profits in recent years - what should be my focus when optimizing? is it correct to assume that the...
Hi all, It's possible to rent 2 signals and use them on a single MT4 account? thanks
 I rented VPS for 1 month. But MT 4 does not copy the signals. Someone help me pls..
I have a working EA on MT4, I decided to test my broker with MT5. So I made the new EA with MT5 with success, however all pending order are not working in backtesting... So I used one of the MT5 sample and made a EA just to test pending order using this:...
Hello Everyone I have a problem in optimization passes. I've searched a lot but non of questions nor the answers in the forum was the one solving this problem. The problem is that i have some bool parameters in my inputs which when they are set as false there is no need to optimize some other...
Hello EA Gurus... I have written an EA and tested it, found working fine. Now, I am testing this EA in real environment on demo account. I am running this EA on virtual machine (VM available 24 x 7) and on personal computer (not available 24 x 7) with same broker. Issue I am facing is, I noticed...
Hello everybody, the function SymbolInfoTick get the current Tick information. It is possible to get a range of ticks? For example in current time (today) I want to get all ticks for yesterday on specified symbol.
Hi Guys, I tried to migrate code from mql4 to mql5 using info in https://www.mql5.com/en/articles/81. I replaced "int WindowFind(string name)" with "int WindowFindMQL4(string name)" . int WindowFindMQL4(string name)  {   int window=-1;...
I am learning MQL4, and I do not know why when I put this code where I assign the value of an array, it takes me out of MT4 and does not print the comment, could you help me please? double fmh[]; int numBar[]; int start() {      ArrayInitialize( fmh, EMPTY_VALUE);    // empty the chart...
This seems to effect optimizations only for some reason. At the top of my inputs, I have a sinput named note with this string entered in the inputs tab "Trendline.m60.2012/11 bOOS" which effectively renders all other sinput strings null at runtime. When I change my sinput named note to "Trendline...
Hi everyone! First - i`m sorry for my bad english. I`m searching for someting that can change my sl to the entry point after reach 60 pips in profit. Floating sl is not an option.
Hello , This EA Work On Any Trader By Robot Or Manual Put Your Setting And Work Auto First Put Your Name Symbol Use it in symbol setting And Open anther New Chart for this symbol  (( your robot work on it or you work manual on it ))  And Attach this EA on It And Active it Work Enjoy It :)
Code: https://gist.github.com/Industrial/71e6a771708ecd9d06ea897ec2d2319e These lines are the (same) problem (array indexing): Line 21 Line 28 Line 29 Line 31 Line 48 Line 50 1) Why is `double X[][];` Wrong? 2) What am I doing wrong with the array indexing?
Can anyone offer some starting guidance on how one could detect completion of a renko block? Like a renko version of iClose. I could take candle High-Low to match the brick size I want, but that isn't what I'm after. What I'd really like is the detection of the formation of a new block. Thanks in...
Hello, is there a way of protecting an EA against issues coming from disconnection or closing and re-opening MT4 ? I use an EA working with pending OCO orders and pending hedging orders at same levels as intiial OCO levels. After closing MT4 the EA entered one more time the initial trades when price...
Hi, I am trying to obtain the number of Pass currently executed while in an optimization. The idea is that while in a Slow Complete algorithm I want to execute only certain steps. Up to now, I tried this by using a terminal Global Variable created _within_ the Optimization (as the normal terminal GV...
Hi there! I'm optimizing parameters for my EA for various symbols and various periods. There's a way to run the optimizer for a symbol on M1,M5,M10 in one shot? Now I'm doing one by one (symbol1,M1; symbol1,M5   |  symbol2,M1; symbol2,M5   | etc.). Should be nice if we could select symbol, M1|M5|M10...
Hello, A simple question as I'm a bit confused.. If Close[0] returns the close price of the current bar, wouldn't it also be the same as the bid price(in the case that the chart is drawn by the bid price)? And if so, if I'm looking for a certain candle type like a Hammer candle, I would have to...