@D_Tramp See the top of the page
@Gabrielx77, @Ginu09, @axlerod
The code for the thumbsup watch list is:-
Thumbs Up/Down Watchlist (based on the trendpainter thinkscript originally coded by @BenTen.) The thumbs up is based on the buysignal section of the thinkscript.
The thumbs up is aligned to the thumps up or thumps down within the chart.) The time frame is the same as the chart 1m but you can change the time frame. Remember if you change the time frame for the trendpainter chart you have to change it for the watchlist as well. I also created a scan for the trendpainter where you can scan for stocks that are only strongbuy, etc. I also use this with the RVI as well. In this way it would only show RVI stocks that are strongbuy.
The below code was added to the original trendpainter code to create the custom Thumbs up/down watchlist.
TrendPainter Custom Watchlist
I used the original trendpainter script and added the following script to create the custom watchlist.
@Gabrielx77, @Ginu09, @axlerod
The code for the thumbsup watch list is:-
Thumbs Up/Down Watchlist (based on the trendpainter thinkscript originally coded by @BenTen.) The thumbs up is based on the buysignal section of the thinkscript.
The thumbs up is aligned to the thumps up or thumps down within the chart.) The time frame is the same as the chart 1m but you can change the time frame. Remember if you change the time frame for the trendpainter chart you have to change it for the watchlist as well. I also created a scan for the trendpainter where you can scan for stocks that are only strongbuy, etc. I also use this with the RVI as well. In this way it would only show RVI stocks that are strongbuy.
The below code was added to the original trendpainter code to create the custom Thumbs up/down watchlist.
Code:
def arrowup = buysignal;
def arrowdown = sellsignal;
def trigger = if arrowup then 100 else if arrowdown then -100 else trigger [1];
AddLabel(yes,(if trigger == 100 then "👍" else if trigger == -100 then "👎" else "NA"));
AssignbackgroundColor(if trigger == 100 then Color.dark_Green else if arrowdown == -100 then Color.dark_Red else Color.black);
TrendPainter Custom Watchlist
I used the original trendpainter script and added the following script to create the custom watchlist.
Code:
def uptrend = buy;
def Stronguptrend = strongbuy;
def downtrend = sell;
def Strongdowntrend = strongsell;
AssignbackgroundColor (if uptrend then Color.Dark_GREEN else if Stronguptrend then Color.Green else if downtrend then color.dark_RED else if Strongdowntrend then Color.RED else Color.Black);
AddLabel(yes,if uptrend then "UP" else if Stronguptrend then "Buy" else if downtrend then "Down" else if Strongdowntrend then "Bear" else "Neutral", if stronguptrend then color.black else if strongdowntrend then color.black else color.white );
Last edited by a moderator: