This checks for bearish signs using Ichimoku:
A very strong bearish sign is when price is bellow TS and price is bellow the Cloud, and SMA200 > cloud
// This checks for bearish signs using Ichimoku
// A very strong bearish sign is when price is bellow TS,
// and price is bellow the Cloud,
// and SMA200 > cloud
// Author: @Cristofer
// V1
// Highly inspired on
// https://www.prorealcode.com/prorealtime-market-screeners/ichimoku-screener-stock-picking-for-short-orders/
TS=(highest[9](high) + highest[9](low))/2
KS=(highest[26](high) + lowest[26](low))/2
a3= ts < ks
SpanA= (ts+ks)/2
SpanB=(highest[52](high) + lowest[52](low))/2
Minspan=min(spanA[26],SpanB[26])
b3= close < minspan
sma200 = Average[200](Close)
priceUnderMA = sma200 > Close
cloudUnderMA = max(spanA, spanB) < sma200
priceUnderKS = Close < KS
short = a3 AND b3 AND priceUnderMA AND cloudUnderMA AND priceUnderKS
//Screen
SCREENER [short](short as"short")