presenting a statistical method to calculate resistance and support of time-series signals such as currency price