zzzcrypto123

Supertrend Screener LABEL

This screens for Supertrend reversal's in 10 different securities. The main logic for the screener is taken from "Simple Custom Screener in Pinescript" by QuantNomad with his permission. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple supertrend to it.

Terminology explanation:
Confirmed Reversal: Supertrend reversal that happened in the last bar and cannot be repainted.
Potential Reversal: Supertrend reversal that might happen in the current bar but can also not happen depending upon the timeframe closing price.
Uptrend/Downtrend : Shows all the tickers that are either currently in uptrend or downtrend.
發布通知: .
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?

評論

Amazing Work , is it possible in screener under uptrend text turns green and in downtrend the color shows red ? in potential upside reversal it turns yellow and potential downside it turns orange ? and confirm reversal upsdie aqua and confirmed downtrend black ??
+2 回覆
@Nfaizan, thanks, i dont think so most likely you will need to create multiple labels if want to change color for text. also that will create problems with overlapping labels so will have to position it in such a way such that the texts dont overlap. a simpler solution would be to just add emojis inside the text something like 🟩 🟥 🟨
回覆
Nfaizan zzzcrypto123
@zzzcrypto123, Thanks for the reply , can you share a sample version of emojis ?
+1 回覆
@Nfaizan, something like

up_label := up01 ? up_label + '🟩 ' + t1 + '🟩 \n' : up_label

dn_label := dn01 ? dn_label + '🟥' + t1 + '🟥 \n' : dn_label
回覆
Nfaizan zzzcrypto123
@zzzcrypto123, Thank you So much sir
+1 回覆
Getting following error
Add to Chart operation failed, reason: Script could not be translated from: ["White", "Black", "Red", "Green"
+1 回覆
zzzcrypto123 vivkaushik
@vivkaushik, works for me, u likely didnt copy paste the whole thing
回覆
I have getting error of below
ine 10: Using argument with the same name 'title'
line 11: Using argument with the same name 'title'
line 12: Using argument with the same name 'title'
line 13: Using argument with the same name 'title'
line 4: Using argument with the same name 'title'
line 5: Using argument with the same name 'title'
line 6: Using argument with the same name 'title'
line 7: Using argument with the same name 'title'
line 8: Using argument with the same name 'title'
line 9: Using argument with the same name 'title'
+1 回覆
@Kamald12, its warning not error, however just change this line from
t1 = input(title="Ticker1", title=input.symbol, defval="BINANCE:BTCUSDT" )

to

t1 = input(title="Ticker1", type=input.symbol, defval="BINANCE:BTCUSDT" )

and it should be fixed
+1 回覆
thanks!!!great job!
+1 回覆