A novice coder might write:

: Prevents "survivorship bias" and "look-ahead" errors.

After your code, add:

Common mistake: comparing or combining arrays of different lengths.

To ensure your code is "verified" (syntax-ready for a report), it must include at least one Buy and Sell rule. Below is a template for a basic strategy that includes the full report option: