Define strategy(df) — df has columns Open/High/Low/Close/Time, oldest
first, for the symbol and timeframe currently on screen. Return a list of
{"entry_index", "direction", "sl", "tp"} dicts; entry price is that bar's close, and we walk
the real candles forward to see whether SL or TP was hit first.
Runs the real quasimodo liquidity-sweep scanner server-side (smartmoneyconcepts) for
over the From/To range above, ignoring the code box — draws its trades and
shoulder/neckline/head pivots on this chart the same way a Python backtest's marks do.