Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=61539
Forum: 38 · Topic 61539 · 1 post(s)
Alexander.Gettinger · Tue Nov 25, 2014 11:28 am
1. Projection band
Formulas: UpBand[i] = Max(High[i], High[i-1]+iSlopeHigh, DnBand[i] = Min(Low[i], Low[i-1]-iSlopeLow), where SlopeHigh - slope of linear regression line for High prices, SlopeLow - slope of linear regression line for Low prices.
Download:
2. Projection oscillator
Formulas: PO = 100(Close-DnBand)/(UpBand-DnBand), where UpBand[i] = Max(High[i], High[i-1]+iSlopeHigh, DnBand[i] = Min(Low[i], Low[i-1]-i*SlopeLow), SlopeHigh - slope of linear regression line for High prices, SlopeLow - slope of linear regression line for Low prices.
Download: