General - page 26

I hope this message finds you well. I am currently working on an MQL5 script and I'm encountering errors in the following lines of code: handleStochK = iStochastic(_Symbol, _Period, lengthStoch, smoothK, smoothD, MODE_SMA, MODE_SMA, PRICE_CLOSE, 0); handleBBUpper = iBands(_Symbol, _Period
Hello there, I would like to incorporate a martingale esque lot multiplier system within my expert advisors. I'm a complete mql coding newbie and have some 'm5' files with source code which I would like to play around with. How simple is it adding new code to pre existing advisors? There is one
Is there a way to load a data file once in the optimizer and not on every pass ? For math calcs mode . I'm loading a 1.6 gb file and it appears it's loading per pass. I'm using tester file property In other words i want to pull it up once (or however many agents there are locally) and optimize on
i am trying to backtest through mql5, but it is not deducting commission from the backtest
Hy guys! I would need some advice and opinions how far to lookback when optimizing parameters and how often should I optimize? Should I consider updating parameters every week or even day, to include most current data or is it enough to do it on a monthly basis? Logically I would assume, the more
Hi, i 've tried to close my profit positions and the system close ALL my positions.... Profit and Losing Positions...Why? There is a problem with MT5 ? What can i do to have my previous positions? I lost 750 euros with this false action from the MT5. Best regards
Good day, I have this simple EA that screenshots a chart on every tick(Code below). I was wondering if there is a better way of taking chart screenshots dating back from a year from now till recent?. I tried running the EA on the strategy tester and it does not save the screenshots in my Files
I have a requirement where I want to print some text to the chart. The text should remain under a specific bar (i.e., a fixed time and price) as new bars are printed the text should move left with the price `OBJ_TEXT` does this but when I run ChartScreenShot the text is not captured. I then tried
I subscribed to a signal . It has no trading for 7 days (since May 19). Can I cancel the subscription and get refund in this case?
Hi , I'm writing a script that will fetch from MT5 terminal the profit of 100 accounts I manage. My code is basic , for each account I initialize mt5 and get account history : if not mt5.initialize(path=MT5_TERMINAL_PATH,login= int
Hello everyone, I am currently working on an Expert Advisor (EA) for MetaTrader 4 and I've noticed that its performance is not quite as expected. I’ve implemented several strategies and optimizations, but I'm still seeing inconsistent results. Could anyone share some tips or best practices for
// Include necessary libraries #include <Trade\Trade.mqh> // Declare global variables CTrade trade; input double LotSize = 0.01 ; // Lot size input int Slippage = 2 ; // Slippage input int UT_Period = 8 ; // UT Bot Period input double UT_Multiplier = 600.0 ; // UT Bot
How come I cannot subscribe a new vps via mql5
Hello, I am sorry if I duplicate the same question here but I couldn't find it related to a rented product. I have rented an EA 3 days ago. Before I purchase I contacted the developer and done may back testing (nearly for 1 year for different indices). Back test was superb. I bought the EA and
I'm seeking some assistance regarding an indicator I purchased on MQL5. Despite successfully completing the purchase and initially using it on the same PC, I'm currently experiencing a licensing error that prevents me from accessing the indicator. The seller initially suggested restarting both MT5
I have a server with a static ip address, through it connects a large number of accounts, it works about 1 month after my public ip is blocked and I can not connect, the broker to which I connect says that my ip is not blocked, I have to constantly change my external ip address it costs money, how
I would like to run the MT5 strategy tester with the following Python code, but it seems I am unable to log in to MT5 properly. Could you please advise if there are any issues with the code? import MetaTrader5 as mt5 import pandas as pd import os import time from datetime import datetime # Connect
I purchased VPS Subscription and migrated my EA. I do not see any trades for the whole day. How do I know the Bot is actively working on the VPS? How do I make sure? Can I see trades from the MQL5 Platform from my Home PC? Please advise
Hi forum, I'm looking for an EA with SL and minimum 1:1 RR with high probability on consecutive wins and low consecutive losses. Who can help me? Happy to hear from you
I would like to have mt4 with more of a selection of timeframes to use in real time trading right now im switching windows which causes lag to getting in to the trade with precision if anyone could please point me in the right direction on how to create or add more timeframe options that will be
Maybe someone can help me
Cannot install my purchase product???? Is there a problem if I click on terminal install on responds
Hello, guys. Today I turned on my PC and went to check my agents. I found out the first two agents are not working. I don't know how this could happen as they were working fine. I try to turn them on but it won't work. I also found that if I stop the other agents, I'm able to activate the first two
Nowadays it takes about 10 - 15 minutes for the application to load after double clicking on it on the desktop, this doesn't seem to be the case with MT4. Is there something wrong on the latest build? I removed all strategy tester logs, but it's still the same
Hello, My EA seems to change the amount of orders executed depending on the SL or TP (holding all other variables constant) which doesn't make sense to me. It seems that the larger the SL and TP, the less trades that are being taken. Would anyone know the reason for this? I have attached the
I have a simple code to take a screenshot, but the problem is that the screenshot is incomplete. It doesn't matter the time I use in Sleep() after the redraw. Here's the code: //+------------------------------------------------------------------+ //| Global constants
Hello everyone! I searched the forum a little and didn't seem to find an answer to my question. I use this code MqlRates rates[]; int copied = CopyRates(symbolTmp, PERIOD_H1, myTime, 24, rates); double totalSpread = 0; for(int i = 0; i < copied; i++) { totalSpread += rates[i].spread; } double
When using function ChartScreenShot, it return true but I don't find any image file (PNG). Thanks in advance for your help
  EA trading  (1)
Hello. I'm starting to run an EA. Purchased EA with access to 5 accounts. it says that it is using 3 now. But I'm only using 1. How to remove the other 2 logged in accounts and add a new account? Thank you for your help
For some reason I have 2 accounts on MQL and I would like to merge them. I have purchased indicators etc on both accounts and need to access them on the one chart