OPEN-SOURCE SCRIPT

IAN'S SMT

30
How to fix it (pick ONE)
✅ Option A — Treat MNQ as NQ (recommended)

If MNQ should behave identically to NQ:

isNQ = chartNorm == symA_norm or chartNorm == "MNQ1"


or more robust:

isNQ = str.contains(chartNorm, "NQ")


That makes:

NQ1!

MNQ1!

NQH2026
all map to index 0

✅ Option B — Add MNQ as its own symbol (clean but heavier)

Add a 4th symbol slot:

symD = input.symbol("MNQ1!", "Symbol D")


Then:

Update N_SYMS

Add high_i(3), low_i(3)

Expand every SMT array

This works but is a lot of refactoring

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.