OPEN-SOURCE SCRIPT

Schaff Trend Cycle 1.1 with signal coding

By ippp0031
This is an edit of Lazy Bear's Schaff Trend Cycle original description here. I've added in the syntax so that you can generate an alert when it crosses the threshold in either direction. Just tick the box to show threshold crosses.

https://www.tradingview.com/script/dbxXeuw2-Indicator-Schaff-Trend-Cycle-STC/

More background on the indicator is here.

https://www.investopedia.com/articles/forex/10/schaff-trend-cycle-indicator.asp

Other common settings are fast 23 slow 53 or 10/30, 3/10. I have also set it to 9/20 for test purposes. They have different pluses and minuses on different timeframes.
Oscillators

Skript med en öppen källkod

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. Du kan ange den som favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?

Frånsägelse av ansvar