Where can I learn neural network in mql5? Or which book can I use to learn neural network in mql5 or mql4
string TestROC_( int nPeriod, string cPair) { int i; int sizeOfnResultROC = nPeriod; double nResultROC[]; double nResultClose; double nResult; double nResultAbs; double nResultA; double nResultB; int nRow = 2; int nCol = 3;
Greetings, Is there a way to Automate Trading from TradingView to MT4/MT5 ? Simply what I am trying to do is to set conditions for opening the trade based on an indicator, for example, the Super Trend indicator on TradingView gives Buy/Sell signals. I want my trades to be opened on MT4/MT5 after the
I’ve recently started programming and I’ve encountered a small issue. I’m using MetaEditor through my broker’s terminal (Puprime). After compiling the file and sending it to someone using a different broker, they receive an error message stating that a newer version is required. Does this mean I
my source: if (condition1) { operator1; } else if (condition2) { operator2; } else if (condition3) { operator3; } //but metaeditor " catl+," format this: if (condition1) { operator1; } else if (condition2) { operator2; } else if (condition3) { operator3; } my condition1,2,3 are same
Good day. Say someone asks me to "Modify their trade closing by Including a delay to function A" Function A closes trades when an indicstor gets a particular setup. When modification is done as per specific requirements. How ever clients main problem wasnt what they asked for. But it is that
I am coding an EA for trading SAR. My bear positions, based on the SAR, never action. All bull positions work fine. Using counters for each function I have confirmed that every function works as required. values. in the below code simply refers to a pre-made structure. void OnTick () {
string cciOnRsi_ ( int nPeriod, string cPair) { double rsi[]; double cci[]; ArrayResize (rsi, Bars ); ArraySetAsSeries (rsi, true ); for ( int i= Bars ; i>= 0 ; i--) { rsi[i]= iRSI (cPair,nTimeFrame1,Period_EA, PRICE_CLOSE ,i); } double cci[i] = iCCIOnArray(rsi, 0 ,Period_EA, 0 );
I am writing to report a persistent issue I am experiencing when compiling MQL5 code in MetaEditor. Problem Description: When compiling code that calls the symbolInfo.VolumeStep() method from the CSymbolInfo class (included via <Trade/SymbolInfo.mqh> ), I consistently receive the errors 'VolumeStep'
How to write this mql4 code to mql5: string TestCCIonRSI( int nPeriod, string cPair) { int sizeOfaNizDan = nPeriod; double aNizDan[]; int i; double nResult; int nRow = 2 ; int nCol = 3 ; ArrayResize (aNizDan,sizeOfaNizDan); ArraySetAsSeries (aNizDan, true ); for (i =
[Deleted]
I need to change background color of my Panel derived from CAppDialog, but since m_background is a private member of CDialog, I can't access it and change the color with the function ColorBackground().I appritiate any help.
Dear all, After many months of back-testing with Expert Advisors (EAs) I wrote myself in MT5, I decided to dive into live trading. But, for about a week now I am stuck. I log in to my live account, open the chart of the instrument I want to trade, drag my EA to chart, I enable algo trading both in
Hi i am newbie in programming. i want to develop simple EA that trade once every trend confirmation, but in my code the EA open the trade in every bar after trend confirmation. if (trend[ 0 ] == - 1 ) // -1 means sell { obj_Trade.Sell(LotSize, _Symbol ,bid,bid+StopLoss* _Point , bid-TakeProfit*
for the ParSar: double GetSARValue( string cPair, int nPeriod, int bar) { double sar[ 1 ]; int sarHandle = iSAR (cPair,nTimeFrame1,Step,Maximum, 0 ); if (sarHandle!= INVALID_HANDLE ) { CopyBuffer (sarHandle, 0 ,bar, 1 ,sar); } return (sar[ 0 ]); }
I am learning how to code in mql5, I am trying to make an EA but can't be able to get the correct indicator values for each candlestick, I hope some experienced programmer can help
Hi all, I'm using #property tester_file "tester_configs.bin" to pass a binary file containing pre-generated JSON configurations to my EA. This used to work perfectly for the past 3 months, but now for some reason, Mt5 refuses to copy my tester file when starting the optimization process. The file is
Ive come across a warning when writing an expert advisor that I don't understand. I have some ideas on why I'm getting it but was hoping someone could clarify. I'm getting the warning possible loss of data due to type conversion warning when compiling the code attached. I know this error is normally
Hello guys i want know is it possible for an ea to trade a small balance of $10
Hello everyone.I´ve been experiencing an issue, on my MT5, which seems to be a setting one, but can´t figure out why. I can´t execute a delete PENDING, non from a MQL5 bot, and from PYTHON API either.Both bots seem to be correctly coded, MQL5´s one compiles well, and works in Backtesting, but when I
Hi All Some assistance, has anyone seem this error before on Mt5. " Order Failed! Reason: Unsupported filling mode" 🚀 Placing Immediate BUY Order: XAUUSD 📌 Supported Filling Modes for XAUUSD: 1 📌 Sending BUY Order: XAUUSD @ 2936.88 (TP: 2966.88, SL: 2916.88) 📝 Order Request Details: {'action'
Hi all, I use several different scripts which I just drop and drag manually to charts. Is it possible to automate this? For example at the commencement of the 16hr candle, call Script 1 to EUR/USD chart. Thanks in advance
Hi! I saw it's possible to get the OHLC of the month using the enum time frame, is the same possible with a yearly time frame? Thank you
I noticed this behavior start once I restarted MT5. I don't think there was any updates when it restarted. I'm currently running MT5 Build 4831. Context: My EA will place a buy order every time the previous candle closed below the lower Bollinger band. So when there is a new bar I check if the
In MQL5 I get this error: wrong parameters count for iSAR: string TestParSar_( int nPeriod, string cPair) { double nResultClose; double nResultSar; nResultSar= iSAR (cPair,nTimeFrame1,Step,Maximum, 0 ); nResultClose = iClose (cPair,nTimeFrame1, 0 ); if (nResultClose < nResultSar)
Hello everyone! I am looking to employ a trading system that takes entries & exits according to price action. I am interested in a free expert advisor that uses Bollinger bands as an indicator. Once price exits the upper Bollinger band an entry would be taken declaring a breakout (vice-versa for the
I am trying to code 'correctly' and efficiently in MT5. I have an EA that loops through different currency pairs and for each currency looks at an Indicator using the iCustom function. As I understand I don't need to RELEASE a handle but .... 1. Do I need a separate HANDLE for each currency PAIR
Is anyone able to use the cloud protector as of February 16 2025? It can’t connect to it. Thank you
There are some groups of people out there who used a step based ATR trailing stoploss for their trend following systems so I decided to code this since I couldn't find any free source code out there on the mql5 forum. It seems to be working properly for me right now so here is part of the source

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.