WRONG_KIND

CompileSeen in: The editor

What happened

The file defines an indicator where a strategy or a library was expected, for example an indicator file given to a place that loads strategies.

What to do

Use the file where indicators are loaded, or write a strategy class instead.

Example

text
strategy.py, line 5: `Trend` is an indicator. Only strategies and libraries load here. [WRONG_KIND]

The wording of the message depends on your file, and the code does not. An error stops the file from loading.

Ask about this in the forum