APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Stock Market Momentum Model
written by Matthew Mohorn
The Stock Market Momentum Model uses the change in price to predict a future change. In trading jargon, this change in price is referred to as momentum. Mathematically, the model can be considered to be a causal high pass filter of degree 1.

In this model,  the user can analyze the momentum indicator response as it relates to the daily closing price of a few popular stock indices.  The upper plot shows the closing price and a smoothed price (in blue) if the filter is turned on. The lower panel is the momentum indicator. Users can drag a cursor left and right to compare values on these two graphs. Below, the cursor is dropped at a point where the momentum shifts from negative to positive values, which happens to be the beginning of a bull market. A trader would want to buy at these opportunities and sell when the momentum becomes negative. Time is measured in years and in each year there are approximately 253 business days.

Please note that this resource requires at least version 1.6 of Java (JRE).
1 source code document is available
Subjects Levels Resource Types
Mathematical Tools
- Numerical Analysis
- Statistics
- Upper Undergraduate
- Lower Undergraduate
- Instructional Material
= Simulation
Intended Users Formats Ratings
- Learners
- Researchers
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Matthew Mohorn
Record Cloner:
Metadata instance created April 16, 2013 by Wolfgang Christian
Record Updated:
June 12, 2014 by Andreu Glasmann
Last Update
when Cataloged:
April 15, 2013
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
M. Mohorn, Computer Program STOCK MARKET MOMENTUM MODEL (2013), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279).
M. Mohorn, Computer Program STOCK MARKET MOMENTUM MODEL (2013), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279>.
APA Format
Mohorn, M. (2013). Stock Market Momentum Model [Computer software]. Retrieved July 12, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279
Chicago Format
Mohorn, Matthew. "Stock Market Momentum Model." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279 (accessed 12 July 2024).
MLA Format
Mohorn, Matthew. Stock Market Momentum Model. Computer software. 2013. Java (JRE) 1.6. 12 July 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279>.
BibTeX Export Format
@misc{ Author = "Matthew Mohorn", Title = {Stock Market Momentum Model}, Month = {April}, Year = {2013} }
Refer Export Format

%A Matthew Mohorn %T Stock Market Momentum Model %D April 15, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279 %O application/java

EndNote Export Format

%0 Computer Program %A Mohorn, Matthew %D April 15, 2013 %T Stock Market Momentum Model %8 April 15, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12720&DocID=3279

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in a shared folder.

You must login to access shared folders.

Stock Market Momentum Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Stock Market Momentum Model.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book