Ilyas Shamadin Khan / Publications
Forum
mt5 backtesing stopping at random places
Hi I have backtested with some pairs such as usdjpy and nzdusd and have had stopping at random places. For example when the ea should have sold or bought it just leaves the trade open till the testing is over. It is only doing that for these certain symbols, and does the same thing with different
Getting the MACD with EMA signal line MQL4
Hi I have read in this thread that the mt4 macd is actually not the same MACD as for example tradingview and other sources, the 12, 26, 9 period is ema(12), ema(26) and sma(9). How can I change the signal line to a 9 ema, the bar lags compared to the ema MACD. Also I have looked at the default MACD
Time FIlter Not Working MQL4
Hi I have tried to implement a time filter to turn off trading during high spread times, my broker is in Greenwich mean time (GMT+3), I want to turn off the ea 1 hour before New York close, and continue to untill 2 hours after the asian open. Basically it does not turn off. Any ideas? Thanks
iRSI not working MQL5 Help please
Hi this code is not working and I am not sure why. any insight would be appreciated thanks. #include<Trade\Trade.mqh> CTrade trade; void OnTick() { int rsiValue=iRSI(NULL, NULL,14,PRICE_CLOSE); //also tried double if(rsiValue>50) { trade.Buy(0.01,NULL,0.0,0.0,0.0,NULL); } }
MQL4 EA Quesion
delete