From 79da67ddd06499e1bba4842326da18ee3f2b6578 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 26 Oct 2023 11:34:20 -0700 Subject: [PATCH] Add Indi-BTFD indicator, credit to @kerberos007 --- indi_btfd.pine | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 indi_btfd.pine 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