Screener Panel.
- This indicator displays a panel with a list of symbols and their indications.
- It can be used as a screener for multiple timess and symbols
- in any timeframe and with any indication in any combination.
#### Features - Multiple timeframes
- Multiple symbols
- Multiple indications per group
- Vertical or horizontal layouts
- Acceepts External Inputs
- Customizable colors with 170 presets included (dark and light)
- Customizable icons
- Customizable text size and font
- Customizable cell size width and height
- Customizable frame width and border width
- Customizable position
- Customizable strong and weak values
- Accepts any indicator as input
- Only 4 functions to call, easy to use
#### Usage - Initialize the panel with _paneel = cleanscreens.init()
- Add groupd with _screener = cleanscreens.Screener(_paneel, "Group Name")
- Add indicators to screeener groups with cleanscreens.Indicator(_screener, "Indicator Name", _source)
- Update the panel with cleanscreens.display(_paneel)
Thanks @ PineCoders , and the Group members for setting the bar high.
# local setup for methods on our script
init(_themein, loc)
โโ# Panel init
> init a panel for all the screens
โโParameters:
โโโโ_themein (string): string: Theme Preset Name
โโโโloc (int): int :
1 = left top,
2 = middle top,
3 = right top,
4 = left middle,
5 = middle middle,
6 = right middle,
7 = left bottom,
8 = middle bottom,
9 = right bottom
โโReturns: panel
method Screener(p, _name)
โโ# Screener - Create a new screener
### Example:
โโNamespace types: panel
โโParameters:
โโโโp (panel)
โโโโ_name (string)
method Indicator(s, _tf, name, val)
โโ# Indicator - Create a new Indicator
### Example:
โโNamespace types: screener
โโParameters:
โโโโs (screener)
โโโโ_tf (string)
โโโโname (string)
โโโโval (float)
method display(p)
โโ# Display - Display the Panel
### Example:
โโNamespace types: panel
โโParameters:
โโโโp (panel)
indication
โโsingle indication for a symbol screener
โโFields:
โโโโname (series string)
โโโโicon (series string)
โโโโrating (series string)
โโโโvalue (series float)
โโโโcol (series color)
โโโโtf (series string)
โโโโtooltip (series string)
โโโโnormalized (series float)
โโโโinit (series bool)
screener
โโsingle symbol screener
โโFields:
โโโโticker (series string)
โโโโicon (series string)
โโโโrating (series string)
โโโโvalue (series float)
โโโโbg (series color)
โโโโfg (series color)
โโโโitems (indication[])
โโโโinit (series bool)
config
โโscreener configuration
โโFields:
โโโโstrong (series float)
โโโโweak (series float)
โโโโtheme (series string)
โโโโvert (series bool)
โโโโcellwidth (series float)
โโโโcellheight (series float)
โโโโtextsize (series string)
โโโโfont (series int)
โโโโframewidth (series int)
โโโโborders (series int)
โโโโposition (series string)
icons
โโscreener Icons
โโFields:
โโโโbuy (series string)
โโโโsell (series string)
โโโโstrong (series string)
panel
โโscreener panel object
โโFields:
โโโโitems (screener[])
โโโโtable (series table)
โโโโconfig (config)
โโโโtheme (theme type from kaigouthro/theme_engine/1)
โโโโicons (icons)
Quick fixed the markdown shortcuts or local use, and an error in screener descript
Added:
method decorate(p, t)
โโNamespace types: panel
โโParameters:
โโโโp (panel)
โโโโt (varient type from kaigouthro/theme_engine/1)
Updated:
init(_themein, loc)
โโ# Panel init
> init a panel for all the screens
โโParameters:
โโโโ_themein (string): string: Theme Preset Name
โโโโloc (int): int :
1 = left top,
2 = middle top,
3 = right top,
4 = left middle,
5 = middle middle,
6 = right middle,
7 = left bottom,
8 = middle bottom,
9 = right bottom
โโReturns: panel
method Screener(p, _name)
โโ# Screener - Create a new screener
Example:
โโNamespace types: panel
โโParameters:
โโโโp (panel)
โโโโ_name (string)
method Indicator(s, _tf, name, val)
โโ# Indicator - Create a new Indicator
Example:
โโNamespace types: screener
โโParameters:
โโโโs (screener)
โโโโ_tf (string)
โโโโname (string)
โโโโval (float)
method display(p)
โโ# Display - Display the Panel
Example:
โโNamespace types: panel
โโParameters:
โโโโp (panel)
indication
โโsingle indication for a symbol screener
โโFields:
โโโโname (series string): name of the indication
โโโโicon (series string): icon name
โโโโrating (series string): rating
โโโโvalue (series float): value
โโโโcol (series color): color of the indication
โโโโtf (series string): timeframe
โโโโtooltip (series string): tooltip text
โโโโnormalized (series float): color value
โโโโinit (series bool): init
screener
โโsingle symbol screener
โโFields:
โโโโticker (series string): ticker name
โโโโicon (series string): icon name
โโโโrating (series string): rating
โโโโvalue (series float): value
โโโโbg (series color): background color
โโโโfg (series color): foreground color
โโโโitems (indication[]): list of indications
โโโโinit (series bool): init
config
โโscreener configuration
โโFields:
โโโโstrong (series float): strong value
โโโโweak (series float): weak value
โโโโtheme (series string): theme name
โโโโvert (series bool): vertical layout
โโโโcellwidth (series float): cell width
โโโโcellheight (series float): cell height
โโโโtextsize (series string): text size
โโโโfont (series int): font index
โโโโframewidth (series int): frame width
โโโโborders (series int): border width
โโโโposition (series string): position
icons
โโscreener Icons
โโFields:
โโโโbuy (series string): buy icon
โโโโsell (series string): sell icon
โโโโstrong (series string): strong icon
panel
โโscreener panel object
โโFields:
โโโโitems (screener[]): list of symbols
โโโโtable (series table): table object
โโโโconfig (config): config object
โโโโtheme (theme type from kaigouthro/theme_engine/1)
โโโโicons (icons): icons object
Dramatic speed increase.
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.
Penafian
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.