Price Channel Upper (PCU).
Namespace: OpenQuant.API.Indicators
Assembly: OpenQuant.API (in OpenQuant.API.dll)
Syntax
Remarks
Price Channel is one of the simplest and oldest trend-following models. It requires no calculations. The rules are: Buy when the weekly closing price moves up to a new 20-period high; sell and sell short when the weekly closing price moves down to a new 20-period low. In other words, when price moves out of its n-period range, go in the direction of this new trend.
Formula: 
Inheritance Hierarchy
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.