MQL4 and MetaTrader 4 - page 45

hi If there are 10 seconds left until the bar closing, I want to do something, like get position... how can i detect 10 seconds left to 5M bar closing??? i have no idea,I couldn't find codes
Hello, Ever since I upgraded to version 4 of MT4, I now get the following error message after downloading a demo EA from the marketplace and running a backtest: 2024.02 . 06 10 : 16 : 57.812 2023.01 . 01 23 : 04 : 23 XXXXX: testing stopped at 2011.04 . 07 16 : 24 because product is demo I guess
Hey guys! Would really appreciate someone taking out the time to clear these things. Need help in understanding how bots are installed and ran on desktop terminal. Also while testing a bot trades are completed really fast, is it the same when you purchase the bot and run it in real life
Hi Pls help me to change my expert name that i bought in MT4
An EA based on the BollBounce Method. Gain (2 year backtesting): 117.74% Entry Trade occurs when price bounces off the moving average of Bollinger, if the moving average is trendy (not flat). Examples of trades are attached. Stop Loss 1 pip below the low of the signal candle (for longs) 1 pip above...
Dear Developers, I created an EA in MQL4 where I send 3 lines of text to Telegram where each line is ended with <br> as follows message = StringFormat("%s v.%s<br>",EXPERT_NAME,EXPERT_VERSION) + StringFormat("%s:SELL: %.2f lot<br>", Symbol(), LOT_SIZE) + StringFormat("Sell Price
Hello, MQL4 complied with no error but when i am uploading in mql5 version then i got this error. anyone help me please? ERROR: Automatic validation Validation completed with error
I have here a function which i find in this forum: // Function to Determine Pip Point Value in Account Currency double dblPipValue( string strSymbol ) { double dblCalcPipValue = MarketInfo( strSymbol, MODE_TICKVALUE ); switch ( int (MarketInfo(
[Deleted]
I want to know how to solve this problem, thank you
I apologize if I'm using the forum incorrectly, I'm learning. I'm referencing this article which has helped a lot. ( How to close all orders before weekend. - Market Hours - MQL4 and MetaTrader 4 - MQL4 programming forum (mql5.com) I'm close to having all trades close on Fridays using inputs for
Hello programmers, Please I need your assistance using the iCustom function of the ZigZag indicator for my EA . The EA is meant to close open orders once the Z //+------------------------------------------------------------------+ //| ZigZag_Closed Trades.mq4 |
[Deleted]
  How to change int to double?  (13   1 2)
I need a data about int / int to double(%). but it seems always return 0. How to do it?
  webrequest  (3)
need help curl -X GET "https://api.tradejini.com/v2/api/account/details" \ -H "Accept: application/json" \ -H "Authorization: Bearer 4d4ac4fb8d6289f6bf3f91e99a07b50e:a8999824d04ca5c62895d44975036816" \ above is curl and is working properly in python and other language as well as and i convert into
I have been testing using two demo accounts and two virtual servers at a cost of $10usd a month. I‌f i now want to run live trading, can i move one of these VPS to my real account? or do I have to cancel and re-register a new VPS at a cost of $10?
I actually avoid coming here, but I've spent 90 minutes trying to solve this big mystery with no success because the documentation absolutely does not help and all examples I find are very complex, seemingly going out of their way to avoid the simple. int Numbers [ 20 ][ 1 ]; Numbers[ 0 ] =
Hi, On MetaEditor MT4: Debug-> Start On Real Data-> Launches a new chart using the EA on the Editor. Is there a way to create a template (default) for this? I included a few indicators, saved it in the templates (named if default and tester just in case) but nothing works. Each time I launch the
All MT4 Signals are now disabled? I have a real MT4 cent account, but MQL5 disabled it with the argument its a DEMO account . But its not. any idea why? does it happen to you too? any issue with [redacted] cent accounts? is there any chat / support on MQL5? i cant find any support link
I have code within my EAs that shows on the chart, the total open and closed orders for that EA and magic number. I have been trying to modify it to only show closed orders for the current day. I have read and re-read the section describing the datetime function for MT4, but cannot work out how to...
suddenly cannot login on anymore with mt4 on the same terminal as I was using also cannot use IE to access any mql5 websites: HTTPS ERROR 403 Can you help? Thanks in advance
[Deleted]
  Bool to String  (11   1 2)
Can we do like this? bool takeprofit = TRUE; Print (booltostring(takeprofit)); Output should be : TRUE
Hey, I made a trade that was really very inexplicable and at a price that was not indicated at all. MT4 [redacted] RAW ECN trade: USD JPY GMT +00:00. 01.02.2024 15:00 ( ISM Manufacturing PMI ) Pending Order Buy Stop Order at: 146.478 but executed at 146.975 BUT the candle had its high at 146.818 -
I log in my mt4 > mql5 community ,but after three days automatically log out and not working buy indicator
Does Meta quotes force brokers to update MT4 terminals since they are pushing updates very fast and brokers are suddenly stopping the terminals during weekdays which is ruining my trading and my broker is saying it is their (Meta Quotes) policy
I'm trying to figure out where MT4 stores the Profit calculation mode and Margin calculation mode parameters presented in this specification: I know that information about symbols is stored in the file symbols.raw and has
Hello friends, as far as you know, is it possible to execute curl.exe from an MT4 script to call Telegram APIs
Hi, first I tried this - which works fine: ... extern ENUM_MA_METHOD Ma1_Method = 0 ; ... Now I wanted to add (for the tester easy to vary) another not standard moving average , so I wrote: enum ma { SMA = 0 , // Simple moving average, EMA = 1 , // Exponential moving average, SMMA= 2
I have an EA that takes trades from alerts on my charting platform. I apparently can't say names or the mods will nuke my post so sorry if that is vague. I am only trying to give possible relevant information. For almost 2 weeks I have been running the EA and everything has been fine. The trades it
[Deleted]
Hello, Is it possible to get information like Margin call and Stop out values from Trading account
hello Hello, it seems that since the update to MT4 Build 1403, there has been an issue with the Error [No connection]. I've seen this problem in many cases since last week, as I am in a Community EA group. However, it's strange that MT4 works fine on my personal PC (I am in Thailand), but the VPS
Hello, I use both 4 and 5 but still want to use MT 4. Because MT4 is not supported, is it going to be eventually a problem for us ? It is better for me using MT4 because it is not asking me to update, with 5 I can work around it, if it is due to be restarted. Does the MT5 restart on the Virtual