It's weekend!
Run your EA in the debugger (in the editor) with hist. quotes Ctrl+F5 but set the times etc in Tools => Options:

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I was watching a video on how to make an EA, and noticed very far in that the on tick function is only being used once or only plays one line of it per tick
full code and screenshots attached although not much works. important part is
OnTick(
trade.Buy;
trade.Sell;
trade.Buy;
)