Are there any TS users here who can help me write a simple program to indicate when a Double Top or Double Bottom Occurs? Tried the TradeStationWorld forum with no luck.
I cannot help you with that, but would be interested in the code. I wish TS had such a great support as Amibroker...
sure, start by using pivots. when you have for example two high pivots confirmed within a given timeperiod and the highs are within a certain distance of each other, the double top condition is confirmed. vice versa for bottoms.
https://www.tradestationworld.com/discussions/topic.asp?TOPIC_ID=3746 read, scroll down, till you see window with bunch of code in there. scroll inside this window, you will find code for things you are looking for.