Most commonly an indicator includes the following sections:
Global variables
OnInit {}
OnCalculate{}
Each section should contain specific lines of code, which will check next.