Click here to Login





                                                   Trendlines

  0

0
Obuli Govindaraju
2012-07-07 16:37:49


I am looking to build a trading system using trendlines. So the buy rule will be something like if a High to High trendline breaks then buy.
Sell rule will be if low to low trendline breaks then sell.

I will buy more when there is a bullish candlestick pattern forms at the touch of a low to low trendline. Similar rule for sell as well.

Is it possible to create such a trading system? If so how do I programmatically draw trendlines and use it in simulation.



Juliettpapa
2012-07-07 18:05:25

  0

What about using linear equations? ;-)

By the way: are you really convinced that one can write an automatic system using trend lines? Have never heard of that. Trend line trading is the godfather of dicrete trading.

Regards
juliettpapa



QuantShare
2012-07-07 21:46:13

  0

Best Answer
You should take a look at the following article:
http://www.quantshare.com/sa-437-detect-chart-patterns-using-the-auto-support-resistance-indicator

To use trendlines in backtesting you should use "AutoSR(2, ...)" for support line and "AutoSR(3, ...)" for resistance line.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Trendline
Ascending, Descending and Symmetrical Triangle Chart Patterns
Wilder Volatility Index - Average True Range
Ratio of stocks trading above their moving average plus one stand...
Adaptive Trading System - Percent Winning Trades for the Last N-D...

How-to Lessons
How to improve the performance of QuantShare databases?
How to create a hatched area in a chart
How to import trades into a portfolio
How to set order type of a trading system programmatically
How to create a Monte Carlo simulation

Related Forum Threads
Saving trendlines
weekly/daily trendlines
linked trendlines
Basic charting behavior queries
Reading chart drawings parameters possible?

Blog Posts
Backtesting chart patterns using the auto support and resistance ...
Detect chart patterns using the auto support/resistance indicator
New features in QuantShare - Trading Software
Historical volatility estimators
Creating a download item: Initial Jobless Claims









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.