Click here to Login








Moving Average Crossovers In the Past Trading Days

by Caleb, 5108 days ago
Share |






One way to discover stocks that are in a trading range and may move in one way or another in the coming days is to count the number of close and moving average crossovers over the previous days. For example, a stock that had four crossover during the last 10 trading days is certainly not a trending stock, but it may start an up or down trend if its share price breaks the support or resistance line. It is well known that often the best trends occur after a sideways market.

The Moving Average Crossover technical indicator returns the number of crossovers for a given past period. The indicator name is "MACross" and you are allowed to enter the lookback period that is used to calculate the simple moving average as well as the period to use to look for past crossovers. A crossover is detected when then close price crosses above or below the SMA. Crossover count is calculated using the "SUM" function, which is a function that sums the values of an array for the previous N-Bars.

One example of a trading rule using this technical analysis indicator is:
rule = MACross(10, 15) > 3;

This trading rule returns a signal if there are more than three crossovers between the close price and its 10-Bar simple moving average during the last 15 trading bars.


Share This ->
Share |


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




Type: Trading Indicator

Object ID: 839


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

How to Create a List of Ticker Symbols

QuantShare Version 2.1.0 - Trading Software

How to create a ratio indicator using QS Trading Software

Screening with the composite indicators

Synchronize Buy/Sell List of Rules in the Trading System Optimizer

QS Trading Software: Global Script

New Ranking and Percentile Composite Functions

QS Trading Software: Database Optimization

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 © 2024 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.