After long inspection, I found many behaviors related to char, are not documented. I'd probably miss out them and I chose to experiment. Suspect I: when a string contains hexadecimal code, the hex code always become 2 bytes long, \xFF becomes \xFF00. Instead of prepend, it appends, losing its
I was trying to build a browser dashboard that displaying EA processed info and these must be somehow stored somewhere. I'd wonder which is the best way to build, as I much afraid that I will only realize I'm so wrong when I almost 'done' all the jobs. My first attempt was FileWrite in MQL4 then
I find it inconvenient to go thru the cycle of: move pointer > right click > buy/sell limit > set lot > set SL/TP >= 6 operations But the cycle of: move pointer > right click > buy/sell limit + preset lot + SL/TP >= 3 operations Is that possible to code this thing out? Searching the internet doesn't
//+------------------------------------------------------------------+ //| DrawUtil.mqh | //| Copyright 2024, Ting | //| https://www.mql5.com |
//+------------------------------------------------------------------+ //| TradeUtil.mqh | //| Copyright 2024, Ting | //| https://www.mql5.com |
Given a scenario, my account size is small, so the risk size small, henceforth the lot size is very small. This is not good when the lot step is generally bigger, and broker not accepting your tiny lot size that represent your accurate risk control . In the worst case, it could totally remove the
Question I - dangling pointer, memory leak in MQL4, is it same as C/C++, in terms of definition and their actual behaviors? Question II - citing William's words [ https://www.mql5.com/en/forum/347811 ], does avoid using `new()` will get rid of most if not all memory leaks? From my perspective n his