OPEN-SOURCE SCRIPT
Intraday Day-Trade Scanner

//version=5
indicator("Intraday Day-Trade Scanner", overlay=true)
// ----- Inputs -----
minFloat = input.int(10000000, "Min Float")
maxFloat = input.int(20000000, "Max Float")
minPrice = input.float(3, "Min Price")
maxPrice = input.float(50, "Max Price")
minRVOL = input.float(1.5, "Min Relative Volume")
minAtrPct = input.float(1.0, "Min ATR %")
maxAtrPct = input.float(5.0, "Max ATR %")
useLong = input.bool(true, "Long scan (above VWAP)")
useShort = input.bool(false, "Short scan (below VWAP)")
// ----- Data -----
float = request.financial(syminfo.tickerid, "FLOAT", "FQ")
avgVol = ta.sma(volume, 20)
rvol = volume / avgVol
atr = ta.atr(14)
atrPct = (atr / close) * 100
// VWAP
vwap = ta.vwap(close)
// ----- Conditions -----
floatOK = float >= minFloat and float <= maxFloat
priceOK = close >= minPrice and close <= maxPrice
rvolOK = rvol >= minRVOL
atrOK = atrPct >= minAtrPct and atrPct <= maxAtrPct
longOK = useLong and close > vwap
shortOK = useShort and close < vwap
qualified = floatOK and priceOK and rvolOK and atrOK and (longOK or shortOK)
// ----- Plot label on chart -----
plotshape(qualified,title ="Qualified Stock", text="SCAN HIT", style=shape.labelup, size=size.small, color=color.new(color.green, 0))
// ----- Alerts -----
alertcondition(qualified, title="Trade Candidate Found", message="This stock meets your day-trade scan criteria!")
indicator("Intraday Day-Trade Scanner", overlay=true)
// ----- Inputs -----
minFloat = input.int(10000000, "Min Float")
maxFloat = input.int(20000000, "Max Float")
minPrice = input.float(3, "Min Price")
maxPrice = input.float(50, "Max Price")
minRVOL = input.float(1.5, "Min Relative Volume")
minAtrPct = input.float(1.0, "Min ATR %")
maxAtrPct = input.float(5.0, "Max ATR %")
useLong = input.bool(true, "Long scan (above VWAP)")
useShort = input.bool(false, "Short scan (below VWAP)")
// ----- Data -----
float = request.financial(syminfo.tickerid, "FLOAT", "FQ")
avgVol = ta.sma(volume, 20)
rvol = volume / avgVol
atr = ta.atr(14)
atrPct = (atr / close) * 100
// VWAP
vwap = ta.vwap(close)
// ----- Conditions -----
floatOK = float >= minFloat and float <= maxFloat
priceOK = close >= minPrice and close <= maxPrice
rvolOK = rvol >= minRVOL
atrOK = atrPct >= minAtrPct and atrPct <= maxAtrPct
longOK = useLong and close > vwap
shortOK = useShort and close < vwap
qualified = floatOK and priceOK and rvolOK and atrOK and (longOK or shortOK)
// ----- Plot label on chart -----
plotshape(qualified,title ="Qualified Stock", text="SCAN HIT", style=shape.labelup, size=size.small, color=color.new(color.green, 0))
// ----- Alerts -----
alertcondition(qualified, title="Trade Candidate Found", message="This stock meets your day-trade scan criteria!")
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。