Skip to content

Templates

CodeLab includes built-in templates to get you started quickly.

Available Templates

TemplateCategoryDescription
Blank ScriptStarterEmpty template with basic structure
Simple Moving AverageTrendSMA of selected source over a period
Bollinger BandsTrendSMA with standard deviation bands
RSIMomentumRelative Strength Index with colored zones
EMA CrossoverTrendFast/slow EMA crossover signal

Using a Template

  1. Open CodeLab
  2. Click New Script
  3. Select a template
  4. The code loads into the editor
  5. Modify to fit your needs
  6. Save and add to a chart

ChartLabs Documentation