Its my first time wrote a strategy that actually runs, but it went wrong and I have no idea where its not right.
Its using the WVAD indicator to buy and sell stocks: https://www.mql5.com/en/code/23467
WVAD = (Close- Open)/ (High - Low) / Volume
basically when WVAD above 0, it buy and below 0 it close all the positions
I would really appreciate if someone would take a look at my code.
Thanks!