MQL4 and MetaTrader 4 - page 214

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! 
Hi, I was told to activate the product in terminal after logging in, but once I did that I do not see where to activate the product. This may have been answered here on the forum, but haven't purchased from market before. How do I actually activate the product? Thanks
HI I want create ichimoku indicator for training. I want use Draw_Filing for show kumo , But when I want create new project you can select it (picture 1). Hower When You want change the type of line you can access to Draw_filing (picture 2). there is no error but not working. how can i use
Hello dear traders, Could you please help me with my task for the MT4 Strategy Tester? I need a code that would go through my directory containing prepared setfiles and perform these operations for each setfile: 1. Load expert properties from the i-th setfile 2. Run the backtest 3. Save the Report
I am trying to build a Panel that will show the current Spread and the CandleSize of a specific candle on mouse click. I made the calculation for Spread in OnTick and CandleSize in OnChartEvent. Can someone please advise how to transfer the calculated value of Spread and CandleSize in textboxes
  *** Dont work  (5)
Hello purchased this indicator for mt4 worked fine until recently. Creator said in the comments he cannot do anything and Service desk should fix it. When I apply this indicator nothing happens. Thanks
I am getting error as invalid lots amount for OrderSend Function . When I check the value of values of entryPrice, stopLossPrice , I gets it as 0. I don't know where am I going wrong. My code is as follows: ***
Hi, Please help me. Can anyone help me add Buffers to the indicator? I adjusted the indicator so that it doesn't redraw, but it memes Buffers, and I would need Bufers. Please, isn't there someone who can help me, add them to the indicator? Indicator have potential. Thanks
Hi Guys, I am testing out to write a strategy base on a custom indicator "Heiken Ashi Smoothed". The simple code as below, with a simple PRINT to verify if I get the right value. double array_HAS_Open[],array_HAS_Close[]; int OnInit () { //--- } void ResizeAllArrays() { ArraySetAsSeries