المجتمع
سكريبتات يشاركها مجتمع سبكترا.
تفرّع أيّ شيء. الترخيص يحدّده المؤلف. شغّلها في معاينة الرسم أو الباك تيستر أو على عامل السحابة ٢٤/٧ — كله مشمول مجاناً.
● بيانات معاينة — المعرض الحيّ يُربط بعد إطلاق هجرة script_versions.
Killzones
@anders · Drawings · MIT
54291London / NY killzone shading on intraday charts.
for session in ["07:00-10:00 GMT", "12:00-15:00 GMT"] { draw_session_band( range: session, fill: accent, opacity: 0.08, ) }RSI Divergence
@maeve · Indicators · MIT
41267Bullish/bearish divergence with confirmation on close.
// RSI divergence with two-bar confirmation. let r = rsi(close, 14) let bull = pivot_low(r, 5) and pivot_low(close, 5) let bear = pivot_high(r, 5) and pivot_high(close, 5) mark(bull, color: bull, label: "div+") mark(bear, color: bear, label: "div-") output bull or bearDonchian trend strategy
@fei · Strategies · MIT
32458Long on 20-day high, exit on 10-day low. Position-sized by ATR.
let hi = highest(high, 20) let lo = lowest(low, 10) let size = atr_position(risk_pct: 1.0, atr: atr(14)) if cross_up(close, hi[1]) { buy(qty: size) } if cross_down(close, lo[1]) { sell_all() }VWAP Stack
@thomasc · Indicators · MIT
29841Anchored, session, and rolling VWAP plotted together.
let v_session = vwap(anchor: "session") let v_anchor = vwap(anchor: bar(0)) let v_roll = vwap(window: 50) plot(v_session, color: accent) plot(v_anchor, color: bull) plot(v_roll, color: warning)Daily breakout screener
@oksana · Screeners · Apache-2.0
18725Closes above 20-day high on +1.5× average volume.
for sym in watchlist("us-small-cap") { let hi = highest(high, 20) let v = sma(volume, 20) let hit = close > hi[1] and volume > v * 1.5 if hit { yield sym } }RSI overbought + bearish candle
@maeve · Alerts · MIT
15619Fires when RSI > 70 and the bar closes below its open.
let trigger = rsi(close, 14) > 70 and close < open notify(when: trigger, channel: "email") output trigger