Try this: https://futures.io/thinkorswim-progr...-platform.html Thank you very much Emmanuel, I copy the code to paste in my ToS thinkscript, and it looks ok. But I found the code may be different from your description. see attached pictures (the ...