Screener
Screener
===================================================================================
========================
// This source code is subject to the terms of the Mozilla Public License 2.0 at
https://mozilla.org/MPL/2.0/
// � subhajitbhattacharya
//@version=5
indicator(title='Screener', overlay=true)
len = input.int(9,title="RSI Length")
//
===================================================================================
========================
screen() =>
rsi = ta.rsi(close,len)
bull = rsi > 55
bear = rsi < 45
[bull, bear]
//
===================================================================================
========================
tf = timeframe.period
[c1,v1] = request.security(s1,tf,screen())
[c2,v2] = request.security(s2,tf,screen())
[c3,v3] = request.security(s3,tf,screen())
[c4,v4] = request.security(s4,tf,screen())
[c5,v5] = request.security(s5,tf,screen())
//
===================================================================================
========================