error

  1. Jajaofopobo

    Ordermodify mt4 code issue

    i have an issue with this function code. Please any help will be greatly appreciated. No. 1: it doesnt close breakeven when it partially closes the trade. states "OrderModify error 4108 unknown ticket 1 for OrderModify function" and i have tried my best but still dont get/understand it. No. 2...
  2. 使用Position Sizer的疑難解答

    創建這篇文章的目的是討論使用Position Sizer時遇到的疑難問題。爲此設定基本規則: 一、標題的規範 使用含有遞增數字的標題。使用「標題一」格式。 示例: 第一個問題 二、問題描述的規範 使用簡要文字精確描述問題。使用常規格式。 示例: 無法在Position Sizer中使用算法交易。 三、日志的規範 附上日志以供分析。使用代碼格式。 示例: 2024.03.29 16:30:59.394 Position Sizer (NZDUSD-,M30) Trying to load settings from file. 2024.03.29 16:30:59.397...
  3. TomDominic

    return value of orderclose should be checked

    how can i solve this warning..... return value of orderclose should be checked,
  4. Enivid

    Position Sizer

    Discuss the Position Sizer expert advisor here. This EA lets you calculate optimal position size and execute trades based on these calculations. Based on Position Size Calculator, it allows some additional control over the trades it opens. You can ask any questions about this free MetaTrader...
  5. Enivid

    MetaTrader 4 Client Terminal Build 1415

    Despite the claims that they are no longer developing MetaTrader 4, MetaQuotes has updated the MT4 trading platform. The new build (Build 1415) was released yesterday and is now available through the automatic update system of some MT4 Forex brokers. There are no details on what changes are...
  6. shanmugapradeep

    [MQL4 CODING] Target Revenue in Percentage using Account Balance and Equity

    Hello, I am adding new feature in my EA, which close trade automatically when it fulfilled defined earning set by user and than it redefine with value again with new Account balance. Example : Account Balance = $1000 Target Percentage = 10% (10% of 1000$ = $100) When Account...
  7. ezraluandre

    Virtual hosting failed while running MT5 from command prompt

    Hi, I'm experiencing an error when I want to run MT5 from command prompt. I build an EA that will automatically do optimization, it will launch a second MT5 (MT5 tester) to do the optimization. When I run the optimization for 28 currency pair for some reason at random currency pair the MT5...
  8. freygiron

    error de compilacion mql5

    este codigo me da error por un desvalance de parentesis pero no encuentro solucionarlo: //+------------------------------------------------------------------+ //| 20200.mq5 | //| Copyright 2024, MetaQuotes...
  9. CEO

    EA Can not load moving average

    I developed an EA based on a strategy and its revolves around a moving average. did it on mt4 but got stuck tho i finished the code . I created same code it mql5 and programmed the custom moving average similarly but when the EA runs s, the Journal prints cannot Load moving average...
  10. Enivid

    MetaTrader 5 Client Terminal Build 3270

    MetaQuotes released a new version of the MetaTrader 5 platform on April 21- Build 3270. I was able to update my MT5 today. The new build focuses on fixing the bugs from the Build 3260: Removed encircling bubbles in new chat messages. Added copy and delete commands to the chat menu. Fixed...
  11. ezraluandre

    MT4 Error 4108 (ERR_INVALID_TICKET)

    Hi everyone, I encountered with error 4108 which is invalid ticket. I looked on the log and it clearly trying to close order that has already closed like image below. I've looked into my code but still failed to find which part that make this error occurred. Anyone knows why it tries to close a...
  12. A

    Expert Advisor Shows Error!

    Greetings to all! Lately I've been trying to create an Expert Advisor for myself. However while coding for the same; I've been receiving errors which i have failed to understand and rectify as i lack expertise in the language .I've attached the screenshots for the same below.Although I...
  13. DANKAJ

    Auto-Trading disabled

    Hi am getting an error message that "auto-trading disabled by client" How do I solve this?Thanks
  14. K

    Ordersend error 131 EA

    Hello everyone . Now that I'm having an orderen 131 error, I try to fix "lots" but still have an error, can anyone help me? Thank you
  15. Enivid

    Permission Problems

    We have recently found out that some of the old forum users experienced some problems with permissions to post, create thread, and update their profiles. These errors have been fixed. It should now be possible to do all the above-listed things without any restrictions. If you still experience...
  16. Enivid

    Handling OrderSend Error 148

    Please, read my latest blog post on how to deal with the OrderSend Error 148 (ERR_TRADE_TOO_MANY_ORDERS) in MetaTrader 4.
  17. Enivid

    Handling OrderSend Error 3

    Please, read my latest blog post on how to deal with the OrderSend Error 3 in MetaTrader 4.