General - page 83

#include <Tools/DateTime.mqh> input ENUM_DAY_OF_WEEK TradingWeekdays = MONDAY ; int OnInit () { if (TimeDayOfWeek() == TradingWeekdays && IsTradingHour()) { // Retrieve exchange rates for EURUSD, EURGBP, and GBPUSD // Calculate the mean value using the formula: MEAN = EURUSD -
I am writing an EA. The indicator provides the open price, stop price and stop amount. How to calculate order size? For example, XAUUSD, buy. The opening price is 2100, the stop loss price is 2000, and the stop loss amount is 1000. How much order should I place? This EA will work with currencies
  Check pendings  (4)
Hello, is this code ok for checking if there are pendings in mql5? // Funzione per verificare se ci sono ordini limitati eseguiti void CheckLimitOrders( double currentPrice) { bool pendingLimits = false ; // Flag per indicare se ci sono ordini limit pendenti for ( int i = OrdersTotal () - 1
[Deleted]
I use the code below to find breakeven of all the trades I have a point I close all of them at 0, my question is how can I trail? string eq; string Sym[]; double Equity[]; double Lots[]; double sum = 0 ; string level0 = "" ; ArrayResize (Sym, 0
Code for switching between continuous time frames (indicator or script) Code to switch from the M1 time frame to the M5 time frame and then back to the M1 time frame again, and so on constantly. Meaning Every minute, the indicator or script switches the chart from the M1 time frame to the M5 time
I have problems with computer resources because of lots of EA's. I heard somewhere that I can open a single account in Metatrader with a large sum. Then test multiple EA's there. Idea is that we can filter EA's according to their magic numbers and analyse the combined statement by filtering
[Deleted]
If any crypto exchange has symbol BTCUSDT and I want to create custom symbols for testing a EA I have a confusion about Margin Currency because it is considered in profit calculation in strategy tester I have set SYMBOL_CURRENCY_BASE = BTC SYMBOL_CURRENCY_PROFIT = USDT so Margin currency should be
  Wrong purchase  (1)
DawnDavies 2024.04.10 12:42 EN I stupidly purchased the Trade Assistant for MT5 and not MT4, there for it is useless to me! Please, I beg you, can you swap them for me please? I have everything crossed! Many thanks Dawn
Hi, I am trying to creat a signal for my MT4 account. During the creation of signal, I put it the usual account information, proceeding to the next page to put in description of the signal. Once I have done that and clicked save, I was greeted with the 404 page with the following message, and the
Wondering if any existing robot owners are looking to add a buy/sell indicator to their robots that in my mind has not been considered as yet
Hello, when I go to seller tab I see this (Please check the image ) I already have an account and made profit , but it shows that I need to verify ! and when I click on Start verification nothing happen by the way I can not withdraw my profit too
Please help me find a broker that has 1:100+ leverage for stock cfds i really really need it. Any help would be greatly appreciated
Hello I am looking for a solution. I am currently running a 30+MT5 platform so can these platform recieve a signal from a single Main platform and i am looking for more elegant solution to this because its starting to get messy. I asked ChatGPT and it told me that its possible multiple accounts to
Hello everyone, I created a dashboard with lot of objects, when it loads in MT4 it loads in just a blink, the same file when loads in MT5 takes about 10 to 20 sec (in different computer) to load on the chart, when I reduce number of objects it gets faster, but I need all the objects, Does anyone
Hi, I'm using CChartObjectFiboTimes and assigning custom percentage levels. I would like to draw some boxes between the levels (as a coloured background) but don't know the bar times of each of the vertical levels drawn by CChartObjectFiboTimes as these are calculated at runtime. I appreciate that
Hi, I'm developing an alert/alarm system which is supposed to trigger when a certain datetime set by the user is reached. For debugging, I'm using my scenario here in Brazil where the stock exchange's and broker's timezone is GMT-3h, the live market opens at 10AM, the futures opens at 9AM and I'm
I click install but nothing happened, i try it for atleast 30 times already and it always come up with this message i am sure my username and password are correct
Hi gang, I am coding some lines in MQL5, for a hedging account, and have a quick question. Lets say I open 1 lot long position, and if it goes to certain drawdown I open 1 lot short position, then if price keeps going down I don´t have more than the loss I want to have. But what happens if price
[Deleted]
Guys, I have some EAs available for sale on the mql5 market . How can I improve their rating and thus improve their market exposure? They already have good descriptions, in all languages
Hello. As mentioned, I have tried and failed to get a trading terminal working on linux. This problem surfaced a week or two ago, and I have retried using different steps in vain. Does anyone have a solution for this? The error I'm getting has something to do with win32u.dll . If you have a working
The Bug is about chart profiles not being saved properly and being corrupted by new charts that weren't there, IF the profile has enough charts that chart tab scrolling arrows become active. In short should one use enough charts that the chart tab scrolling arrows at bottom right become active, the
  Arbitration  (3)
My developer disappeared for over a month. I requested to cancel the job but he is ignoring my messages. What can I do to cancel the job and get my money back
I use the following code to import 1M real-time data, which means importing the data from the previous minute every minute. However, I find that the corresponding data on the disk grows extremely fast over the course of a day, and my disk space is simply not enough. Could you please let me know if
So I have issues with the EA bot due to slippage etc. Wanted to move it to a VPS to avoid slippage, and it seems I just ran into new issues. I can't connect to the VPS through MetaTrader 4. 2024.04.07 21:24:04.697 Virtual Hosting: failed to connect to server 'MQL5 London 60' 2024.04.07 21:15:11.780
Navigating the financial markets is like exploring an unpredictable and vast wilderness. Trading stocks and forex are top choices for numerous investors among many paths. Each market offers unique opportunities and challenges, making them suitable for different traders. This guide will analyse the
  Close EA  (3)
Hiiiii guys. I'm completely new in this world. How do I close / quit this two free EA download? Tried to follow some YT videos but nothing works..... Moreover, I tried to use this two market experts but they don't work. Somebody can explain how to activated them on the demo account? thank youuu
https://www.mql5.com/en/articles/60 I don't know why when previously calculated==0 the code assumes there are ticks in the file and reads the first line of string or it reads till end of the file and processes the string only if line is more than 6. I thought there will be no ticks in the file. I
I just transfer the money to mql5 form credit card , then i cant use the money and the pahe said Financial operations are limited. Please contact our technical support team
Unfortunately i received email , contain disable Iranian account by sanction reason. It will be very hard day for who that spend his life between 20 until 30 by mql coding, i did it, right now my main skill is MQL Coding. Let we start discuss on this very dungarees issue
hi all my set-up will be reset, and more often my terminal will close manually, cause all set-up already place gone, is very often anyone can help this on my laptop