TradingView
sharaaU7
Jul 24, 2021 4:59 AM

Linear Regression & RSI Multi-Function Screener with Table-Label 

S&P 500 IndexTVC

Description

Hi fellow traders..

Happy to share a Linear Regression & RSI Multi-Function Custom Screener with Table-Labels...
The Screener scans for Linear Regression 2-SD Breakouts and RSI OB/OS levels for the coded tickers and gives Summary alerts
Uses Tables (dynamica resizing) for the scanner output instead of standard labels!

This Screener cum indicator collection has two distinct objectives..
1. Attempt re-entry into trending trades.
2. Attempt Counter trend trades using linear regression , RSI and Zigzag.

Briefly about the Screener functions..
a. It uses TABLES as Labels a FIRST for any Screener on TV.
b. Tables dynamically resize based on criteria..
c. Alerts for breakouts of the UPPER and the LOWER regression channels.(2 SD)
d. In addition to LinReg it also Screens RSI for OB/OS levels so a multifunction Screener.
e. Of course has the standard summary Alerts and programmable format for Custom functions.
f. Uses only the inbuilt Auto Fib and Lin Reg code for the screener.(No proprietary stuff)
g. The auto Zigzag code is derived(Auto fib).

Question what are all these doing in a single screener ??
ZigZag is very useful in determining Trend Up or Down from one Pivot to another.
So Once you have a firm view of the Current Trend for your chosen timeframe and ticker…

We can consider few possible trading scenarios..
a. Re-entry in an Up Trend - Combination of OS Rsi And a Lower Channel breach followed by a re-entry back into the regression channel CAN be used as an effective re-entry.
b. Similarily one can join a Down Trend on OB Rsi and Upper Channel line breach followed by re-entry into the regression channel.

If ZigZag signals a range-bound market, bound within channel lines then the Upper breakout can be used to Sell and vice-versa!
In short many possibilities for using these functions together with Scanner and Alerts.

This facilitates timely PROFITABLE Trending and Counter trend opportunities across multiple tickers.
You must give a thorough READ to the various available tutorials on ZigZag / Regression and Fib retracements before attempting counter trend trades using these tools!!

A small TIP – Markets are sideways or consolidating 70% of the time!!

Acknowledgements: - Thanks a lot DGTRD for the Auto ZigZag code and also for the eagerness to help wherever possible..Respect!!
Disclaimer: The Alerts and Screener are just few tools among many and not any kind of Buy/Sell recommendations. Unless you have sufficient trading experience please consult a Financial advisor before investing real money.
*The alerts are set for crossovers however for viewing tickers trading above or below the channel use code in line 343 and 344 after setting up the Alerts!
** RSI alerts are disabled by default to avoid clutter, but if needed one can activate code lines 441,442,444 and 445
Wish you all, Happy Profitable Trading!
Comments
sharaaU7
Wish you successful profitable trading!
sharaaU7
Important: Please note

*The alerts are set for crossovers however for viewing tickers trading above or below the channel use code in line 343 and 344 after setting up the Alerts!
** RSI alerts are disabled by default to avoid clutter, but if needed one can activate code lines 441,442,444 and 445
Any queries are always welcome!
santvss
Is it possible to add sorting feature to the table based on column values?
maximilyannus
emeğine sağlık
Ozmanaga
Muhteşem bir indikatör emeğinize sağlık teşekkürler
sharaaU7
@Ozmanaga, thanks ..enjoy!
masongrayjzz
Love it, nice work dude
choosen11sz
happy new year! I am extremely grateful to your work, sir. May I ask how can I create an alarm when zigzag is updated?
sharaaU7
@choosen11sz, avery happy new year to you too... zigzag is nothing but intermediate highs and lows connected together or in other words pivot highs and lows...use the recently published pivot screener keep both pivot and screener settings same for left and right. you will get an alert the from pivot screener whenever a new high or low is pivot is formed. both the screeners use TV inbuilt scripts and have the same logic..so you would get high accuracy of a new zigzag formation..
choosen11sz
@sharaaU7, thank you! I'll do that
More