Click here to Login

Trading Software Trading objects Features How-to Blog Search



Moving Average Ratio

by The trader, 642 days ago
Share |

The percentage of stocks that trade above their moving average is a popular measure of market sentiment. When a higher number of stocks trade below their moving average, the indicator value decrease and traders consider this as a bullish sign and expect a rally to occur in the coming days.

The moving average ratio is a market indicator; it is the ratio of the percentage of stocks that trade above their 50-day moving average (medium term) to the percentage of stocks that trade above their 150-day moving average (long term).

Buy signals occur when the moving average ratio falls below a threshold. The threshold should be chosen depending on the market you are trading and the periods used to calculate this ratio.
You may use the rules analyzer to simulate or backtest this market indicator and choose the appropriate threshold.

Note that a filter is applied to this composite; the filter instructs the application to consider only stocks that have a 30-bar simple moving average volume higher than 10000 shares.

This filter as well as the periods used to calculate the moving averages could be easily changed.
The item first creates two composites using the "AddComposite" function.
AddComposite("above_50", close > sma(50), _CompAverage);
AddComposite("above_150", close > sma(150), _CompAverage);

It then creates a filter by associating a rule to the "filter" variable:
filter = sma(volume, 30) > 10000;

Finally, a script loops through the above composites and divides the percentage of stocks trading above their 50-day moving average by the percentage of stocks trading above their 150-day moving average.


Share This ->
Share |


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



>>>> 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 10 downloads Notes Report an item


Type: Composite Index

Object ID: 466


Country:
United States

Market: Stock Market

Style:
Technical Analysis




Related Trading Objects



Country
Page 1
Index Investment Data for U.S. Futures ..
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 2 Notes Report an item
Commitments of Traders Report for Finan..
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
VIX Volatility Index Statistics per Day..
by Mike, 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
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
Show All
Percentage of Stocks that are trading between their 50 and 200-day Moving Averages (by Brian Brown, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 6 Notes Report an item
Percentage of Stocks Outperforming the S&P 500 Index (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 6 Notes Report an item
Ratio of stocks trading above their moving average plus one standard deviation to... (by Patrick Fonce, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 7 Notes Report an item
Moving Average States Indicator (by Caleb, 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
Hull Moving Average Strategy - Multi Time Frame Trading System (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
U.S. Stock Market (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 853 Notes Report an item
Historical Stock Market Data (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 1300 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


Forum Threads



Random Blog Posts

How to create a market timing system

Backtesting Process

Trading software new features

Money Management: Optimize a trading system

Optimization of a trading system

How to create custom databases in your trading software

Technical Analysis Using Multiple Timeframes - Second Part

New features in QuantShare - Trading Software

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