Code for strategies and indicators