So this script is used to pick tops and bottoms in the market. Functions on any timeframe or symbol. I have found that the presets I like best are 5m candles for NMS U.S. Market stocks. Seems like lots of goods trades off of the open when there are large market displacements. Alert Friendly. Give it a try!