Anatomy Of A Script Flashcards

1
Q

What are the steps of the anatomy of a script?

A
  1. Heading comment.
  2. Annotation function (Indicator, Strategy or Library).
  3. Get user input.
  4. Perform calculation and/or analysis.
  5. Plot outputs to the chart.
  6. Trigger any alerts / manage strategy trades.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some examples of heading comments?

A
  • Script version & last modified date.
  • Author (Name/Alias).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some examples of annotation functions?

A
  • Indicator()
  • Strategy()
  • Library()
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some examples of user inputs?

A
  • Allow for customization of your script (e.g. default/Max/min values).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are some examples of calculation & analysis?

A
  • Detect patterns/setups/manage trades.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some examples of plot outputs & trigger alerts?

A
  • Draw results of your analysis to the chart.
  • Trigger any alert conditions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly