Forum

Reverse Engineering

Hi I hope you are all doing well. I'm new to the concept of Reverse Engineering, I tried to google it online, but it is used in many contexts with different definition that it became really confusing. Can you please give me an easy to understand definition of Reverse Engineering?, in addition can

Strategy tester shut down

Hi, do anyone know what can be the cause of the strategy tester shutdown??? I was working on a code and i can no more test it. At the beginning i though the problem was with my code, and tried to test other ea., but same problem, nothing works. the strategy tester starts and stop alone

Trade History

Hi, please can anyone help me with the correct code to get the Deal Entry Price? HistorySelect ( 0 , TimeCurrent ()); //--- create objects string name; uint total= HistoryDealsTotal (); ulong ticket= 0 ; double price; double profit; datetime time; string symbol;

MQL5 Marketplace Rules

Hi I used to have a product named " Two Moving Average Crossover" in my mql5 store, it was basically a Two Moving Average Crossover Strategy Expert Advisor. But after many updates I have added two more moving average strategy in the same EA. And in the name of the EA based of the initial strategy

Custom chart Candle Close

Hi, does anyone know how to get the candle close from a non time based custom chart such as renko ? iClose and Copyclose doesn't work. thanks

Symbol Equity

Hello, I want to calculate the equity for each symbol separately, but my current code calculates the overall account equity instead. For instance, if my trading bot handles multiple currency pairs, and I only want the equity for the EURUSD pair, what code should I use? Can someone assist me in

Problem with MACD EA

Hi dear community, i would like to assist me in finding if anything is wrong with my code. I'm coding a MACD EA, basically it works how it supposed to be (the Logic), but when you test it, you realize that some signals are being ignored. To be precise, 80% of the MACD signals are well trades

MQL product Update

Hello everyone, I have a quick question. Let's say I purchased an indicator from the MQL5 marketplace . If the seller releases a new update a week later, will my MetaTrader terminal automatically update the indicator I already have to the latest version? Or do I need to manually update it myself

independant if function

hi, here is my problem //imput section imput bool Condition 1 =false; imput bool Condition 2 =false; imput bool Condition 3 =false; bool Trade filter() { // All the variables and declarations here if (X && Condition 1 ) tradingallowed=True; if (Y && Condition 2 ) tradingallowed=True; if (Z &&

Getting MT5 Rectangle value

hi everyone, first i should specify that I'm a beginner, I'm still learning while playing with codes. It would be great if your answers are detailed and simplified. I'm not only looking for an answer, I'm also trying to learn from it. I have attached all the code source to this document. MT4 Version