Prompt brief
ThinkScript · one source file
Example request
Create a lower thinkorswim study named Cumulative Directional Volume Proxy. For each completed regular-session bar, add volume when close exceeds open, subtract it when close is below open, and add zero for a doji. Reset at the regular-session start and label this as a price-direction proxy.