Prompt brief
ThinkScript · one source file
Example request
Create a thinkorswim upper study that connects the two most recent confirmed pivot highs using three bars on each side, extends the line, and alerts once when a completed bar closes above it.