Click here to Login

LiveZilla Live Help
LiveZilla Live Help
Trading Software Trading objects Features How-to Blog Search



Multiple Time Frames Trading System - Price / Moving Average Crossover

by QuantShare, 378 days ago
Share |






Here is a strategy I created to show you how to use multiple time frames in a trading system. The system is based on price crossover with its 10-Bar simple moving average. Although, no optimizations at all were done, the trading system has generated an annual return of 26.14%. It has a drawdown of -17.76%, a Sharpe ratio of 1.74, a Sortino ratio of 2.59 and 51.4% of the trades generated a profit (1205 trades). The backtest was based on U.S. Stocks (daily data - 2001-2011).

Trading System:
- Maximum Positions: 10
- Buy at tomorrow open

Here are the different buy rules:
- Liquidity: Price above $2 and the average daily volume in dollars is above $600,000.
- Daily time-frame: Price crosses above its 10-Bar moving average
- Weekly time-frame: Last weekly close price crosses above its 10-Bar moving average
- Monthly time-frame: Last monthly close price crosses above its 10-Bar moving average

Here is the exit/stop rule:
- Trailing stop at 5%

The crossover rule is performed using the "cross" function. To get the weekly crossover, I have used the "TimeframeApply" function. This function changes the current time frame then applies the provided variable/rule. It returns a compressed time-series (This means that the time-series is not adjusted to the current data/dates). The "TimeframeDecompress" adjusts this time-series to the current time frame. The easiest way to see how it works is to display the data on a chart.

Example:

week1 = TimeframeApply(7, close);
week1d = TimeframeDecompress(week1);

plot(week1, "", colorGreen);
plot(week1d, "", colorRed);


Share This ->
Share |


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




Type: Trading System

Object ID: 960


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
Show All
Wilder Volatility Index - Average True Range Trading System (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 33 Notes Report an item
Trading System based on the Previous Week SPY Return (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 17 Notes Report an item
Trading System based on the Linear Regression of the RSI Indicator (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 32 Notes Report an item
Pairs Trading Strategy (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 64 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 1561 Notes Report an item
Bollinger Bands + Market Timing 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 20 Notes Report an item
AGNC Trading System (by Pavel, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 23 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



Random Blog Posts

Trading System: Buy Stocks based on their Sharpe Ratio Rank

Creating and managing notes for your stocks

Create a Trading Strategy using Portfolio123 Ranking Systems

How to Quickly Create Fundamental Scans

Download Trading Data using the Post-Script

Download Trading Data using the Pre-Script

Download Trading Data using the URL-Script

Trading Items: Data Download using .Net Scripts

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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items