CHART_ONLY_CALL
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.