# CHART_ONLY_CALL

A strategy uses fg.draw or fg.alert. Strategies draw through plots and ctx.plot.

## What happened

`fg.draw` and `fg.alert` are for indicators. A strategy that uses them is refused, because a strategy's drawings go through its plots.

## What to do

Draw with `plots=` in `fg.Signals`, or with `ctx.plot`, or move the drawing into an indicator.

## Example

```text
strategy.py, line 6: `fg.draw` is for indicators. A strategy draws through plots= in fg.Signals or ctx.plot. [CHART_ONLY_CALL]
```

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