Click here to Login

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

This item is a Trading Indicator. % bars in last N trading days where stock close price increased was developed by QuantShare on June 24, 2010.
The implementation of this Technical Analysis indicator necessitated 31 lines.
The function is called 'PerValueInc' and it is implemented using C#.
It gets 2 variables. The different arguments are:
Vector (Type: Number - Default Value: close): Time Series. Example: close
Lookback (Type: Number - Default Value: 5): Lookback period

p = PerValueInc(close, 5);

To show the trading indicator on a chart:
Plot(PerValueInc(close, 5), "% bars in last N trading days where stock close price increased", colorRed);

Future and Past Bars:
The function does not require future bars. It necessitates no old bars.

Click on this link to download % bars in last N trading days where stock close price increased

Search terms used to find this trading item include CLOSE PRICE IS HIGHER THAN PREVIOUS, fisher technical indicator

The trading object is saved under the following categories: Technical Analysis

Trading Indicators:
Strategy Indicator - Percent winning trades for a trading rule
Percentile - Percent Rank of a Trading Indicator
Dynamic Zones RSI - Technical Indicator
Fisher Transform - Technical Indicator
Better Volume Indicator
Vortex Oscillator
KST indicator
String To Number
Accumulation Swing Index
Date Filter
Weighted Linear Regression, Slope
Weighted Linear Regression
Directional Trend Index
Percent Bollinger Bands
Relative Volatility Index
Haurlan Index
Dave's New System - DNS
Dynamic Momentum Index
Darvas Box Indicator
Z-Score (Standard Score)

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

Related objects


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

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2023
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.