OnTick only appears to happen once.
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:

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 agree to website policy and terms of use
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;
)