hyunjeshin / Publications
Forum
Question Regarding Array
Hello, This may sound abit stupid to professional coder but is it not possible to use variable as array, as there will be invalid index value (i tried understanding it but i seem to not be able to) Example Code would be input int FASTEMA = 50 ; int start() { blah blah blah
Regarding allowing EA to send another order only after a new bar/candle
Hi, Currently I am usually the following code to limit to opening a single order if ( OrdersTotal () == 0 ) I have also tried below, following a youtube guide bool NewCandle() { static datetime Candle; if (Time[ 0 ] == Candle) { return false ; } else (Candle
Need help regarding OrderClose and OrderModify
Hello guys, I am new here and have just recently started learning how to code mql4 few days ago. I am trying to write a code so that the EA will automatically close half of my position and modify my order so that it will create a new TP and SL. However, whenever I run the code, it seems like it