Hi, I have developed an algorithm (MQL4) in expert advisors. I can attach the expert advisor to a graph, but it doesn't do any trades... Is there something in the settings I should change or
Hi everyone, I had a test with SAR indicator. Currently I want to test about SAR position on the chart. This is my code: //+------------------------------------------------------------------+ //| Test.mq4 | //| Copyright
I have developed a custom dll on my home PC (Win Xp Pro). The EA with the importeddll runs perfectly. When I try to run it on my server (Win Server 2003), it gives error 126. The settingsin the platforms are identical, I assume there is something different, somethingmay be missing in OS environment...
void OnTick() { datetime TA=Time[0]; double PH=High[0]; double PL=Low[0]; ObjectCreate("Low",OBJ_TEXT,0,0,0); //ObjectSetText("Low",DoubleToStr(Low[0],Digits)+" Low"); ObjectSetString(0,"LoW",OBJPROP_TEXT,DoubleToStr(Low[0],Digits)+" Low"); ObjectMove("Low",0,TA,PH);
hello everyone can anyone tell me why am i unable to download any indicator in the mt5 platform ple do help why is this happening
Hello MQL5 Forum Members! Does anyone know how to FIleRead a specific cell from an Excel CSV file? I have seen a lot of discussion about simply reading data from a csv file, but nothing about reading from a specific cell (unless I'm missing something). Here is the function I wrote to read a csv
I made an EA with a logic that its entries only opens on new candles. I've also set a limit on how many orders should be only be open at the same time. See this example portion of my code: bool CheckForNewBar() { static int LastNumberOfBars; bool NewBarAppeared = false ; if ( Bars
Hello, I am facing an issue lately with opening or installing MetaTrader 4 from any broker to my laptop with the latest windows update. any suggestions? when installing message appear <<Sorry, something went wrong: try again later! >> and when trying to open a message pops up saying that the...
Hi, I think most of you know that script below. You can drag it into a chart, select a timeframe and all opened chart windows will be set to this timeframe. //+------------------------------------------------------------------+//| ChgTF-All.mq4...
Each object has a description that can be added text to that, how to change the color of the object description by coding
How hard/easy it is for people to decompile an EA if I were to provide a copy to someone? (Not in MQL5 Market) The only security I've thought is to make the EA only run specifically to their broker account number - or else the EA would remove itself from the chart. This would make it difficult if a
This is dedicated to all devotees of Gunn's theory. The largest forum on the subject http://open-forex.org/index.php/board,30.0.html Gann Methods Literature http://www.gann.su/book_rus.html http://trade-magic.taba.ru/blog/Moi_stati http://forex-markets.ru/gann/ferrera-s9-ru.pdf - Work on Squared 9
Does anyone know how I can get trailing stops with 5 and 10 pips? I heard there's an expert for it, but I can't find it. Thanks in advance
please i want to convert jpg to bmp for use it with the chart
Hello, I am using a disaster recovery mechanism which copies my entire disk drive to another server in case the server goes down. When this occurs it does not save the MT4 account password even though it was initially saved. Is there anyway to store the password locally on file so it automatically
HELLO EVERYONE I attach the "XO" indicator it draw bars on main chart and please if anyone can help me how to make it work just like Renko chart and create separate offline chart not on main chart in purpose to run any expert advisor on it best regards https://www.mql5.com/en/code/1745
I get an error message (invalid account) on my mt5 mobile app when signing in to my broker (OANDA) demo account
Hi, I know there is a (limited functionality) MT4 for Android available, aimed at mainly smartphones. Is there a way that an Android tablet can run Metaeditor4 without having to resort to Wine or other forms of virtual wrapper? Does the Android MT4 client come with Metaeditor? It would be nice to be...
Hi all, I've been using mt4 to run back testing on EA's for a while now. I download the meta quotes data to get history back to 1999, and use all of it (my algo's use open prices only). If MT5 also uses the same metaquotes data, then why are the results different from broker to broker? To put in
Hello Respected Experts i need your little help can somebody tell me how we can get a value from a function return. here is my example. //StartFunction Execute always int start() { //Below nHighPrice Variable calling Hlevel(30,0) Function and getting double value. double nHighPrice = Hlevel( 30 , 1
HI good day everyone please help me i am tryna say in this logic to stop loss at a certain equity loss level see my code i dont know what im doing wrong here So in My code i have calculated daily trades maximum profit so i called this function to use for maximum daily profit it worked but when i
HI, after update of 14 Oct 2021 Version 4.0 build 1350 I can't open MetaEditor anymore, i got always this error: Could you help me to solve this issue? Thanks
[Deleted]
Hello, Quick question, is there a shortcut key on the MetaEditor platform which enables me to select all code down to it's closing bracket, like the function in Excel with the Tab + Ctrl + down-arrow which selects all filled cells in a column? This is just to save me scrolling around, finding the
[Deleted]
I am new to MQL4 trading, I am trying to code a system that if; AUDUSD 1 hour timeframe at 08:00 the candle was a green and I want the system to open a trade at 10:00 that shorts, how do I go around this? And if at 10:00 it's still bullish, I want to place another trade at 12:00 that shorts. If the
When MT4 backtest is completed, I go to "Graph" tab to review the profit and drawdown curves. Why is the drawdown shown sometimes as it should be (green line going down and then up, while sometimes there is no drawdown green line while actually there was? I marked in the picture below the correct
For example, in broker X, the Dow Jones chart starts at 2 am, But in broker Y the Dow Jones chart starts at 1am, So we don't have 1am in Dow Jones chart's broker X. How do I check that 1am is on the chart? Edit1: for example: if ( D'2021.11.05 01:00:00' ) { Comment ( "1am
Hello all, I can log in my mql5 account with the same email address and password through website but not from within MT4 Code Base when I wanted to download scripts. Any thought? TIA. Regards
Everytime i still check the transaction by choosing to show all trades on mt4. But today I can only see the transaction history for the last month. Can't view all transaction history anymore. is there any way to fix this problem
when i use the iCustom function to fetch the values from the data window and alert the values , I get the values.. But when i compare that values to Open or Close function it doesn't take any trade according to my condition //+------------------------------------------------------------------+ //|
if ((OrderMagicNumber()== 0 )==(OrderType()==OP_BUY)) { OrderSend ( NULL ,OP_SELLSTOP,ls3,tpSell, 10 ,slSell,tpSellStop, NULL , 1 ); } I want my EA to only do the OrderSend if the OrderMagicNumber 0 (a pending order ) is fulfilled. I can't seem to make this work. I also tried this approach but it

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.