John Voidman / Publications
Forum
How to check opened order is long or short?
Hi, fellow MT4 users. I have a simple logic in trading which in pseudo would be if (no order in the order pool) can long or short otherwise wait ; if (exists opened long order) { if(situation A meets) close order; } if (exists opened short order) { if(situation B meets) close order; } This first
Please help me on understanding mql4 indicator that draws arrows
I'm trying to make an indicator that draws arrows on certain bars at their close prices . What I don't understand is the array buffers in mql4 are only to do with price instead of price and datetime. My logic is to find the bars which satisfies the requirements then store their datetime and close