I believe you can start with Workshop4.c

and then use MACD indicator to set you own rules for entry/exit https://zorro-project.com/manual/en/ta.htm