The Script is mixture of both EMAs and SMAs. EMA 5/10/21 are powerful indicators for short term providing more weightage to the recent prices. SMA 50/100/200 provide the long term view.
5 Day EMA: This is a sign of strong momentum. It tracks the trend in the short term time frame. This is support in the strongest up trends. This line can only be used in low...
This script includes the 200 (green), 100 (purple) and 50 (yellow) SMAs and the 20 EMA (blue) from the daily calculated from the close. It is coded so the studies change at midnight ET on the charts to the next day's value.
The script also include the 252 day high ( bright green dashed) and low ( bright red dashed).