Schaff Trend Cycle #570
Replies: 7 comments 10 replies
-
Thanks for the recommendation and info. Tracking dev here: #571 |
Beta Was this translation helpful? Give feedback.
-
On reading about this a bit more, STC is just a Slow Stochastic of a MACD. Given that these two are already in the library, you can compute things like this on your own; for example, STC is: IEnumerable<StochResult> stochMacd = quotes
.GetMacd(fastPeriods, slowPeriods, 1)
.Where(x => x.Macd != null)
.Select(x => new Quote // create synthetic Quote of MACD
{
Date = x.Date,
High = (decimal)x.Macd,
Low = (decimal)x.Macd,
Close = (decimal)x.Macd
})
.GetStoch(cyclePeriods, 1, 3); |
Beta Was this translation helpful? Give feedback.
-
Прошу подсказать как мне встроить в ваш код такую конструкцию?
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
This code is just a Schaff Trend Cycle with custom Kaufman Adaptive Moving Average as a smoother for the final result |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Schaff Trend Cycle (STC) is a charting indicator that is commonly used to identify market trends and provide buy and sell signals to traders. Developed in 1999 by noted currency trader Doug Schaff, STC is a type of oscillator and is based on the assumption that, regardless of time frame, currency trends accelerate and decelerate in cyclical patterns.
Some reference to check details on indicators:
https://patternswizard.com/schaff-trend-cycle-indicator/
https://www.investopedia.com/articles/forex/10/schaff-trend-cycle-indicator.asp
https://www.tradingpedia.com/forex-trading-indicators/schaff-trend-cycle
Beta Was this translation helpful? Give feedback.
All reactions