Don't use the term annotation, as it most probably will be phased out. We use function for everything that was called an annotation, except for study()
and strategy()
, for which we use the term declaration statement.
Use realtime rather than real time or real-time.
Script is useful when referring to both indicators and strategies.
Use indicator whenever you can, except when referring to the study()
declaration statement itself.
Example:
The first line of an indicator should be the
study()
declaration statement.
Note than indicator is understood to include only studies. Pine strategies should be referred to as strategies—not indicators.
Capitalize the first word of each element.
List elements use no ending punctuation when they are not a sentence. This also applies to the last element in the list.
Use an ending period on all list elements when they are sentences, or when the majority is.
We follow the TradingView standard of capitalizing only the first word of titles.