Forum

Out-of-nowhere trades

Hello MT5 community, I'm building up an expert advisor from scratch and I'm trying to experience the basics first. I have code creating only "BUY" orders at beginning of each period (current at every 4 hours) as follows: Although I only create BUY orders , I see SELL operations as well, as depicted