ShareScript Library

Welcome to the ShareScript Library.

Here you will find links to more scripts created by us and other members which can be downloaded and imported into your copy of ShareScope. Simply click on one of the category headings to display a list of available scripts.

Click here for instructions on importing ShareScript files into ShareScope.

Click here to download ShareScript Tutorials and Documentation.

If you would like to share a script with other users, please email an attachment and description of the script to contribute@sharescript.co.uk. Scripts will be checked by ShareScope Support before uploading to the Library.



ShareScript Columns

Remember, column scripts that return a numeric value can be used as Data Mining filters.

Technical Analysis Columns (40 scripts available) +
Name Description
% Change from Monthly 1st
(9 downloads)
Returns the % change from the 1st of the current month. If the 1st isn't a trading day, the previous trading day is used instead.
ADX + Additional Line
(14 downloads)
Draws the ADX and an additional line at a user specified level
ADX Value
(565 downloads)
Displays the latest ADX, DI+, DI- or ADXR values using either daily, weekly or monthly data.Displays the latest ADX, DI+, DI- or ADXR values using either daily, weekly or monthly data.
Annualised Trend
(59 downloads)
Returns the annualised slope of the trend expressed as a % of the latest close
Aroon
(159 downloads)
Returns the latest Aroon Up or Aroon Down value.
ATR value
(451 downloads)
Displays the latest ATR value using either daily, weekly or monthly data.
Average Daily Volume
(27 downloads)
Returns the current average daily volume (signal line) value for the Share. For use with Data-mining as this can be added as a price column in the program.
Awesome Oscilator Cross
(67 downloads)
Checks back a specified number of periods and returns 1 if the Awesome Oscilator has crossed 0 since then.
BandWidth
(274 downloads)
Displays the value of the difference between Bollinger Bands. The script returns the BB convergence expressed either as a % of the Close, as a % of theMA or as a % of the average HL spread.
Beta & Correlation
(163 downloads)
Displays the beta or correlation of a share against a selected index over a set period of time.
Better than Gold
(296 downloads)
Displays the share's relative strength against Gold(£). The relative strength is returned as the normalised distance from the 45 SMA, resulting in a rolling figure instead of a fixed one.
Bollinger Band Cross
(24 downloads)
Designed to be applied as an intraday alarm, this script uses the historical data, as seen on the historical graph, and assumes you have 'Include Latest Intraday price' ticked in Graph Design.
Buys Minus Sells
(140 downloads)
Returns the volume or value difference between the day's buys and sells.
Cross Finder
(121 downloads)
Identifies a number of classic technical crosses. NEW: added separate settings for golden/dead cross MA types.
Elder-Ray buy/sell signal filter
(531 downloads)
Returns 1 when the Elder-Ray indicator signals a buy, -1 when it signals a sell. Author: Kenneth Halley
First Price Date
(20 downloads)
Returns the date of the first price of a security in the format YYYY/MM/DD. This means you can sort the column eefectively. Useful for eliminating securities with short histories.
Friday change
(40 downloads)
Displays the change between the current close and last Friday's close. Thursday's close will be used if Friday is a bank holiday.
High minus Low MA
(134 downloads)
Displays the average difference between the High and Low
Ichimoku Cross
(95 downloads)
Finds crosses between Standard Line (Kijun Sen) and the Turning Line (Tenkan Sen) and checks to see if they have crossed, returns results of 1 and - 1 depending on whether it's a bullish or bearish cross.
Ichimoku Value
(259 downloads)
Displays the latest value of the various Ichimoku lines
Impulse System - Alarm
(55 downloads)
An alarm based on the Impulse System. The alarm will notify the user of any signal change in the Impulse System (Buy-->Sell, Sell-->Neutral, etc.)
Individual Stop Loss Values
(33 downloads)
Allows you to set individual stop-loss values, either as a percentage or a fixed pence/cent amount and the stop-loss start date and returns the current stop loss value.
Intraday Volume Greater Than ADV
(41 downloads)
Calculates the ADV based on a specified number of periods. Returns a 1 if the Intraday Volume becomes greater than the specified percentage above the ADV. Can be used as an alarm script.
MA Price Touch
(7 downloads)
Returns 1 if the share closed below the MA n days ago, then closed above at least once in the following days. Retuns -1 if the opposite happened.
MACD Value
(27 downloads)
Displays the latest MACD, signal or histogram value
Outside Bollinger Bands
(320 downloads)
Finds shares that are currently trading outside the top band or bottom band
Price Channel Breakout
(157 downloads)
Finds shares that have closed outside of the price channels
Price Crossing Kijun Sen
(82 downloads)
Calculates the the Kijun Sen and checks to see if the price has crossed it. Returns 1 and -1 for a bullish and bearish cross respectively.
Price minus MA
(86 downloads)
Returns the difference between the price and the moving average. The result can be displayed either as an absolute value or as a percentage.
Relative Strength
(444 downloads)
Shows if the share has outperformed the underlying stock over a set period of days
Relative Strength: New Highs-Lows
(332 downloads)
Shows if the relative strength against the underlying stock has reached new highs or lows
RSI Latest Value
(153 downloads)
Displays the latest RSI value using either daily or weekly data. Can be set to use the latest Intraday value as well.
Stochastic Oscilator latest value
(174 downloads)
Returns the latest value of either %K or %D. Allows you to set the periods, slowing and choose either daily or weekly data.
Trend Cross
(464 downloads)
Returns 1 if the high crossed above the top tend confidence line, -1 if the low crossed below the bottom conf line
Volatility
(96 downloads)
Returns the latest volatility value
Volume
(397 downloads)
The latest volume to use with DataMining
Weekly Elder-Ray filter
(400 downloads)
Generates buy-sell signals based on the weekly Elder-Ray indicator (see script comments for details)
Weekly H-L Filter
(89 downloads)
Finds shares that are trading higher than last weeks high or lower than last week's low.
Weighted RSI
(249 downloads)
An RSI based on weighted average monthly price changes.
William's %R
(287 downloads)
Returns the latest value of William's %R indicator

Back to the top
Fundamentals Columns (20 scripts available) +
Name Description
10-year annualised return
(76 downloads)
Displays the 10-year annualised percentage return
3-year annualised return
(35 downloads)
Displays the 3-year annualised percentage return
5-year annualised return
(80 downloads)
Displays the 5-year annualised percentage return
Capitalisation vs Pre Tax Profits
(45 downloads)
Returns 1 if the Market Capitalisation is less than the Pre Tax Profits multiplied by a given value (the default is 15)
CashFlow / EPS
(324 downloads)
Cash Flow divided by EPS (historical)
EBIT
(55 downloads)
Calculates Earnings Before Interest & Tax
Enterprise Value
(67 downloads)
Calculates the Enterprise Value (Capitalisation+Net Borrowing) of a share
EPS Growth %
(76 downloads)
Returns the Rolling PE2/Rolling PE1 expressed as a percentage
EV/EBITDA
(7 downloads)
Enterprise Value over Earnings before Interest, Tax, Depreciation and Amortisation
FTSE Weight
(19 downloads)
Returns a share's weight in the chosen FTSE index.
Net Borrowing vs Pre Tax Profit
(42 downloads)
Returns 1 if the Net Borrowing is less than the Pre Tax Profits multiplied by a given value (the default is 3)
Next Dividend Date
(29 downloads)
Displays the next confirmed or estimated ex-dividend or pay date.
Next Dividend Date
(0 downloads)
Displays the next confirmed or estimated ex-dividend and pay dates
Premium/Discount to NTAV
(487 downloads)
Is the share trading at a premium or discount to tangible NAV?
Rolling P/E 3
(192 downloads)
A Rolling P/E calculated using the three year projected EPS and the latest close
Sector P/E
(306 downloads)
Returns the share's sector P/E Ratio.
Sector P/E (Projected)
(83 downloads)
Returns the share's projected sector P/E Ratio.
Trailing EPS
(175 downloads)
The latest trailing EPS calculated using the last two reported half year results.
Trailing Yield
(192 downloads)
The latest trailing Yield calculated using the last two reported half year results.
WMA of EPS growth
(351 downloads)
Weighted MA of the last 5 results & up to 3 forecast years of EPS growth. Gives a lower weighting to older growth and to forecast growth.

Back to the top

ShareScript Indicators:


Technical Analysis Indicators (43 scripts available) +
Name Description
ADX + Additional Line
(20 downloads)
Draws the ADX and an additional line at a user specified level
BandWidth
(439 downloads)
Displays the value of the difference between Bollinger Bands. The script returns the BB convergence expressed either as a % of the Close, as a % of theMA or as a % of the average HL spread.
Bollinger %b
(58 downloads)
Bollinger Band %b indicator. %b = (close - lowerBand) / (upperBand - lowerBand). 1 and 0 are respectively the overbought and oversold levels.
Bollinger Band Histogram
(106 downloads)
Adds a Histogram Indicator that represents the difference between the Upper and Lower Bollinger Bands
CMF
(31 downloads)
Chaikin Money Flow Indicator
Elder Ray Bear Histogram
(332 downloads)
Similar to the Elder-Ray indicator, this script only returns the Bear line. Script modified by Kenneth Halley
Elder Ray Bull Histogram
(310 downloads)
Similar to the Elder-Ray indicator, this script only returns the Bull line. Script modified by Kenneth Halley
Elder's Auto Envelope
(386 downloads)
From Alexander Elder's book "Sell & Sell Short". Envelope channels provide attractive profit targets - sell longs near the upper channel line and cover shorts near the lower channel line.
End of Day Compare
(134 downloads)
Calculates the difference or the ratio between the share and the selected base share. A different base share can be set for each graph as the script memorises pairs of shares separately.
Exponential MA plus ATRs
(40 downloads)
Draws an exponential MA and then six additional lines which represent the MA+ 1ATR, -1ATR, 2ATRs, -2ATRs, 3ATRs, -3ATRs. Should be added to the graph via Other Main Graph Features.
Fibonacci Bands
(146 downloads)
Adds an EMA with 3 pairs of bands calculated based on an EMA of the True Range
Fisher Transform
(465 downloads)
Transforms price to normal distribution and makes it easier to see cyclic turns.
Fixed Relative Strength
(49 downloads)
Returns the relative strength of the share against the chosen share or index. The starting point is fixed and will not rebase when zooming.
Hull Moving Average
(543 downloads)
An indicator (designed to be added to the main graph) which plots a 16-period Hull Moving Average.
Impulse System
(1130 downloads)
Use on main graph - Green: buy signal - Red: sell signal
Intraday Compare
(91 downloads)
Calculates the difference or the ratio between the share and the selected base share
Intraday TICK & TRIN
(134 downloads)
Displays the intraday TICK or TRIN of a list of shares. Note: the script will only work on graphs that share the same market hours as the selected list (the FTSE100 TRIN can't display on a NASDAQ graph). Because the script requires a few seconds to calculate, the line may take a few moments to draw
Intraday VWAP
(45 downloads)
Calculates VWAP using all the intraday data available up to that moment in time.
Momentum MA
(73 downloads)
A Momentum indicator and its signal.
Momentum Pinball
(341 downloads)
An RSI indicator based on the daily change
New Highs/Lows
(53 downloads)
Returns the 250 trading day New Highs/Lows market graph with separate histograms for the new highs and new lows.
PivotPoint Moving Average
(479 downloads)
A moving average based on Pivot Points instead of close prices
Quad Average Indicator
(29 downloads)
Draws a line from the average of four MAs which are related on the basis x, x*2, x*4, x*8. The standard setting uses MAs of 3, 6, 12, 24. The idea being to smooth out dominant cycles within the data.
Rel Str Indicators
(44 downloads)
Chose between 4 outputs: an share's relative strength against a chosen index, the rel str. plus its MA, an RSI based on the rel str or a MACD based on the rel str.
Relative Volatility Index
(284 downloads)
The RVI uses the same formula as the RSI, but uses the standard deviation of the high and the low prices instead of the average upward and downward daily movement.
Rolling Relative Strength
(59 downloads)
Returns the relative strength of the share against the chosen index. The starting point rolls forward as the days progress, so every point displays the RS over the same fixed number of days.
RSI
(43 downloads)
A standard RSI indicator with editable overbought and oversold levels.
RSI Bands
(344 downloads)
Two bands indicating what price the share needs to reach in order for the RSI to cross 70 (top band) or 30 (bottom band). Add this indicator to the main graph.
RSI signal
(117 downloads)
An RSI (Wilder) indicator with a simple moving average signal.
SMA divergence
(323 downloads)
Price divergence from the 100 SMA as used by Tom Hougaard to identify extreme moves away from trend. Author: Kenny Halley
Stochastic Oscillator
(67 downloads)
Draws the Stochastic Oscillator. Also alows two additional lines to be drawn at user defined levels.
TEMA
(32 downloads)
Triple exponential moving average
Tillson T3
(34 downloads)
Tillson's T3 moving average as described by Tim Tillson in the January 1998 issue of Technical Analysis of Stocks & Commodities article "Smoothing Techniques for More Accurate Signals"
Trailing Stop 1
(703 downloads)
Trailing Stop based on a multiple of ATR (to be added on the main graph window). Script author: Roger Harmer
TTM Squeeze
(185 downloads)
John Carter's TTM Squeeze Indicator implemented. Bollinger Band MA Period=20, Std Dev=2. Keltner Band MA Period=10. Entry signal is when we come out of the period of consolidation (red background). Long or short is given by direction of momentum using histograms. Exit signal is when histogram colour bars change to darker colours (2 darker bars). (Author: David Cash)
Turtles System 2
(2397 downloads)
System 2 - from Curtis M. Faith's "Way of the Turtle"
Twigg Money Flow
(75 downloads)
Trend Indicator based on Volume and recent position of close relative to ATR, it can be used as an alternative to the Chaikin Money Flow indicator. (Author: Roger Harmer)
Volume ROC
(30 downloads)
Rato of Chage indicator and signal based on volume data.
VWAP
(20 downloads)
End of day VWAP. Volume Weighted Average Price: a moving average of the close weighted by volume.
VWMACD
(86 downloads)
Volume Weighted MACD indicator. The indicator is calculated as a standard MACD, with more weight given to days with a higher volume. (Author: Roger Harmer)
Weekly/Monthly Pivot Points
(150 downloads)
Allows weekly or monthly Pivot Points to be displayed on a daily graph.
Zero lagging TEMA
(202 downloads)
Two zero lagging triple exponential moving averages of the typical price and the Heikin-Ashi close. Add to main graph.
ZLTCD
(1 downloads)
Zero lagging triple exponential moving average convergence divergence. Similar to the MACD, but uses zero lagging TEMAs of the typical price and the Heiken-Ashi close instead of EMAs.

Back to the top
Fundamentals Indicators (3 scripts available) +
Name Description
P/E Graph
(162 downloads)
An indicator of share's PE ratio calculated using year-end EPS
PEG Graph
(281 downloads)
An indicator of the share's PEG calculated using P/E and one year forecast EPS growth.
Yield Graph
(223 downloads)
An indicator of share's yield calculated using year-end dividends.

Back to the top

ShareScript Studies:


Technical Analysis Studies (7 scripts available) +
Name Description
2h Bars
(79 downloads)
Displays 2 hour bars on a Forex intraday graph. Please note that in order to avoid slowing ShareScope down too much, the script only updates when a new currency is selected
Consecutive Candles
(14 downloads)
Highlights consecutive up/down/inside/outside days. The number of consecutive days and the various colours can be set in the dialog box.
Darvas Boxes
(23 downloads)
Draws Darvas Boxes on the main graph.
Heiken Ashi Candles
(95 downloads)
Displays Heiken Ashi Candles on the graph.
Quick Change MA
(123 downloads)
Allows you to set the parameters for up to 5 separate MAs and change between them without reverting back to the MA dialog in ShareScope. Now includes a built in reset button.
Raff Regression Channels
(129 downloads)
A trend line with channels based on the largest difference between the trend line and either the high/low or the close
Vertical Lines
(135 downloads)
Allows you to draw upto 10 vertical lines on a graph, these are persistant so if you change share/zoom in etc they remain fixed in place by date.

Back to the top
Fundamentals Studies (0 scripts available) +
Name Description

Back to the top

ShareScript Tools:


Tools (6 scripts available) +
Name Description
Export DDE table
(36 downloads)
This tool creates an excel file with DDE closing price links for each share in a portfolio.
Index P/E
(75 downloads)
Displays the P/E Ratio of a number of indices.
Intraday Export
(32 downloads)
Exports intraday OHLCV data to a csv file with the share's EPIC code. The script allows for either mid or trade data to be used. The file is located in ShareScope/ShareScript/Output/.
Portfolio Optimisation
(74 downloads)
Creates a correlation matrix in a spreadsheet for Markowitz mean-variance portfolio optimisation
US list autofill
(10 downloads)
Creates a text file that can be readily imported into a SS portfolio from a csv file of US epic codes, by adding the correct exchange code in front of each share. File added to the Output folder.
Weekly Data Export
(33 downloads)
Exports weekly data to a file with the share's EPIC code. The file is located in ShareScope/ShareScript/Output/.

Back to the top

Back to ShareScript homepage