I am trying to develop my first custom indicator. I only want the indicator to show on the charts during the overnight session. Therefore I added a simple IF clause to check for the hour of the day. The problem is that the indicator shows up for each hour of the day. I made a small change shown...
//+------------------------------------------------------------------+//| x.mq4 |//| Copyright 2013, MetaQuotes Software Corp. |//| http://www.metaquotes.net...
I want to insert new instructions in my EA. I want to tell it at a certain point that if a close happened, then it shd carry out following instructions. Below is how I want to do it but I do not know if it is correct. if ( CLOSELONG(Symbol()) ) { //instructions here... //instructions here... }...
[Deleted]
i am new trader at GDMFX,does anyone here trades with them?let me know and can you suggest some good forex broker?Any help will be much appreciated.
Another gap, best way to determine holidays for Sydney, Tokyo, London, NY,? (Frankfurt, Chicago, HK, Wellington)??
I need help in coding an OsMA EA. The EA would be based on the 4 hour and 30 minute OsMA indicator. For a buy execution, the 4 hour OsMA would need to be above zero and the 30 minute OsMA needs to be crossing over zero. Take Profit is 14 pips with no stop loss. For a sell execution, the 4 hour...
HI everyone, i am a news trader and i enter my orders a few bars from news events . I usually enter 10 orders. 5 sellstops and 5 buystops. I need an help with an EA i can automatically use to trade news events based on my aforementioned parameters . Any help would be greatly appreciated. thanks. So
[Deleted]
Hell, when the MetaTrader 4 generate a timeout error and the EA has stop to work, how can i get a notice abouth it? I cannot send me a Email or i cannot make a Alert, how can i let me know when a tieout have happen?
Hi. Is possible to get info about others pairs with an EA in a only chart? I can to create a string with: EURUSD,Time,BID,ASK,HIGH,LOW EURJPY,Time,BID,ASK,HIGH,LOW GBPUSD,Time,BID,ASK,HIGH,LOW AUDUSD,Time,BID,ASK,HIGH,LOW To concat all is easy but Hou Can I take the value for the High for exemple?...
Hi, I want use int GetDlgItem( int hDlg, int nIDDlgItem ) function in script in MT4. Where I can find nIDDlgItem values for different sections same Navigator, Market Watch and another Menus? Is there script to find that or any list? Regards,
[Deleted]
Hi! My question is that if the spread on XAG/USD is about 2 per mille and I try to open a position with my whole balance than the broker will open it and immediately close it because the negative amount of 0,002% spread with 1:1000 leverage is two times bigger than my balance or it just won't allow...
Any value in doing this? Hopefully the contents of this thread can be distilled down to a series of 'must read links' and published as an Article either here or offsite? If we try to keep the chatter down in this thread (maybe discuss the thread in another thread), stick to facts, and avoid...
[Deleted]
Can anybody further explain "the seed" and the MathSrand() function. I did read documentation but couldn't understand. In fact I did use MathRand() without MathSrand() and saw that MathRand() worked normally .
[Deleted]
I have a indicator here. Please help to create an arrow indicator when both indicators crosses each other. Really appreciate the help
[Deleted]
In order to generate different combinations, I believe I need to work with permutations. Every setup has A entries with 2 possibilities ( true/false). Examples: A = 5 entry1 entry2 entry3 entry4 entry 5 Combination 1: false false false false false Combination 2: false false false false true...
Hi My broker in sunday night at 21PM Open New Week bar(for example in this week mt4 not show any bar between 13th@21PM until15@21PM ) So xDayDate count every sunday as Trading day,I want function not count sunday as Trading day!any one can help me! Appendix: 1:xDayDate Function: datetime...
please help, how to change the time period in M2 and the like? Please send me instructions on koma.makomax @ gmail.com thank you
Hi, I've used MathMod() function a lot on my code for rounding off prices. But I recently found out that if the division remainder is zero (i.e. the number is an integer product of the divisor) the MathMod() doesn't return zero, it returns the divisor instead. example: #property show_inputsextern...
[Deleted]
I have the feeling that i get often Timeout error when i use HTTP GET functions from windows wininet, have somebody ideas how i can optimize my code to get less or no more Timeout error from Metatarder. Is there any other function maybe that is better then HTTP GET? The HTTP GET function looks so:...
[Deleted]
Today i encountered a problem but i have no idea why it's happen. bool a,b,c;..........//do stuff.......... //now a,b,c are all true. I tested them:if(a){Alert("a"); }if(b){Alert("b"); // All a,b,c true, and these three alert does appear.}if(c){Alert("c");} But when I erased all three if...
Good morning, after learned mlq4 and 6 months of backtest uncertain, I would like to ask help .. Almost all brokers download from the historic metaquotes. So, any backtest is inaccurate because the composition of the candles in the historic metaquotes is different from the real broker. GMT, spreads...
Hi i was just wondering if there is any way to draw a trend line with an ea and use it for comparison just like a moving average.The method would be the thumb rule for a trend line: a straight line if touches 3 lows of the price & if the lows are higher than eachother =uptrenda straight line if...
Hi guys i`m just wondering if there is any way to get information from the journal tab.I have like 5 EA's on back/forward test, the forward test is slow and ok, but if i`m doing a long backtest with 10.000 trades then i noticed that the journal tab doesn't keep it all on record it will delete the
Hi, I want how programmatically Full screen a chart window? And want know how programmatically close one open chart? Regards,
I was just wondering if anyone has any experience with this trading set up, at the end of the trading week, if you were to place a buy order to trigger (if the price goes up) just above, or if you place a sell order to trigger (if the price goes down) just below, then after the new week...
Hi, Is there any way in MT4 that make script or dll, able open chart by that(for example EURUSD) and next Press "F1" keyboard? Regards,
[Deleted]
I need to add the ability to set the day shift for this indicator I've adapted from an indicator showing prior day levels. I know there's lots of indies out there providing prior day levels but most have issues handling partial days (holidays, Sundays, etc.) and/or have performance issues. I'd like...
Hi there I am trying to get the charts that are on IG Index for Crude Oil on my Meta Trader in order to do technical analysis but yesterday I traded the wrong chart on IG and made money on the MT account but loss on the IG account which I thought were the same charts. The Oil charts I am looking for...
Hello, How do i check if an EA is running on other chart? Thank you

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.