Click here to Login








Last Gap Up/Gap Down Price Size

by Tom Huggens, 3665 days ago
Share |


Using the "GapUp" and "GapDown" functions, it is easy to spot up and down gaps and tells on which bars these gaps have occurred. It is also very interesting to know the size of the gap.

First and for those who don't know what a Gap is; it is the price change between the high and low of two successive days on the bar where the today's low price is higher than yesterday's high price (This is for the definition of the gap up). The Gap down occurs when today's high price is lower than yesterday's low price.

There are several types of gap patterns (Common, Continuation, Breakaway and Exhaustion) and these patterns occur depending on whether the stock continues up or down after a Gap occurred.

The "GapUp" function in QuantShare allows you to detect bars where a stock is gapping up and the "GapDown" function is there to identify bars where a stock is gapping down. These two functions do not return the amount or size of the Gap. The size is defined differently for the Gap Up and Gap Down patterns. For the Gap Up pattern, it is the difference between the low price of the stock and the previous bar high price. For the Gap Down pattern it is simply the difference between the high price of the stock and the previous bar low price.

The current trading indicator returns the size of the Gap up or down that occurred during the previous N-Bars. This means that this function has one argument and this argument is there to define the lookback period that is used to search for gapping stocks. If the argument or parameter is set to zero then this function will returns Gap Sizes only on bars where these Gaps have occurred.

To distinguish between Gap Up and Gap Down, just look at the sign of the value returned by this indicator. If the value is positive then the recent Gap was a Gap up and if the sign is negative then the recent Gap was a Gap Down.




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




Type: Trading Indicator

Object ID: 677


Country:
All

Market: All

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
Show All
State Change Pattern in a Trading Rule (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 12 Notes Report an item
Alpha/Jensen index of a Security (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 22 Notes Report an item
TTF - The Trend Trigger Factor Indicator (by clonex, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 29 Notes Report an item
Plurality Index (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 8 Notes Report an item
SysEnSQN Indicator based on System Quality Number (by Dave Walton, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 14 Notes Report an item
FirstTradingDOM (by Dave Walton, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 12 Notes Report an item
Adaptive Strategy Indicator (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 29 Notes Report an item
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

How to search for a trading item

How to create market indicators using the composite function - Part 3

How to create market indicators using the composite function - Part 2

Create a Pivot Table that displays the Relative Strength Index - RSI

6 Stock Trading Items Related to the New York Stock Exchange - NYSE

Pivot Tables in QuantShare Trading Software

How to create market indicators using the composite function - Part 1

Optimize a trading strategy using the Sharpe ratio

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 2020 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.