e iπ +1=0
- 23 Eki 2020
Barbara Star's, "Trade the Swing Price" uses a 5-period linear regression indicator as the basis for buy and sell signals. The formulas for the reversal indicator and the system based on it are below.
To enter this indicator into MetaStock; click on Tools | Indicator Builder. Click New and type the name of the formula. Then click in the larger window and type in the actual formula.
Linear Regression Reversal Indicator
If( LinearReg(C,5)>(Ref( LinearReg(C,5),-1)),+1,
If( LinearReg(C,5)<(Ref( LinearReg(C,5),-1)),-1,0))
Source / From: