A financial time series often moves in what can be thought of as a channel. Determining where a price or indicator is relative to that channel can be a powerful signal or indicator.
This function takes two inputs: The first, the data array (time series) which could be...
No notes
|
Indicator
Medium
|
| |
To help the QuantShare community make use of the 565 function and to illustrate the application of Rules Manager, we have created a Price Channel Position rule list.
The Price Channel is designed to measure where price is within the range of the channel look back period, expressed as a percentage...
No notes
|
Rules
Medium
|
| |
The Demand Index is a technical indicator that tries to lead price changes using price and volume data. The indicator was developed by Hames Sibbet.
The demand index formula requires several parameters:
Price: A time series that is usually set to the close price, midpoint or high plus low divided by two.
Constant:...
No notes
|
Indicator
Medium
|
| |
To update your quotes database in a few minutes and even seconds, this Daily Stock Quotes trading object quickly downloads the latest stock prices, from the Yahoo server, for companies listed on US and international Stock Markets. It can be used daily when your quotes database is missing the last...
No notes
|
Downloader
Medium
|
| |
This function is an enhancement to the chande_trendscore function added by "The Trader". You can read more about the origin, purpose and behaviour of the function here: 317
This version adds 3 enhancements to the original function.
1) It accepts a symbol as a parameter. This is desirable in conditions...
No notes
|
Indicator
Medium
|
| |
The Fibonacci retracement indicator returns a value indicating whether there is a support or resistance near the current stock price. Five different retracement levels or numbers are used: 0%, 38.2%, 50%, 61.8% and 100%.
When calculating the Fibonacci retracement levels, if the highest stock value occurs before the lowest value, then...
No notes
|
Indicator
Medium
|
| |
This object will do a full download of the historical analyst buy and sell recommendations available on yahoo, and store in a local database (yahoo_analyst_ratings). The rating firm, upgrade/downgrade indicator, the past rating and the current rating are all stored. In addition, the downloader contains a function that...
No notes
|
Downloader
Medium
|
| |
This function utilizes the historical analyst buy/sell recommendations, downloadable from yahoo by 641, to provide the current numeric rating for a stock. Ratings provided by various firms to a standard numeric score between 5 and 1, where 5 is a strong buy and 1 is a strong sell. ...
No notes
|
Indicator
Medium
|
| |
There is a special candle that has no real body to speak of and is called the doji. The close of this candle is at exactly the same price as the close. Doji formations help confirm reversals. There are different names and nuances associated with certain dojis, such as the...
No notes
|
Watch List
Basic
|
| |
This function utilizes the historical analyst buy/sell recommendations, downloadable from yahoo by 641, to provide the previous numeric rating for a stock. Ratings provided by various firms to a standard numeric score between 5 and 1, where 5 is a strong buy and 1 is a strong sell. 0 is...
No notes
|
Indicator
Medium
|
| |
This function utilizes the historical analyst buy/sell recommendations, downloadable from yahoo by 641, to determine how long it has been since an analyst rating has been provided for a stock. This function can be useful in trading algorithms in determining a confidence value for the rating (the longer its...
No notes
|
Indicator
Medium
|
| |
This function utilizes the historical analyst buy/sell recommendations, downloadable from yahoo by 641, to provide the current numeric rating for a stock. Ratings provided by various firms to a standard numeric score between 5 and 1, where 5 is a strong buy and 1 is a strong sell. ...
No notes
|
Indicator
Medium
|
| |
The Gold-Silver Ratio measures the number of ounces of silver it takes to buy one ounce of gold. The Gold-Silver Ratio current value is near 62; it used to be 51 in 2007 and 12.5 in 323 BC.
The Gold Silver ratio is not well known for the average trader; however...
No notes
|
Downloader
Medium
|
| |
"GetData" is the main function that allows you to access custom databases data. It lets you retrieve an item value, from an intraday or historical database, that occurred within the current bar.
Let us say we have a custom database that contains fundamental data. One field in this database is called...
No notes
|
Indicator
Medium
|
| |
Located in Mumbai, India, The National Stock Exchange (NSE) is one of the biggest stock exchanges in Asia. Using this item, you can download historical intraday data of companies listed on NSE. After you have downloaded this item, instruct the application to retrieve one-minute intraday data for one or several...
No notes
|
Downloader
Medium
|
| |
Intraday data for major stock markets downloads historical one-minute intraday data for the current day (real-time for some exchanges) as well as several days in the past. It can download data for more than 25 stock exchanges including the Australian Stock Exchange, Bombay Stock Exchange, Canadian Venture Exchange, Toronto...
No notes
|
Downloader
Medium
|
| |
Ichimoku Kinko Hyo, which means "one glance equilibrium chart", is a charting technique developed in late 1930s by Japanese journalist, Goichi Hosoda. The Ichimoku technical analysis technique was made available to the general public in 1960.
Ichimoku is used to detect trends by creating five lines calculated using the midpoint of...
No notes
|
Indicator
Medium
|
| |
This Fractal dimension indicator is based on fractal analysis and Chaos theory and it was developed by John Ehlers and Ric Way. This trading indicator was introduced in the article "Fractal Dimension As A Market Mode Sensor" in the Stocks & Commodities magazine and it is a modified version of...
No notes
|
Indicator
Medium
|
| |
An earnings surprise is when a company reports an earnings number that is not expected by analysts. In other words, an earnings surprise occurs when the earnings per share (EPS) is not in-line with the consensus estimates. The earnings may exceed, be in-line or below the consensus estimates. Usually, an...
No notes
|
Downloader
Medium
|
| |
This Saudi Stock Exchange EOD Downloader gets one year of historical data for all stocks listed on the Tadawul Exchange. A total of 162 stocks and indices are downloaded; the list includes for example: Riyad Bank, Bank Al Jazira, Yanbu Cement Co., Fitaihi Holding Group, Saudi Basic Industries Corp., Saudi...
No notes
|
Downloader
Medium
|
| |
Using a single (although not basic) trading rule, the current trading strategy gained more than 27% per year for the last 10 years. The strategy consists of buying falling stocks or the top five stocks with the highest decrease in price compared to the last five trading days moving average.
The...
No notes
|
Trading System
Medium
|
| |
The Sharpe Ratio is the first measure I look at when analyzing and assessing a backtest results. It is a simple and quick way to measure the performance of a trading strategy.
While this ratio is often used to measure the excess return per unit of risk of an investment or...
No notes
|
Trading System
Medium
|
| |
The Forecast Oscillator is a technical indicator that compares a security close price to its time series forecast. The time series forecast function name is "tsf" (already implemented in QuantShare) and it calculates the projection of the price trend for the next bar.
The Forecast Oscillator and therefore the time series...
No notes
|
Indicator
Medium
|
| |
This is a variation of the 120. The indicator contains an additional parameter that lets you define a minimum number of trades threshold.
The Buy Indicator performs for each bar a simulation or backtest and returns the average return/performance of the strategy defined in the rule and N-Bar stop parameters. For...
No notes
|
Indicator
Medium
|
| |
Calculates the covariance of two numeric arrays. Similar to the covariance function in excel. The following description is taken from ehow:
Covariance is a measurement of how related the variances between two variables are. If the two variables both tend to increase together, it is a positive covariance,...
No notes
|
Indicator
Medium
|
| |
The beta is a common metric used in evaluating stocks.
From money-zine:
"Perhaps the single most important measure of stock risk or volatility is a stock's beta. It's one of those at-a-glance measures that can provide serious stock analysts with insights into the movements of a particular stock relative...
No notes
|
Indicator
Medium
|
| |
Here is a strategy I created to show you how to use multiple time frames in a trading system. The system is based on price crossover with its 10-Bar simple moving average. Although, no optimizations at all were done, the trading system has generated an annual return of 26.14%. It...
No notes
|
Trading System
Medium
|
| |
The Hull Moving Average is based on several weighted moving averages. In an attempt to create a more responsive MA and reduce the lag problem that is inherent to most moving averages, the HULL indicator returns a much faster and smoother moving average.
The Hull Moving Average was first introduced by...
No notes
|
Indicator
Medium
|
| |
This drawing object helps you to plan a trade. It is useful for long-term traders who want to plan a trade with entries (max 2), target and stop. This drawing shows you the planned entries, target and stop. It shows you if and when the trades are triggered and how...
No notes
|
Drawing Tool
Medium
|
| |
This trading system ranks the 10-bar rate of return of iShares ETFs that represent the top US industries then buys the ETF that have the lowest return. When the ranking system returns another ETF then the strategy sells the previously purchased exchanged traded fund and buys the first ranked one.
The...
No notes
|
Trading System
Medium
|
| |
Pivot System price levels act as potential support and resistance zones throughout the day. They serve as focal points for floor professionals as they adjust their bids and offers, especially when trading activity is slow. The use of these values, along with tape reading skills and candlestick pattern recognition can...
No notes
|
Indicator
Medium
|
| |
Relative Performance indicator compares the rate of price change (return) of two or several assets and plots the performance of each asset on the chart.
Relative Performance/Strength chart displays percentage changes and compares the return or price changes of different assets or securities. You can use it, for example, to quickly...
No notes
|
Indicator
Medium
|
| |
The correlation filter money management strategy analyzes each incoming order and measures its correlation with each opened position in your portfolio. If the correlation between the new order symbol and a portfolio symbol is higher than a specific threshold (definable and optimizable in money management inputs) then the order is...
No notes
|
Money Manag.
Medium
|
| |
The "RandomMonths" function picks months depending on a percentage value passed to this function. If you specify 100% then the function returns TRUE for all months, if you specify 50% then the function returns TRUE for half of the months and if you specify 0% then the function returns FALSE...
No notes
|
Indicator
Medium
|
| |
This function uses the percent rank and moving average indicators in addition to the close, high, and low series to generate an oscillator that is bounded between 0 and 100.
Here is how the calculation of this technical indicator is performed:
First, it calculates the close relatively to the high/low range
Then it...
No notes
|
Indicator
Medium
|
| |
Yesterday, I have shared an indicator called 1080. Today, I am sharing a trading system based on it.
Although, the different backtest reports of this trading system show great results, with an annualized return often higher than 40% and a Sharpe ratio above 0.8, the drawdown is still high and...
No notes
|
Trading System
Medium
|
| |
The Bollinger bands squeeze is a volatility indicator that tries to determine periods of low or high volatility in a price series. This technical indicator signals only the timing, not the direction of the trade, and for this reason, it must be used in conjunction with other technical or fundamental...
No notes
|
Indicator
Medium
|
| |
This function implements Thomas DeMark's TD Sequential Indicator. There are many different versions of this indicator with different rules and many nuances. Not all are implemented here. For more detail you should add to the code.
This function accepts two arguments, a number and a string.
TDSequential(0,"") - Returns the count...
No notes
|
Indicator
Medium
|
| |
After adding this money management script to your trading system, you will be able to display the benchmark return in the simulation report table and the benchmark time-series in simulation graphs. This allows you to compare your strategy equity or rate of return against a benchmark such as a market...
No notes
|
Money Manag.
Medium
|
| |
This script adds two columns, entry price and exit price, in the "Trade -> Realized trades" table of the simulation report. Entry price refers to the execution price of the buy or short order and the exit price refers to the execution price of the sell or cover order. For...
No notes
|
Money Manag.
Medium
|
| |