Prompt brief
ThinkScript · one source file
Example request
Create a thinkorswim upper study with prior-day high and low plus confirmed swing levels using three bars on each side. Label each source, retain the last four swings, and alert once on a completed-bar close through a level.