Click here to Login

Trading Software Trading objects Features How-to Blog Search



% bars in last N trading days where stock close price increased

by QuantShare, 593 days ago
Share |

Given the close price time series, this indicator calculates the percentage of bars, for each trading day and over a given lookback period, where the close price advanced (close price higher than yesterday's close price).
A value of 100% means that the stock or asset increased during all the previous bars within the lookback period. And a value of 0% means that the stock didn't advance in any bar within the lookback period.

The function name is "PerValueInc". It accepts two parameters:
Time series: The time series used to calculate the percentage of values that increased. The time series could be set to the close price or to any other time series or indicator.
Lookback: The lookback period used in the formula's calculation. A lookback period of 30 instructs the trading software to look for the previous 30 trading days and calculate the percentage of values that increased within this period. In order to perform the calculation on the available history data (all previous bars), you must specify a negative lookback period.

Example of some trading rules:

PerValueInc(close, 4) == 100
This formula detects stocks that have four consecutive increases in the close price

SearchFor PerValueInc(close, 4) == 0 then PerValueInc(close, 2) == 100 after 2 within 1
Search for stocks with a steadily decrease in four trading days followed by two consecutive increases in the close price.

PerValueInc(rsi(14), 30) >= 70
This formula detects stocks whose RSI increased at least 70% of the time during the previous 30 trading days.

PerValueInc(close, 3) == 100 AND PerValueInc(open, 3) == 0
Use this formula to search for three consecutive increases in the close price and three consecutive decreases in the open price.


Share This ->
Share |


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



>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.

>>>> To get this item and hundreds of other items, click here to join and download the Best Trading Software for Free .



No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 5 downloads Notes Report an item


Type: Trading Indicator

Object ID: 552


Country:
All

Market: All

Style:
Technical Analysis




Related Trading Objects



Country
Page 1
Trading the Equity Curve
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 4 Notes Report an item
Opening Range Breakout 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 3 Notes Report an item
Wilder's Smoothing - Moving Average
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 9 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









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


Forum Threads



Random Blog Posts

How to create your own technical analysis indicators

Create a stock index or a trading indicator using the composite tools

Create a trading strategy using the money management tool - Part 2

Create a trading strategy using the money management tool - Part 1

How to create a market timing system - Part 3

Correlation of market indicators

How to create a market timing system

Backtesting Process

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
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

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