[Deleted]
Hi guys, and thanks for taking the time to read this. I have just started learning & coding in MQL (I have some experience with C). I am setting up an EA that gets moving averages . It loops, getting the moving averages repeatedly -- intending to be getting the most recent averages. The first time I
My broker varies spreads on a market that I'm interested in. I'd like to have an indicator that shows the historic Ask price. Can I access historic Ask prices, or will I need to keep a record of them myself? Does such an indicator already exist? Also, if I do need to keep a record myself, how can I...
Hi, I have programmed an indicator with many objects. If I remove it from a chart with no or less other objects, all my objects from this indicator will be removed. If I remove it from a chart with many objects, the objects are on the chart after removing it anymore
[Deleted]
Hi folks, how can i retrive a failed return value for ArrayBSearch ? i just tried to wrote a wrapped ArrayBSearch Method but "dArray[iIndex * iSize + 0]" is always "0". How can i acces a undefined array like my paramter "(double dArray[], ...)" ? int wrappedArraySearch(double dArray[],double dValue...
[Deleted]
I need to close all orders older than 2 hours. Anyone know how to do this or have anything that could help? I tried to understand the time function but it is not working, maybe I am calculating/obtaining the time incorrectly. Any help is welcome. Thank you! =D
[Deleted]
Hello everyone: I'm new to MQL programming. I have code that's working perfectly fine as an indicator but when I convert it, I'm running into an odd issue. I'm not getting my arrays to set to any values in the latter. I define a Type Double Array and am using the High() function to define some...
[Deleted]
For anyone willing to take the time to explain, if you create a custom indicator, how do you "encrypt it" for a better word, so others can use it without the code being viewed, thanks to anyone contributing, I do understand there is help in the "book" but i am asking for a contribution if i could...
Hello, everyone, I met a problem while coding in MT4. It is just a simple script that caused the CPU occupied at 100% percent. I was wondering whether you would be kind enough to enlighten me what is going wrong. Thank you so much!...
Hello, Simple question, Can I prevent an indicator to be used using iCustom() function? THX!
Hello, I have a simple question, Can an indicator call itself with icustom recursively? This could be useful to know other values of the same indicator in other timeframes. Cheers :-=
I would like to draw automatically two horizontal lines everyday on 00:30 and on 14:45. After the end of day two horizontal lines should be deleted and draw new lines on new day at above times. Has anybody any idea, how to do it?
[Deleted]
Can anyone please explain this to me:
[Deleted]
I'm on a 5 digit broker. Using Strategy Tester! This code, Alert("Stop Level: ", DoubleToStr(MarketInfo(Symbol(), MODE_STOPLEVEL),5)); returns 0.00000 However, this code: Print("Attempting to open BUY order..."); ticket=OrderSend(Symbol(),OP_BUY,0.1,Ask,1,Ask-20*Point...
[Deleted]
Hi, how do I apply an indicator to an indicator in MT4? E.g. when I want to show the Momentum of the MACD? Thanx. ForexFan
Hi I would like to watch a 3 min chart is there away to set this outside of the standard settings. ? Thanks.
[Deleted]
Several posts have been SPAM attacked by user: https://www.mql4.com/users/bata
[Deleted]
Hi, I am trying to use MT4 platform to backtest stocks. But how do I add a new symbol for my stock? Thank You, Robin
[Deleted]
In my EA I built an Array called 'TickData' which saves incoming bid price and time information for each incoming tick (skipping ticks with changes in Ask price only): double TickData[][4];int start() { UpdateTickData();}int UpdateTickData() { int arSize = ArrayRange(TickData,0); if...
New MetaTrader 4 build 415 has been released We have released the new MetaTrader 4 build 415 with a lot of changes and improvements. Now we invite you to participate in beta testing. Connect to our demo server at demo.metaquotes.net: 443 and the LiveUpdate system will automatically update your...
Good morning, I would like to ask you a question that has been plaguing my head for a while. I have developed an indicador that relays mostly Volume and FMI to determine trades. It is so important that I cannot test historic results without downloading the complete historical data from the mt4
[Archive!] FOREX - Trends, Forecasts & Consequences (Episode 12: February 2012)
(7924 1 2 3 4 5 ... 792 793)
The previous episode is here . The rules are the same
[Deleted]
Can I open order based on different account? so if my Demo account opening an order I will open Order in different account too?
[Deleted]
Hello, I´m trying to build some strategy based in the attached indicator. For some reason I´m not able to add an alert for different colors. The indicator uses 3 different dot colors, and I need to alert when each ones appears.eg : "new white dot eurusd 15m" etc.... I would also like the
[Deleted]
I'm writing an intermediate fractal indicator . Essentially I take a base fractal array of highs and find an intermediate high that has both a lower fractal high on either side. Nothing fancy, just testing mql. On top of the fractal code, I'm running the following logic: ExtUpFractalsBuffer has all
[Deleted]
Too overcome a tendancy of too high or too low of a price entry, I have been trying to install a Stochastics and RSI Overbought and Oversold OpenOrder Delay. In other words, not a set number of bars or time after the Original entry signal.ONLY Stochastics and RSI for final OPEN_BUY or OPEN_SELL....
Hi guys I thought it would be quite simple to achieve this but, it does not seem to be working for me. I am trying to create my own log file so for example I want to write the current bid for every tick to a txt file. The output i require is : [Date] 12:24:53 The current bid is 1.33981 [Date] 12:24...
I think I may have discovered a bug with regards to tester. I don't know if it exist in later Builds. It is showing results from other combination test and not the one calculated by shown inputs. One of Mismatch Examples: The combination C1 and C2 both with value 1 would not pass the init or start...
Question about OBJ_TRIANGLE can this type of object be moved around and positioned on the chart using 3 coordinates with ObjectSet(obj_name,OBJPROP_XDISTANCE,x_coor); ObjectSet(obj_name, OBJPROP_XDISTANCE,x_coor); .. to achieve a positioning relative to left+top corner of sequrity window as with...
[Deleted]
Hello community! I've been studying this stuff for a few months now, needless to say I'm pretty green at mql4. I really need some help getting this code based on Rob Booker's 5/13/62 strategy to compile. My business partner and I charted this a few weeks ago and determined that entering trades...
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.