MQL4 and MetaTrader 4 - page 38

Hi the market products are not showing in the mt4 market tab .. please see attached pic even though the MQL balance and all the other tabs including the Signals tab seem to still be functioning normally Any help / ideas very much appreciated 
Hi guys i create a dll in c++ for visual studio 2019 for read ini file i suppose is correct the code because compile and not return error , but unfortunately , when i call it, by mql4 not return nothing , i follow this tutorial https://www.mql5.com/en/blogs/post/753426#comment_48337118 , i suggest
Hi, I set up email in option of metatrader4 , but it is not work. Know everyone what can do
This one I don't get. I cannot reproduce the error if I want. I just wait and it will happen eventually. The offending code is ArrayResize (file_buffer, Bars ); FileSeek (handle, 0 , SEEK_SET ); int size= 0 ; while (! FileIsEnding (handle)) { uint bytesread= FileReadStruct
In my MQL4 code I am able to send plain text from mt4 to telegram with ease. However, I am having difficulties adding telegram emojis to my code so that it outputs within telegram. I have searched high and low and all of which I found were examples using php and or python. Tried using plain unicode
i built this margintale ea that checks if theres any open trades and places an opposite trade when the open trade hits stop loss basically its stop and revers ea and the code is looking good but the ea is not doining any thing heres the code
Hi in an indicator that I have written , array out of range error occures, without removing the indicator from chart I whant to printf the index amount for my debug something like this : if( _LastError>0) printf(" i is : ", i , " during error" );//==4002 please some one guide me how is it possible
I want to send a notification to my phone whenever there is an opportunity for a trade. It seems that all I can send with the SendNotification function is just a text message - which is different from the SendMail function. I trade on 10 different pairs. Is there any way that I can send the Currency
new to download my purchased product to mt4 terminal
[Deleted]
Is there any way to takeprofit in pips? My base currency is GBP and im trading EURUSD. If I set my takeprofit as 25, it will close the order at 25GBP profit when i really want 25pip profit. ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); Thanks for...
Hi guys, i want convert some pine Script indicator code to MQL4 but im beginner in MQL pls help me that is some code i want use it in MQL but i dont know how ... ` float p= 0 float q= 0 float m= 0 T=close-open L=high-low k=math.abs(T)/(L) atr=ta.atr( 50 )
Hello everyone! I find this indicator on Trading view platform, and I want to convert this to MT4 indicator with same idea, indicator name is (Candle Body Size) that Plot bar size compared to SMA 50 bars back. Anyone can help me
mt4 signal not adjusting for the correct acct balance for example my acct balance is 100k. signal provider acct balance 600. SIgnal opens .04 lots on their acct. Using no more than 5% of deposit still only .04 are opened. Has affected several mt4 accts, but used to work fine Broker globalprime-demo
Hello, I 've Tried Checking the Trailing Functions , But with no luck , I tried calling the Trailing Stops functions but they don't appear to work on the strategy tester using MQL5 Lets say positions are opened on the OnTick() function we called our TrailAllPositions() #include
An MQL4 function I've created and used before in prior MT4 versions is now yielding an "array out of range error" in my EA in latest version of MT4. I've searched around and can't find an answer. The error is referencing the line:  Level = Levels[j];  after the word "Levels" How do I fix this?...
The below function is supposed to count orders whose open price is same as the fapPrice variable. It doesn't seem to work on mt4 strategy tester for pending borders. What could be the issue or is it a bug in the tester? //+------------------------------------------------------------------+ //|
Hi i try to work with inifile but unfortunately is very complicated in mql4 , i saw a lib in library but not work , therfore in first time i try to usae fileread and many more but not work also this solution , therefore i prefer use a dll i created this dll in C in pelles // libini.c #include
Hello again, I hope your are doing well. For a little context, my indicator uses data that is pulled from the web at candle open and written to a file. The problem is sometimes the line is not being updated accurately and I need to either manually switch timeframe and revert to the previous
Hello everyone, I tried to make a simple EA that has two pending orders and that when buy or sell is activated the other one disappears and after 1 pip the trail is activated but the code gives me 5 errors that I can't solve. Can you help me? ... Improperly formatted code removed by moderator
Hi guys , I been strategy testing an ea for a while with promising results ( modelling quality 99.9% ) . Last week I decided to try the ea on demo to see how well it was performing ... the results are very dissapointing.. So I decided to backtest the demo ea results from last week using (99.9% tick
  historical data  (2)
I downloaded 1 minute historical data from https://www.histdata.com/download-free-forex-data/ and then imported it into MT4.  I then ran the period converter script (https://www.mql5.com/en/code/7935) to create a 5 minute chart.  When I select File - Open Offline, it appears the M5 chart has...
Wondering if anyone has successfully made an EA that runs on the ByBit MT4 platform. I'm having issues using strategy tester with crypto pairs, getting the following errors: Tester: exchange rate cannot be calculated Tester: margin exchange rate cannot be calculated I'm guessing the issue has to do
Hello, I am trying to follow a tutorial on programing with MetaEditor and im following his code but its not recognized for me. Here is the video: https://youtu.be/nhGU18FjI54?t=717 Here is the code that the guy has in his video and for me the program wont recognize it, I am aware that it is mql4 and
Hi everyone, I've been writing an expert advisor for a while that I tested and optimized using Alpari. But now, I realized that after some time, without any modification to the code, the tester results are different (the original DD was 8%, now more than 40%) even if the dates are the same, the
Hello I am looking for the Weekly Fibbo Points Level (S3,S2,S1, P , R1, R2, R3) on MT4 Chart. refrence Screenshot attached , need same Weekly Fibonacci Pivot Point on the MT4 Chart Best Regards
I have a trading bot on my MT4 on 2 different platforms. It took trades for 4 days and then it just stopped. Refreshed, reloaded several times and still nothing. Is this a computer issue or an MT4 issue. It would seem that the bot is not communicating with the MT4. The strange thing is that it is
bool tradeOn= false ; for ( int pos= 0 ; pos< OrdersTotal ();pos++){ if (! OrderSelect (pos, SELECT_BY_POS)) continue ; if (OrderType()< 2 ) {tradeOn= true ; break ;} else continue ; }
i am just a beginner , i tried to draw a EMA on the chart but obviously it is failed.which part i did it wrong ? int start() { double EMA= iMA ( _Symbol , PERIOD_CURRENT , 200 , 0 , MODE_EMA , PRICE_CLOSE , 0 ); ObjectCreate ( "MA" , OBJ_TREND , 0 ,Time[ 0 ],EMA,Time[ Bars - 1 ],EMA);
Hello I need Indicator or tools for automate calculate point C of Fibonacci Retracement I need it for the past not in the live market Fibonacci tools in the MT4 shows static range but I need dynamic point C Thank you in advance
I cannot get the e-mail service on MT4 working! 1. I started with the usual smtp.gmail.com:465 and checked everything several times to be correct - but keep on getting error that it cannot connect. 2. I then made sure that "less secure apps" were activated - still the same error 3. Then I installed