Forum

MQL5 equivalent for MarketInfo(_Symbol, MODE_PROFITCALCMODE)

Hello, What is the MQL5 equivalent for MarketInfo(_Symbol, MODE_PROFITCALCMODE) please? My goal is to have the type of the symbol (forex, CFD...). I tried the SymbolInfoString(_Symbol,SYMBOL_PATH,path) command, but it doesn't work well with all brokers. Regards, Matthieu

Some missed crossovers with classic moving average detection

Hello, I recently realized that my code for detecting moving average crossovers was not perfect. Instead, it is the classic code that is generally used by EAs. Here is an example for US30 (backtested in visual mode in order to see the values ​​of the moving averages at each bar opening): - At point

Lowered rating on a product without apparent reason

Hello, I recently released a new EA in the market, but it has a lowered rating due to its description. The problem is that I don't see anything in the description that could cause this lowered rating. I have already read the market rules and the following post: https://www.mql5.com/en/forum/375547

Only make necessary backtests in optimization

Hello, I'd like to know, when I make a complete optimisation backtest of my EA, if it is possible to ignore useless tests in order to save time. For example, if my code is the following: [code] if(use_rsi) { actualRSI = iRSI(Symbol(),rsi_timeframe,rsi_period,rsi_applied_price,rsi_shift);