Would anyone happen to have or know of a script for ThinkorSwim that automatically plots swing highs/lows for any time frame? I've attached an image that sort of similar to what I'm talking about. The image, however, describes pivot points but I don't care for pivots. I care only about swing highs and lows. I, of course, could do this manually but if there's a script, why not?
Try the TOS study, "TTM_ScalperAlert". No need to write this script as it has already been done. Fine tune it, or change its script.