Click here to Login








Trending Up/Down using Ten Moving Averages

by MikeMM, 2227 days ago
Share |






This indicator tells you whether a security is trending up or down based on ten moving averages (instead of just one). This is accomplished by calculating ten moving averages with different periods (20, 40, 60 ..., and 200) and then comparing them with the close price. For each trading bar, it loops through the different moving averages and adds one to a variable each time the close is higher that a moving average. In other words, this technical analysis indicator returns the number of moving averages that are currently below the close price.

The indicator value oscillates between 0 and 10 where:
A value of zero indicates that the stock is trading below these ten moving averages and therefore it is trending down.
A value of ten indicates that the stock is trending up and that it is trading above all the short-term, medium-term and long-term moving averages.

Function Info:
The function is parameterless and its name is "closeMA".

Trading Rule Example:
rule1 = (closeMA() == 10) and (high == hhv(high, 250));

This rule generates a signal when a stock is trending up (price above ten moving averages) and is making a new year high at the same time.


Share This ->
Share |


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




Type: Trading Indicator

Object ID: 1082


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

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

Day Trading: A trading system that combines intraday and EOD data

Intermarket Analysis - Correlation and Trading Strategies

How to choose which technical indicators to use in your trading system

4 indicators to create adaptive trading systems

How to create buy and sell trading rules based on News Data

3 ways to rank stocks in a trading system - Simulator and Potfolio

4 original breadth indicators you should consider in your market timing strategy

Basic trading system implemented using the money management tool

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