Order block custom screener
Budget: $10 – $30 USD
Hello ;
I am making stock screeners like RSID60 attached. I am working on another stock screener OBD60 also attached but I couldn’t success. I want to have signal when the last bar in the green areas.(Bu-OB,Bu-MB,Bu-BB is the green areas) I have also attached pictures to easy understand what I mean.
RSID60 is working fine. Another code is I couldn’t fix.
I will make stock screener with OBD sends 40 request security for example[s1 = request.security('AKBNK/USDTRY', sure, customFunc())] and screener works on 40 stocks. And which stock last price in the green area it will show. If it is not it will false and not show anything.
Here is an example of RSID60 it works fine.
indicator('RSID60', overlay=false) (OBD60 indicator will be here)
rsivalue = ta.rsi(close, 14) (OBD60 codes will be here)
rsisma = ta.sma(rsivalue, 14)
rule = (rsivalue > rsisma) (OBD60 rules will be here)
customFunc() =>
rule
sure = '1440'
s1 = request.security('AKBNK/USDTRY', sure, customFunc())
s2 = request.security('ARCLK/USDTRY', sure, customFunc())
scr_label = 'AL: '
scr_label := s1 ? scr_label + 'AKBNK,' : scr_label
scr_label := s2 ? scr_label + 'ARCLK,' : scr_label
lab_l = label.new(
bar_index, 0, scr_label,
color=color.green,
textcolor=color.white,
style=label.style_label_right,
yloc=yloc.price)
label.delete(lab_l[1])
I have also put an example.
I am making stock screeners like RSID60 attached. I am working on another stock screener OBD60 also attached but I couldn’t success. I want to have signal when the last bar in the green areas.(Bu-OB,Bu-MB,Bu-BB is the green areas) I have also attached pictures to easy understand what I mean.
RSID60 is working fine. Another code is I couldn’t fix.
I will make stock screener with OBD sends 40 request security for example[s1 = request.security('AKBNK/USDTRY', sure, customFunc())] and screener works on 40 stocks. And which stock last price in the green area it will show. If it is not it will false and not show anything.
Here is an example of RSID60 it works fine.
indicator('RSID60', overlay=false) (OBD60 indicator will be here)
rsivalue = ta.rsi(close, 14) (OBD60 codes will be here)
rsisma = ta.sma(rsivalue, 14)
rule = (rsivalue > rsisma) (OBD60 rules will be here)
customFunc() =>
rule
sure = '1440'
s1 = request.security('AKBNK/USDTRY', sure, customFunc())
s2 = request.security('ARCLK/USDTRY', sure, customFunc())
scr_label = 'AL: '
scr_label := s1 ? scr_label + 'AKBNK,' : scr_label
scr_label := s2 ? scr_label + 'ARCLK,' : scr_label
lab_l = label.new(
bar_index, 0, scr_label,
color=color.green,
textcolor=color.white,
style=label.style_label_right,
yloc=yloc.price)
label.delete(lab_l[1])
I have also put an example.