CustomIndicator
Interface
Properties
constructor
ReadonlyThe field should contain an ES5 constructor function. The library applies the new
operator to the constructor to create an instance of the custom indicator.
The constructor contains the mandatory main
method and the optional init
method.
Once the indicator instance is created, the library calls init
(if exists) and main
sequentially with empty context to collect information about all variables.
Refer to the Constructor article for more information.
Type
LibraryPineStudyConstructor<IPineStudyResult> | (this: LibraryPineStudy<IPineStudyResult>) => void
metainfo
ReadonlyThe metainfo field is designed to contain the main info about the custom study.
Refer to Custom Studies Metainfo for more information.
Type
name
ReadonlyYour study name, it will be used internally by the library
Type
string