MQL4 and MetaTrader 4 - page 6

void OnStart () { int id = ChartID (); Print (id); ChartApplyTemplate (id, "Momentum.tpl" ); } Testing with this simplified script, I proved a problem in my code: I can see id value, but template failed to apply. But if i use ChartApplyTemplate (0,"Momentum.tpl") instead, it works great. I
Hi guys, Do you know any registry key or other procedure to get the path to the data folder used by MT4 (the one in APPDATA...) ?
  4TF Bars: Indicators and Ideas  (870   1 2 3 4 5 ... 86 87)
Hello everyone, I am a new member of this community and I must say I am superbly impressed by the members of this community not only for their knowledge but also for their dedication and sincerity towards trading as a business. In the country where I come from (India) trading is viewed as just...
The error halts the CheckForPennant function before it can draw trendlines (lines ~510–540) or breakout arrows (lines ~570–590). The logs don’t show messages like "Successfully drew upper trendline" or "Bullish condition met," confirming the process stops at the error. The pattern is detected
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of answering the same question over and over again
Hello, I'm not receiving notification anymore, and It seems to be related to limitation. I have set "Trailing Stop" on a few trades and activated "transaction notification" this lead to a ton of notification (that I don't want too much for "Trailing Stop"). So now, it seems that it was not working
MT4 has a total 32 step of chart zoom levels, but we usually can change only 6 zoom levels( 1 > 2 > 4 > 8 > 16 > 32) from chart menu. I tried the script below, but only the above 6 zoom levels are shown. //------------------------------------------------------------------ void OnStart () { for (
Read public Channel telegram messages <!> Havent tested constant refreshing of messages.I wonder if this will be blocked in scale -by telegram. <!> add the adress https://t.me in webrequest allowed urls #property copyright "Copyright 2019"#property link "https://www.mql5.com"#property version
[Deleted]
You can write tasks here. Screenshots with examples of what do you want are obligated
Hi,, Does anyone know how i can export live data from my mt4 to someone else's computer in real time, the balace, eqyity etc? Not via a third party company such as mql4 or myfxbook. Only direct. Thanks, Yossi
this is the EA trading XAUUSD, backtest 1min data from 01/01/2021-30/06/2025. i plan to put it on sell in the Market but would like a feedback on the test result. please let me know so i can improve it
Hi Guys, i've been searching with not much luck for an MT4 version of the ConnorsRSI. A lot has been said about this indicator, which was developed by Larry Connors and Cesar Alvarez. The indicator is available for amibroker and tradestation but find no coding for MT4.. Can someone be able to help...
  Solve Stoploss Slippage  (35   1 2 3 4)
Hi all How do you solve stop loss slippage. On a demo account account the stoploss is hits the stoploss perfectly but on a real account it's a different story (Using the same ECN Broker). Below I attached images to look at the different Stop loss for demo account: For real account here here is the
Hi, I have a multicurrency hedge EA that I am trying to get listed on the market place, however when it comes to the final part of getting the automatic verification it keeps up coming as failed with numerous errors for example "no trading operations". I have tested the EA on MT4 and it works
[Deleted]
Hello, MT4 Volume shows number of Tick per Candle? For example, if volume value is 20 that means 20 times it Tick on the current candle? ATR Indicator shows Price Change difference per Candle? For example, here ATR Period is 14 (Means last 14 Candle) and ATR Value 1.15 (XAUUSD) means 115 Point on
Hi i have developed an indicator that should recognize the IDNR4 pattern and suggest to enter Long or Short based on the pattern. Looking at the indicator it seems correct but: 1. Display Long and Short arrow 2. If it is included into an EA getting the Bars-1 (so the previous closed bar) it doesn't
I am able to get my EAs working on any pair 3,4,5 decimal places but it would appear that I thought I understood this but obviously i dont!!! as i play with each to get it correct on any provider or currency pair. Life is easier if you know what you are doing and it appears it can be done in one way...
  MT4 Purchases Not Showing Up  (16   1 2)
Hi, I am having trouble with the 'market' tab on MT4 after I login to community, I am unable to see all my purchases on my account to download my products I have purchased, and this started occurring after I reinstalled metatrader, but also checked a different installation I have on MT4 on a
  EA Modification  (5)
I have been trying to have my Grid/Martingale EA modified to make it safer and more efficient. Unfortunately, the feedback and results coming in have been unsuccessful. 1. Can a skilled MQL5 programmer modify an EA with any conceivable modification idea possible? 2. Does the ability of a programmer
[Deleted]
Hello, I learned In MT4 and Forex Market volume does not mean total number of Active and Pending Orders but instead it means how many Tick per X time or How much price change per Tick. Is there any indicator which i can use to check Market Volatility and Speed of the market or Which Indicator shows
Say we have a few custom indicators in the bot/EA: #resource "\\Indicators\\indi1.ex4" #resource "\\Indicators\\indi2.ex4" #resource "\\Indicators\\indi3.ex4" (has a resource to indi4.ex4) i.e. 2 level nested #resource "\\Indicators\\indi4.ex4" All these custom indicators work by themselves...
How do i fix this
Hi Its my 1st time, i want to run my ea on MT4 but facing this issue, How can i run my EA on vps plz guide . thx
EDIT #1: I've set the max spread allowed to 0.0 in the input settings following the recommendation of @ Fernando Carreiro (thanks!). I've also added a function to close the trades I'm opening on every tick (I wasn't closing them before). Finally there was an issue in the "RunChecksBeforeOrderSend"
I have built some EA's that work fine on MT4 terminal with 'Autotrading' switched on. But when I migrate them to VPS they will not trade. The only unique thing that I can see is the EA's that do not work on VPS use Indicators on Custom Timeframes, for example: Moving Average on a 2 Hour timeframe
Hi, I purchased the VPS hosting package and have synchronised all to run on the server. How can I check the connection speed? This shows 52.49, and I would prefer the 3.81ms. How to get the speed up? Regards, Bruce
  Free MQL4 training  (72   1 2 3 4 5 ... 7 8)
Hello! I hope the moderators won't cut me, I am running a free online training course "How to make your own trading robot for the Metatrader terminal in 7 days". The course is designed for traders who use MT4 terminal and want to learn how to program EAs, but have absolutely no knowledge of
I can not download the free demo of my own product . Free Demo download is not available. It says "İnstallation Failed" What is wrong about it. I dont know which unit to ask that
I'm looking for someone who can convert a basic mt4 indicator to trading view pine script... Can anyone who could help me with that
Hi everybody, I used DeepSeek (DS) yesterday to request a simple script.mq4 codes, DS provided me nearly 100 versions of scripts but all versions are NOT working at all, it took me about 5 hours. I kept on asking modifications and corrections, but the DS finally turned up to be "server busy" to