Kashix / Publications
Forum
iHigh Function returning 0 for some but not others
I'm experiencing something strange. My code is as follows: D1_H0 = iHigh(Symbol(), PERIOD_D1, 0); D1_H1 = iHigh(Symbol(), PERIOD_D1, 1); D1_H2 = iHigh(Symbol(), PERIOD_D1, 2); D1_L0 = iLow (Symbol(), PERIOD_D1, 0); D1_L1 = iLow (Symbol(), PERIOD_D1, 1); D1_L2 = iLow(Symbol(), PERIOD_D1, 2); D1_O1 =
Does MT4 close on its own for any reason related to MQL code?
My MT4 when running my EA will sometimes close as soon as the connected to server sound is heard. I will re-open MT4 many times and it will happen many times until magically it works one time. This can be 2 opens or 20 opens. My EA has no errors when compiled. There are no uninit codes or any
MT4 Terminal Closing on its own!
Weird problem I'm experiencing. When I open MT4 and get the sound confirming that I'm connected to the server, MT4 shuts down on its own completely. This happens only when my EA is loaded. I've used a self-made EA as a helper tool for some time now and have never had this problem before. I don't
MQL4 Strategy Tester. Trying to plot trade history for visualization purposes.
OrdersHistoryTotal() and OrderSelect() doesn't work for strategy tester . Saving to CSV and Reading from CSV doesn't work for strategy tester. Is what I'm trying to do possible for MT4? Any guidance is appreciated