Don't do per tick that which can be done per bar or once in init.

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
Hi, with the code i send as attatchment im happy with except i dont know why it tests too slow when tested on tick test.
Im thinking it might be because ive laid out everything within the OnTick event handler and so is overworking the CPU in my PC.
Should i look to code this using more made up functions instead?