I am curious if the brokers will be forced to make us switch to MT5 at some point? Do you think they will offer both 4 and 5 to keep business? Obviously they would want to but they are a regulated broker that may not be an option. I don't want to get behind in either language but the thing is,...
[Deleted]
hello, wafi_area is an indicator creted buy younous filaly, it calculate three levels to buy and three sell according to the strategy of Wafi. I have written this indicator to facilitate searching of wafi levels, we can also use this indicatos with others strategies. usually if the direction is...
Like this void Close_All() { int Total = OrdersTotal (); for ( int i= 0 ; i < Total; i++) //требует уточнения эта строка { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)==true) { switch (OrderType()) { case OP_BUY : OrderClose(OrderTicket(),OrderLots(),Bid, 5 ); break ; case OP_SELL
Is there some sort of compiler switch available for mql4? Like #ifdef? Thanks.
I'm running into a very weird phenomenon. I have an indicator that redraws on every new bar, so i'm re-initializing the indicator buffers everytime the loop is triggered in start() . When i do this: ArrayInitialize(indicatorBuffer,NULL);//ArrayInitialize(HighMapBuffer...
[Deleted]
I am trying to run an Expert advisor through a backtest and get an output csv file. When I run the EA live the output file generates fine, however when I run the back test no file gets created. I know some functions are disabled during backtesting. Are File operation functions included in disabled...
[Deleted]
I want to set the horixontal line properties in my indicator to 'Draw object as background'. Does anyone know how I can code this? I can click on a pivot line and and set this manually each time I open a chart which is not practical as their are over a dozen of them and as far as I can see it can't...
[Deleted]
Can anyone help with this please? I can't seem to get the "Extern" variables to change value in the next tester run, even though I edit them in the EA via "Modify EA" and recompile the EA before running again. I've tried putting "DeleteAllGlobalVariables()" at the end of the EA, but to no avail....
[Deleted]
Hello all, Just to tell you, I saw OrderStopLoss() function returned value on the 16th digit on decimal part. That mean, if you have a condition like that, Stop < OrderStopLoss() with these values in the log file Stop = 1.36190000 & OrderStopLoss()=1.36190000, it could be TRUE. Because...
I have a DEMO account with Fienex Group Ltd. (fxcbs.com). I tried to use the attached MACD sample and Moving Average program to test EA. No buy/sell could be executed. Even after I deleted all possible limiting conditions, still no buy/sell went through. I tried Print...
I saw these eas on one of the forums i loaded it on vps but it did not update but on my local pc it up dated and it place orders. Can someone help me to know what happened?
Hi friends, I'm new to neural network.I read, installed and tested the subject code(given as examples) and found that the network predicted accurately arithmetic series. I want to know how can I use this in my expert adviser because when i tried to compile it gave the compilation error as given...
[Deleted]
Hi Sorry if this question has been answered before,I didn't manage to find an answer by searching. I have been finding problems with EAs that execute OCO or trailing stop orders needing the user to manually confirm entry before the actions are carried out. The market window will pop up needing the...
[Deleted]
what is the minimum amount to open a real trading account, I also need financial assistance to trade with,I am a poor man. thanks.
[Deleted]
I trie to prog an easy EA. It should buy & sell at the same time (only one trade per hour or day) with trailing stops. But I get the error message "ordermodify error 1" What can i do? THX FOR HELP //+------------------------------------------------------------------+//|...
[Deleted]
Hello, I have written a custom indicator that uses the switch of parabolic sar and awesome indicator to show me when to enter a trade, I have been trying to put the code into a EA with no luck, any help would be most appreciated. I have tried a few ways of putting it into an EA, by copying and...
Hello...anyone can help me to make me EA with this indicator ? this indicator is like zigzag. When this indicator appear, then we take position. Thank you.
[Deleted]
What is the augmentation symbol? I can get an alert if " A>1.999" by using the sign ">". But what sign should I use if the only thing I want is to get an alert if the value of "A" increases?
Thanks for all! Marcelo
[Deleted]
Hi! Thanks for your help. I know this is probably super simple but I'm stumped. I would like to modify the RSI Sound Alert with loop below to add a counter, whereby after 'x' times the alert will stop. I would like the 'x' to be a user input. I took a stab at it but am getting an error ("i"...
the code section below: it does not execute: store_ind3="blank"; store1_ind3="blank"; am I doing something wrong ???? ... string store_ind3; string store1_ind3; ... RefreshRates(); ticket=OrderSend(Symbol(),OP_SELL,(lot_size),Bid,slippage*Point,Ask+(maxSL*Point)...
[Deleted]
Hello, is there a way to retrieve the path and filename of the EX4 file, which called the DLL library? Thank you Martin
I have development versions of My EA's and only compile those normally but I am curious, does compiling an EA while it's running mean that all those changes take effect immediately? Or not until you reload? Would this cause all of your variables to reset?
Using FileReadString() and StringSubstr() and comparing to "//" does not match the symbol to indicate the start of a single line comment, the solution was to convert to ASCII char code with StringGetChar(). Possibly a control or escape character escapes me!
[Deleted]
Dear Sirs, I want write a function for my EA that after X continuous loose trades sleep for Y times and next starts. After new start if we meet again X continuous loose trades sleep for Y times and next starts. I want do this cycle when meet it. I am tried and wrote below code: extern int...
Hi, I backtested an EA on 1H timeframe (that only uses closes on previous 1H bars, no tick data) on tick and then on bar opening. The backtest on the tick gave me a 100% return, while the on open it gave me 10%, with of course very different graphics. Assuming the 'every tick' backtest is the...
[Deleted]
Hi, I am having this problem that I can't solve for 2 weeks. I want to check if the current day is the first Sunday of the month. I seem to can't reconcile my code to do this. I need a function basically to tell me the current Day is the DayofWeek of the Month. In others words, for example, is...
Hi I am using iStochastic and the values it returnes does not match what I have on the indicator on the charts. I have made sure that the all the modes are correct and also compared the indicator on the charts to make sure that all are the same stoch1=iStochastic(Symbol(),time_period,PeriodsK...
The problem is that the week starts on MT4, but when using iTime onSunday the 8th when market opens, MT4 gives open time as last week(e.g. August 1st instead of August 8th). Not until sometime duringmiddle of night in U.S. does MT4 actually give Sunday the 8th as themarket open, so that it shows...

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.