Hello I am desperately looking for a simple piece of code that works just for moving average crossover. All the mql4 code I find on the internet is crappy and not working. Thanks
Hello, I'm new to MQL4 Programming and I hope I'm posting this in the right section but I need help, I've been trying to write a code that finds the lowest low and the highest high (Day's range) between 00:00 A.M and 08:00 A.M but so far i have been stuck in a CopyLow function (I don't know what to
[Deleted]
Hello, I am fairly new to Mql Programming , so please excuse me if question is somewhat out there. I need some advice regarding a scenario: i am checking if an indicator arrow is visible in for loop Like this : for ( int i = 0 ; i <= 5000 ; i++) { if ( iCustom ( NULL
I was wondering how we can draw a histogram on the chart or rather cover the candleswith a specific colour. For example I'm trying to cover white candles with greenwhen the white candle is longer than 15 pips. Here is the code I've written andI don't know what's wrong with it. Any ideas?...
I'm frustrated because someone answered this for me but I can't find it in all my old posts and comments. I'm struggling to figure out how to run a segment of code only once, particularly when drawing an object. For example, if I create a bool variable for a MACD crossover and I want to draw an
[Deleted]
Hi If possible, give me a very easy guide. What should I do to have such a text in the right corner of the chart
I have a few buffers and numbering them gets tedious because I keep adding or removing ones, so I have to change all their Identifying numbers as I add or remove buffers for instance I have SetIndexBuffer(1,A); SetIndexBuffer(2,B); SetIndexBuffer(3,C); and If I remove SetIndexBuffer(2,B); , then I
[Deleted]
Hello to all professors With this code, I want the first position that went to 10 pips of profit to be closed (the first position) Sales positions are calculated separately and buying positions separately But here the expert comes and checks that every position that was in 10 pips of profit finds
Hello, I found this piece of indicator on the net. Once installed it displays old alerts but not the new alerts. I am beginner with mql, and I don't understand why, if someone could help thanks in advance. #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1
I want to limit the number or trades/orders in MT4 using my EA in MQL4. I want the limit on each pair not on all Pairs, like: If the condition / logic match then 5 trades will be executed on Each currency where the EA is attached. This is the code i tried, but it limits the trades on all pairs where...
Hi , I am unable to connect to my mt4 account via my iphone when using Wifi. When i use data, there is no issue. Only when i am connected to the wifi do i face this issue. Please advise. Thanks
Hello I seek two arrays Series array that contains the bid prices of each bar of the current chart Series array that contains the ask prices of each bar of the current chart how can i know the bid and ask in the past, for instance bid and ask from 1h ago, or 1000 ticks ago
Hello! I would like to ask you to insert here the day bar info indicator for mt4. exactly the same like in the pics. Thank you! Bye! <Deleted>
Hi, Is it possible to hide the OPEN price on a Bar Chart and just have the close price showing?
Hi, I have an input parameter in my EA 'startMinimized' - if the user sets it to true the dialog should be started minimized. So I do it this way in my code: ExtDialog = new CPanelDialog; if (startMinimized) { ExtDialog.Minimized( true ); } if (!ExtDialog.Create( 0 , " " + _Symbol
Hi friends, I want to see and calculate only 5 digit but it creates 15 digit ! How can i reduce the total digit anyone know? double ma12 () { double ma12 = iMA ( _Symbol , _Period , 12 , 0 , MODE_EMA , PRICE_MEDIAN , 0 ); return ma12; } // Comment ( "Close :" + Close[0], // "\n ma 12 :" +
I have successfully compiled my first EA without any errors and want to to some back testing on it. I have chosen to start with the EURUSD 1MIN and 5MIN charts - but get NO results!(No buy or sell signals.) When I look at the log file I get the following error: TestGenerator: unmatched data error...
Hi ! If i could get anyone help, that could be of great help! I am getting orders as soon as the right parameters are met but as soon as the pending order that is getting sent gets expired, it opens straight away another one in the same location? instead of waiting for the next signal.. please some
I have a custom indicator that uses some buffers for calculations to create objects (horizontal lines in the indicator window). I have used SetIndexBuffer(n,DRAW_NONE) and it all performs correctly. But in the indicator's Properties menu under the 'Color' tab there is still the option to choose...
Hi im wondering how I would go about calling a super trend indicator. Beneath is the code I have, im not sure how to set the parameters timeframe, period, and multiplier. When I put the corresponding numbers i get the error - name expected. Any help is much appreciated. double SuperT = iCustom = (
Hi all, I've tried looking for the answer but have been unable. Is there a way to restart a signal, so it doesn't include past performance. I've continued using a an old account that I had a signal on for a while. I've started using it again with a new system, but its showing past performance which
Hi i got case when code on mql4 when i am doing 1000000000 * 3 = -1294967296 (?????????) but when i do 1000000000 * 3.0 = 3000000000 But this is didnt happend when i multiply with 1 or 2 Can some one explain
Hello guys, sorry if this is the wrong topic but im new here. I'm trying to develop an Expert Advisor that is based on TCCI indicator. The EA that im building should open a trade in buy when the line is green, in sell when is red. The only problem that i have is that i dont know hot setup stop loss
Hi everyone , I use this simple code in order to pause tester on every candle. (for some reason!) my problem is that sometimes it skips some candles and then it pause the test. #import "user32.dll" void keybd_event( int bVk, int bScan, int dwFlags, int dwExtraInfo); #import
Any help would be sighlty appreciated. void OnStart() { datetime Session_Begins = TimeDay (D'2021.06.07 02:00'); datetime Session_Ends = TimeDay (D'2021.06.07 11:30'); string OpenTime=TimeToStr(Session_Begins,TIME_SECONDS); string CloseTime=TimeToStr(Session_Ends,TIME_SECONDS);
Hello guys!!! I have a problem of custom indicator's colour not showing when I do backtesting with EA. Please help
void OnStart () { while ( 1 == 1 ) { OrderSend ( _Symbol ,OP_BUY, 0.001 ,Bid, 0 , 0 ,Bid+ 0.09 ); OrderSend ( _Symbol ,OP_BUYSTOP, 0.001 ,Bid+ 1.60 , 0 , 0 ,Bid+ 0.09 ); Sleep ( 10000 ); } } Can anyone help me
Im wondering if its possible to set a delay timer between trades? I'm working on automating a strategy, but there are some times when conditions are met that trades will open and close faster then you can blink. I'm wondering if we can say "For the next 10 bars, do not open any new trades", or...
Hello I would like to place an alert on this indicator at the trend reversal point. is a mql4 indicator. someone can help me thank you
[Deleted]
Hi guys, I'm completely new to MT4. I downloaded the "one click close all" EA and installed it but it doesn't seem to work. Any idea what may be the problem? Any help/advice is appreciated. 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.