commit 79da67ddd06499e1bba4842326da18ee3f2b6578 Author: moshferatu Date: Thu Oct 26 11:34:20 2023 -0700 Add Indi-BTFD indicator, credit to @kerberos007 diff --git a/indi_btfd.pine b/indi_btfd.pine new file mode 100644 index 0000000..8d3b7ca --- /dev/null +++ b/indi_btfd.pine @@ -0,0 +1,10 @@ +// Credit to @kerberos007. +//@version=5 +indicator("Indi-BTFD") + +pct_stocks_above_20_day_average = request.security("S5TW", "D", close) +plot(ta.ema(100 - pct_stocks_above_20_day_average, 12), color = color.red) + +hline(50, title="Oversold", color=color.olive, linestyle=hline.style_solid) +hline(70, title="Fear", color=color.green, linestyle=hline.style_solid) +hline(90, title="Capitulation", color=color.lime, linestyle=hline.style_solid) \ No newline at end of file