Click here to Login








Stocks at All Time Highs/Lows

by QuantShare, 4817 days ago
Share |






This trading indicator detects whether a stock is trading at an all-time high or low. In this case, it returns 1, otherwise it returns 0. The function can also be used to detect all-time highs/lows of other time-series, technical analysis or fundamental indicator.

Screen for stock making new all-time highs:

- Select "Analysis" then "Screener"
- If you are in "Wizard" mode, set the following rule:
AllTimeHL(close, 1) equal to 1

- Otherwise, type the following formula:
var1 = close == 1;
filter = (var1);

Select your symbols, screen date and time frame then click on "Start" to begin the screening process.

You can add columns to the screener grid using the "AddColumn" function or by clicking on "Add Column" button.

Example:
AddColumn("Previous A.T. High", barssince(ref(var1, 1)));

This will create a new column that displays the number of trading bars since the previous all-time high.


Other Example of rules:

Stocks making a new all-time low then a new all-time high within the next three months:
rule1 = AllTimeHL(close, 1) and hhv(AllTimeHL(close, 0), 3 * 25);

Here is how to update the previous trading rule to discard the first 250 bars (year):
rule1 = AllTimeHL(close, 1) and hhv(AllTimeHL(close, 0), 3 * 25) and sum(1) > 250;

Stocks making new all-time highs with a big increase in volume:
rule2 = AllTimeHL(close, 1) and sma(volume, 2) > 4 * sma(volume, 20);

Stocks making new all-time lows with no gap down:
rule3 = AllTimeHL(close, 0) and !gapdown();


Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information




Type: Trading Indicator

Object ID: 1051


Country:
All

Market: Stock Market

Style:
Technical Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Basic trading system implemented using the money management tool

Example of a trading system implemented in QuantShare Software

Different periodicities and chart bar types in QuantShare Trading Software

Several money management strategies in a trading system

How to get buy and sell orders for a portfolio based on a trading system/strategy

How to combine long, short and custom portfolio strategies within a trading system

Step by step on how to get free realtime/delayed data for stocks, futures and currencies

Compare stocks and securities by creating a relative performance chart

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.