The Script can be used to identify the main trend and take BUY/SELL decisions in the lower time frames.
The tool can be applied as follows 1) Apply the tool your favorite chart 2) Select the main trend. 3) Go to lower time frames to check the BUY/SELL signals. Example: If the selected main trend is 4 hrs then go to time frames below 4 hrs to find the entry and exit positions.
Feel free to reach out to me if you need any further information