लाइब्रेरी · Pine Script v5

6 Pine उदाहरण,
पेस्ट करने के लिए तैयार।

संकेतक और रणनीतियाँ जो TheConnector webhooks भेजती हैं। कॉपी करें, TradingView Pine Editor में पेस्ट करें, alert बनाएँ। payload के अलावा किसी बदलाव की आवश्यकता नहीं। account पेलोड का।

EMA Crossover (9/21)

एक्सपोनेंशियल मूविंग-एवरेज क्रॉसओवर। अल्पकालिक ट्रेंड फ़ॉलोइंग के लिए क्लासिक तरीका।

संकेतक
//@version=5
indicator("EMA Crossover → TC", overlay=true)
fast = ta.ema(close, 9)
slow = ta.ema(close, 21)
bull = ta.crossover(fast, slow)
bear = ta.crossunder(fast, slow)
plot(fast, color=color.lime)
plot(slow, color=color.orange)
if bull
    alert('{"action":"buy","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
if bear
    alert('{"action":"sell","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
15 पंक्तियाँ~30से में इंस्टॉल
ट्रेंड

RSI Mean Reversion (14)

ATR-आधारित SL/TP के साथ ओवरसोल्ड/ओवरबॉट पर उलटफेर। पूर्ण रणनीति, प्रति ऑर्डर अलर्ट।

रणनीति
//@version=5
strategy("RSI MR → TC", overlay=true)
rsi = ta.rsi(close, 14)
atr = ta.atr(14)
if ta.crossover(rsi, 30)
    sl = close - atr * 1.5
    tp = close + atr * 3.0
    msg = '{"action":"buy","symbol":"' + syminfo.ticker + '","volume":0.10,"sl":' + str.tostring(sl, "#.#####") + ',"tp":' + str.tostring(tp, "#.#####") + '}'
    strategy.entry("L", strategy.long, alert_message=msg)
if ta.crossunder(rsi, 70)
    sl = close + atr * 1.5
    tp = close - atr * 3.0
    msg = '{"action":"sell","symbol":"' + syminfo.ticker + '","volume":0.10,"sl":' + str.tostring(sl, "#.#####") + ',"tp":' + str.tostring(tp, "#.#####") + '}'
    strategy.entry("S", strategy.short, alert_message=msg)
16 पंक्तियाँ~1 मिनट में इंस्टॉल
मीन रिवर्जन

Donchian Breakout (20)

20-बार के उच्च / निम्न का ब्रेक। क्लासिक टर्टल ट्रेडिंग।

संकेतक
//@version=5
indicator("Donchian 20 → TC", overlay=true)
hh = ta.highest(high, 20)[1]
ll = ta.lowest(low, 20)[1]
plot(hh, color=color.lime)
plot(ll, color=color.red)
if close > hh
    alert('{"action":"buy","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
if close < ll
    alert('{"action":"sell","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
10 पंक्तियाँ~30से में इंस्टॉल
ब्रेकआउट

Opening Range Breakout

पहले सत्र घंटे (08:00-09:00 पेरिस) का ब्रेक। सूचकांकों और फ्यूचर्स के लिए आदर्श।

रणनीति
//@version=5
strategy("OR Breakout → TC", overlay=true)
inOR = time("60", "0800-0900", "Europe/Paris")
hh = ta.valuewhen(not inOR and inOR[1], high, 0)
ll = ta.valuewhen(not inOR and inOR[1], low, 0)
if not inOR and close > hh
    strategy.entry("L", strategy.long, alert_message='{"action":"buy","symbol":"US500","volume":1.0}')
if not inOR and close < ll
    strategy.entry("S", strategy.short, alert_message='{"action":"sell","symbol":"US500","volume":1.0}')
10 पंक्तियाँ~1 मिनट में इंस्टॉल
ब्रेकआउट

MACD Signal

क्लासिक MACD/सिग्नल क्रॉसओवर। मध्यम-अवधि की प्रवृत्ति का संकेत।

संकेतक
//@version=5
indicator("MACD → TC")
[m, s, _] = ta.macd(close, 12, 26, 9)
plot(m, color=color.blue)
plot(s, color=color.orange)
if ta.crossover(m, s)
    alert('{"action":"buy","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
if ta.crossunder(m, s)
    alert('{"action":"sell","symbol":"' + syminfo.ticker + '","volume":0.10}', alert.freq_once_per_bar_close)
8 पंक्तियाँ~30से में इंस्टॉल
ट्रेंड

Bollinger Bands Mean Rev

किसी बाहरी बैंड को छूने के बाद औसत पर लौटें। रेंज बाज़ारों के लिए आदर्श।

रणनीति
//@version=5
strategy("BB MR → TC", overlay=true)
[mid, up, dn] = ta.bb(close, 20, 2)
plot(up)
plot(dn)
plot(mid)
if ta.crossover(close, dn)
    strategy.entry("L", strategy.long, alert_message='{"action":"buy","symbol":"' + syminfo.ticker + '","volume":0.10}')
if ta.crossunder(close, up)
    strategy.entry("S", strategy.short, alert_message='{"action":"sell","symbol":"' + syminfo.ticker + '","volume":0.10}')
9 पंक्तियाँ~30से में इंस्टॉल
मीन रिवर्जन

और रणनीतियाँ आ रही हैं। कोई विशिष्ट चाहिए? इसे सुझाएँ.

Pine से आपके ब्रोकर खाते तक 5 मिनट में।

एक निःशुल्क खाता बनाएँ, इनमें से कोई एक उदाहरण TradingView में पेस्ट करें, पहला टर्मिनल ACK प्राप्त करें।