MQL4 and MetaTrader 4 - page 9

Hello, I have an mt4 indicator. When I changed the timeframe, I realized that there was an different in the old plots in the timeframe opened. When I add the indicator to the chart again, it plots as it should. How can I make it work as opened from scratch every time it changes timeframe like in
Hello everyone, I'm reaching out in hopes of finding a solution to a critical issue I'm experiencing with MetaTrader 4 (MT4) after installing and subsequently uninstalling Rectify11 and Start11, which are Windows 11 modification tools. The Problem: Initially, these modifications forced all my
Anyone got this issue before? Context: I'm using tickstory to get dukascopy data, and I'm sure I followed the steps to set up the data. But on other machine and trading live, its no problem. Only the backtest fails to even start. Any idea
  Free EA creation  (247   1 2 3 4 5 ... 24 25)
Hi, If you have indies + method that trade wise works out for you, I'd be happy to mql EA it for you to have it auto-trading. No obligations, and will post the EA in this thread. I have major piece of software that will first hunt/sniff-out optimum way to use your indies In a strategy/EA, so your...
Hi, I have just programmed my first EA, however I am looking to add a branded icon to the code source but unsure where to include it. I did see another post which was relevant to MT5, however there is no sub folder under MQL4 for images, any help would be greatly appreciated
Just within the last few days I am now not able to login to MQL5 from my MT4 application or even access the website from my computer. The website works perfectly fine from my phone so it does not appear that I have any restrictions on my MQL5 account (nor should I) but trying to access it from my
  MT4 download  (19   1 2)
I want an MT4 download link, I do not want to use MT5... Most people want MT4 so why push users towards MT5? Why should I go through a broker? Stop annoying a lot of people and provide an option!!!
Dear all, I wrote an EA that allows a total of 5 trades to be opened at one time. However, I only want one trade to open per bar although not necessarily at the beginning of the bar. Therefore, the code written here (https://www.mql5.com/en/forum/216567) or similar variations does not work for me. I
Hi all Below the code I have attached a trailing stop code that only trails when its in profit only. For positions trades it trails ALL the Time which works perfectly fine, as for pending orders not all the time. Sometimes it will trail and sometimes it won't. I have tried using get last error code
This topic has been discussed here many times, but I still haven't found a solution: On a Windows10 PC and a Windows 2022 VPS, I have not been able to log into MQL5 with MT4 for a week now.: Logging in works on MT5. The MQL5 website is also not displayed correctly on these two PCs.: On another
Hi everyone and happy Christmas. I would like to ask you if there is a way like an EA, code, etc. in mql4 to disable autotrading on ADX<50 (ADX value decrease below 50). Thank you for the help
I have a question: when the MA line is inserted into the RSI, it displays quite strangely! MA100 on mt4 PC Ma100 on mt4 mobie Also the MA100 line is placed in the RSI frame! But the display of the MA100 line on mobile is completely different from the MA100 line on PC! So what is the difference
//+------------------------------------------------------------------+ //| i-GAP.mq4 //+------------------------------------------------------------------+ indicator_chart_window #property indicator_buffers 2 #property indicator_color1 LightBlue
Hello everyone, I recently experienced an issue with my broker regarding an abnormal spread spike on the EURUSD pair, and I need advice or insights from the community. Here are the details of the situation: 1 . My broker 's typical spread for EURUSD is around **2.7 pips**. 2 . On the MT4 platform
This EA place only Sell Trade. it not place any BUY Order. EA Use donchian channel Signal for place Order. i am new in coding . any Experience coder fix this issues //+------------------------------------------------------------------+ //| AK-47
Hello, I'm having difficulties using this library and I need someone to point me in the right direction. I'm trying to create an array full of CCandle references, print the contents, change one of the values and then print the contents again to display the modified value. This the code I have at
hello everyone,  renko street trend is really interesting indicator when it is combined with renko chart, but it sometimes repaints, it is a signal bars indicator as you can see in the photo, so i am asking if there are no repainting version ? or if someone can recode it? it needs only one line of...
Hi Coders! I'm looking for a little number to string function. I have a number, for example: 344256454.23 and I would like to print it in this form: 344,256,454.23 Is it possible with bult-in function? Or I have to write this function? Thank you. Relative
  Elite indicators :)  (15197   1 2 3 4 5 ... 1519 1520)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
  Comparing prices  (7)
Hello, I would like to warn the community about comparing prices. Code like: Close[n] < Close[n+2] is not reliable and gives invisible differences for the logic from what you can tell, when using Digits to limit the number of displayed digits. I just found this out by going a bit crazy on code that
Hi; Got hardware setup to trade MT4 as follows: Laptop with second monitor attached which is used for MT4 only. Works just fine. Except; messages displayed by the EA on screen using MT4 MessageBox command are always shown on the laptop monitor not the monitor I use for MT4 trading. Why is that and
[Deleted]
  freeze level  (9)
Hi, I have a question about freeze level. According teh below line from teh documentation, you cannot modify a market order if sl or tp is withinn freeze level distance from teh market price. " An order cannot be modified, if the execution price of its StopLossor TakeProfit ranges within the...
Hi, phenomenon. This piece of code is rejected when I compile from the editor, but not when its compiled via commandline. Editor compiler reports: "T" unexpected token for the first line. public : template < typename T> T Get( int index, T defaultvalue=(T) NULL ) { // ... if
The error message is that The request body contains invalid JSON.", "code":50109. I don't know how to correct the problem. Can anyone help me? Thanks! bool SendDiscordMessage( string webhookUrl, string message) { string headers = "Content-Type: application/json\r\n" ; string jsonPayload =
How to Draw a circle ? ObjectCreat() not good since it always draw ELLIPSE, I want to draw a circle witha line linke two points. but in MT, it draw ELLIPSE since different X/Y scale(Y is price, X is time, they are never same scale, but I want draw circle wheneveraxes change). I want use one 2...
hello all getting crazy with a function not working. I have a report showing open PnL and closed positions. I'd like to show a column with maxDD registered and save it into a file for checking when reload the indicator. so when OpenPNL < last recorderd DDMAX, then "update DDMAX". the code below
[Deleted]
Hello, plz help me,How I use Heiken ashi indicator for android mobile I m using android 2.3 gingerbred os mobile and for trading MT4 App....
Heloo I Can't publish my product ex4 , (Strategy tester report not found) even when try upload previous product (that already pass in past) please fix it
[Deleted]
  Sleep function in backtest  (11   1 2)
hello mql community, i'm lucky to be a part of this community. mql is the first programming language that makes sense. :-) but i've a problem: it seems so that the sleep function doesn't work in backtest. is that right? is there a solution for that? best regards, derox
Hi, After updating to Windows 11 24H2, mt4 terminals shut down on their own, whether idling or running task such as back-testing. Has anyone experienced the same issue? Kindly raise a flag if so. Thank you