Forum

possible use of uninitialized variable 'oldorderopenprice'

maybe any coder can fix this? this code give warning possible use of uninitialized variable 'oldorderopenprice' double FindLastBuyPrice() { double oldorderopenprice; int oldticketnumber; double unused = 0 ; int ticketnumber = 0 ; for (cnt = OrdersTotal () - 1 ; cnt >= 0 ; cnt--) {

EA to disable expert advisor button when cummulative profit reached

Hi guys, the are any EA to disable expert advisor button when cummulative profit reached? i found this, but it describe disable expert advisor when equity reach, maybe someone can change it to "when balance is 5000 + xxx" reached so ea will disable expert advisor. "xxx" amount of money $ xxx that

Why this is happened to me help please

Why this is happened to me help please 0 error(s), 17 warning(s), compile time: 114 msec 1 18