Hello, what happened to http://ec.forexprostools.com/ this link is not commercial neither advert I dont see why moderator should delete it. I am trying to access the rss news feed on the link above but I am getting " You don't have permission to access / on this server. " what is the new alternarive
Hi guys , i try to return a value of Close[0] in a indicator i am in xauusd and hi have quoatation near 3292.70 but when i print close[0] return 1320.31 0_o why ? my code anyone know why happen this ? //+------------------------------------------------------------------+ //| Simple EMA with Alert
Hi everybody, How can i draw trend line on the strategy tester chart when my running in strategy tester
Thanks
Hi. I am improving myself in forex. If what I ask is possible, I will ask a coder in freelance section. (If what I say is possible.) I have such a system in my mind: I want to decrease the effect of margin call I want by having 10 different accounts (illustrative purposes only - account number can
After some in depth debugging, I realized I've been using CiCustom wrong. The documentation is unclear but by implementation it is now apparent that CiCustom was intended to derive subclasses. Making custom indicator classes is very easy of you use the following pattern. Inherit CiCustom Make a
Hey everyone, Has anyone here struggled with margin calculation issues in MT5? I’ve been facing a weird one for a few weeks now, and it’s driving me a bit crazy. What I'm trying to do: I'm designing a grid system where the initial lot size is scaled such that, in the worst-case scenario (price never
Is it possible that in my back test I don't have any errors but when I go to validate a product in the Market it gives me errors that I can't find
[Deleted]
Hi all, I am testing some EAs and I can't find a way to reset the settings (inputs) for the chosen EA! It remembers all my changed settings instead and I can't get it back to the original. Any help will be appreciated
Hello, I've created a DLL that more or less looks like this: #pragma once #ifdef _WIN32 #ifdef ZMQL_EXPORTS #define ZMQL_EXPORT extern "C" __declspec(dllexport) #else #define ZMQL_EXPORT extern "C" __declspec(dllimport) #endif #define ZMQL_CALL __stdcall #else #define ZMQL_EXPORT extern "C" #define
Hello, In MT4 there is an adjustable bar for the speed when wanting to visual an EA, when/so to verify the inputs and outcomes. In MT5 I cannot find a similar tool and it only gives one speed. Can anybody expand on this? thanks for any help, G
Hello, I have the VPs and Signals enabled in my MT5 Account. and it looks running in Realtime as below But in the journal it showed as 2025.05.19 13:01:21.055 Signal '404085488': signal subscription disabled, enable realtime subscription in 'Signals' settings So I have went to options>> Signals
Any experts to assist with my mq5 EA to improve on its profitability. I have spent a lot of months on it, and I am unable to figure out how best to improve on it
HistorySelect ( 0 , TimeCurrent ()); for ( int i = 0 ;i< HistoryDealsTotal ();i++) { ulong ticket = HistoryDealGetTicket (i); Print ( " i = " +i + " ticket = " + ticket+ " total = " + HistoryDealsTotal ()); int err = GetLastError (); Print (err); } this is my EA's little
Hi, I need some help to resolve the error I'm getting from from function HistoryDealGetInteger. With the following code I'm trying to determine two things when a new position opened and when one closed. HistoryDealGetInteger keeps returning 0 no matter the entry type. Also when I add an if not
This is a very simple code snippet. I am trying to iterate over all the closed orders and print the deal numbers for now. Why the function returns 4755 error code after the 1st iteration? If the comment out the inner `if` condition, the deal numbers are printed correctly otherwise only in the 1st
Why did you post your coding question in the MT 5 General section (a miscellaneous catch-all category) instead of the MT 5 EA section (non-indicator coding)? General rules and best pratices of the Forum. - General - MQL5 programming forum ? (20 17 ) Next time, post in the correct place. I
Please...have an idea on how i can convert my code to mt5 ea robot and trade succesfully.... The Code is develop on chatgbt with my best indicator, i just need it to be runing as ea robot..Any Help
Different value of indicator received from API compared to value shown on tester during backtest
(3)
Hi, I am using ADX indicator and the values I received at the time of execution of trade was 69 and 72 for 2 consecutive bars (increasing), while the values shown in tester for that trade was 62.5 and 58 (reducing). I have observed the same for other indicators also (Bollinger bands, MACD, EMA etc)
the red and gray lines seems to be the line graph of the "open ask & close price "... my EA does not hay ANY indicator.. where tthose lines comes from ??? and how to disable them ??? the "help info" of the MT5 does not offer help
I have been trying to find an answer for this but still unsuccessful. Seniors, kindly guide. I want to do it using MQL5
struct economicNews { MqlCalendarEvent event ; MqlCalendarValue value ; MqlCalendarCountry country; }; //+------------------------------------------------------------------+ //| |
Hi, I work now with dark venus with several weeks, and most of the time it's working well. But sometimes, I have an exit on live for some trades that should'nt happen, and when I backtest the same trades, It not closing where the live is closing. I'm on MT5. Please check the two images below that
Can someone help me with this? I’m optimizing a new EA, everything begin correctly but then some Agents finish while others are stuck going over 100%, the overall optimization remains blocked. Optimization at 1:53 pm After 10 minutes not even a new pass executed
I want to calculate the data through matrix and convert the one vector to array for indicator show. And it is found there is no output array function in matrix or vector. the "row" or "col" member only output vector. https://www.mql5.com/en/docs/basis/types/matrix_vector Is it necessary the get all
For me personally I build strategies based off indicators so I follow something like the darwinex multisymbol template posted on github. I have a bunch of enums for deciding lot size, sl and tp based on ATR, new filter enum, and a bunch of functions I copy and paste over for placing trades that have
Hi, I want to set the stop loss for the trade to a particular % of the price. For making it multiple of the ticks, I used the below code: double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double price = (type == ORDER_TYPE_BUY) ? SymbolInfoDouble(_Symbol, SYMBOL_ASK)
folks, it's a big pain navigating between charts and editing indicators (add, remove, change color, change time frame....etc) in mt5....so i was wondering if anyone managed to hotkey important charting and trading functions using autohotkey and elgato steam deck ? i was thinking it might be possible
Hi all, I'm trying to build a hedge-based EA where: A manual trade is opened (BUY/SELL) If the trade goes into 2-point loss, a hedge trade is opened in the opposite direction Once the hedge trade gains 3+ points, I try to move the hedge trade’s SL to breakeven I am using trade.PositionModify(...)
Hello. Today I come to propose a new method to you which proved reliable manually. I know that newdigital uses this indicator on its method, but today the approach is different . Here several weeks that one of my best friends trade with this method than it improved much and who is advantageous still
Yesterday when I was doing some backtesting of EA I realised that ticks data were missing for year 2023 and before resulting the testing quality to be 0 What could have happened? Do I need to contact the broker for this? I have tried to delete all tick data and tried to re-download but data are
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.