Chaining GetBollingerBands with GetSlope #1959
Unanswered
scottManning42
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
|
As a side note, if you wanted a different component of the IEnumerable<SlopeResult> hl2Slopes= quotes
.Use(CandlePart.HL2)
.GetSlope(5); |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
-
I am using the GetSlope function chained to the GetBollingerBands function.
List bandResults = quoteList.GetBollingerBands(20, 2.5).ToList();
List bbSlopeResults = quoteList.GetBollingerBands(20, 2.5).GetSlope(20).ToList();
List testList = quoteList.GetSlope(20).ToList();
When I call GetSlope on the Quote class list, it appears to use the Close Price, which is perfect, and I see a slope I would expect for the stock’s price increase. When I chain GetBollingerBands with GetSlope, the slope is near zero, and I was wondering what value out of the BollingerBandsResult class GetSlope is looking at to get a near zero slope.
For example, the slope for the quote list is typically like 1.03102255639097, but the slope for GetBollingerBands and GetSlope chained together is like 0.00390977443609022
Beta Was this translation helpful? Give feedback.
All reactions