Download MetaTrader 5

MQL4 and MetaTrader 4 - page 900

To post a new topic, please log in or register
i am getting this error time after time when running an EA on a demo account. can anybody tell for what reasons this happens? thank you mario
I was wondering if Meta Quotes was ever planning add other time frames other than the standard M1, M5, M15, M30, H1, D1, W1, M1. How can I go about requesting additional time frames like other non-MT4 or MT5 brokers are doing? I really would like to see 2 hour, 8 hour, and 12 hour time frames...
Hi all, how do you measure your EA's profitability? Do you used DD, PF or any other equation?
hello, I have a demo account that I used for 2 months in my laptop. However, my laptop collapsed yesterday( metatrader 4 was open at that time) and I downloaded metatrader 4 to my other computer but I can only see my positions. I could not buy-sell anything and could not close the positions that I...
Can someone please help me with this code. It is a hedge strategy I am trying to write but I can not get it to work. It is suppose to open a buy and sell simultaneously. When either side is stopped out, the stop of the winning order should move to the opening price of the order(Break-even) then...
Hey Guys, I'm into forex trading using robots, and I have found outthat the most crucial step is the choosing of the forex robot. Nevertheless,there's almost no way to take an informed desicion, all the robots sites look and say the same,"buy me and be a millionaire". So, I've been trying to find...
Hey everyone, I recently wrote an indicator for GBP/USD. I'm pretty new to coding but I was able to write an indicator that shows where the close of the current candle is in reference to the alligator lines. I know my code is pretty crude but it works for the time being. I want to manually backtest...
Hi, My broker just recently switched to a new "core" technology, whatever that is, and along the changes came a 5 digits switch. The problem is that now my OderSend() function is broken and every time gets an error 130. I've tried everything, from normalizing takeprofit and stoploss to sending the...
Hello traders, Is there anybody that can help me with a script for to create an indicator that plots stochastics of an RSI please. I am not a coder or programmer at all. If anybody can help i would appreciate it very much. Thanks Fred
i have this indicator,, 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 upward price we can only buy from the...
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,...
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...
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...
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...
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...
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....
Does anyone have a function or script which removes excess spaces (2 or more spaces) from text.txt files?  The StringTrim commands are not working for me.
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...
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...
  PLEASE HELP (1)
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.
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 //+------------------------------------------------------------------+//|...
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.
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?
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"...