So let me tell you more about the script.
The inputs should be:
2) Time Frame (multiple or just one or select all)
3) Period (Start date and time - End date and time)
4) number of consecutive candles with options =, > and <. the greater and smaller than should be able to input individually and together.
Output should be:
1) exported to an excel file that I can send later once the job is awarded.
Please ask me if any further details are required.