Click here to Login





                                                   Longterm trending Stocks

  0

0
Thomas
2012-04-28 05:53:34


Hello,

can the Qantshare Stockscreener be used to find longterm trending stocks like SBUX?

The critera would be:

1) Stock is within 5% of 2 Years-High
2) It increased at least 10% every 6 month during the last 2 Years.

Best Regards

Thomas



QuantShare
2012-04-28 06:45:57

  1

Best Answer
Hello Thomas,

Yes of course, QuantShare can find these stocks.

Here is the formula:

barsPerMonth = 25;
hhv2 = hhv(close, barsPerMonth*24); // High close price for the last 2 years
dishigh = ((hhv2 / close) - 1) * 100; // Distance from highest (%)
rule1 = dishigh < 5;

perf6M = perf(close, barsPerMonth*6); // 6-month return
perf6M_0 = perf6M > 10;
perf6M_1 = ref(perf6M, barsPerMonth*6) > 10; // ref: reference 6-month return 6 months ago
perf6M_2 = ref(perf6M, barsPerMonth*12) > 10;
perf6M_3 = ref(perf6M, barsPerMonth*18) > 10;
rule2 = perf6M_0 and perf6M_1 and perf6M_2 and perf6M_3;

filter = rule1 and rule2;


You may also want to see signals on chart. To do this:

- Create a new pane
- Right click on the pane (chart) then select "Edit Formula"
- Type the above formula, add the next line then click on "Update Graph".

plot(filter, "", colorBlue);




Thomas
2012-04-28 16:42:22

  0

Thank you very much, your Software seems to be very powerful.


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
Recent Insider Buying and Selling for US Stocks
Daily US Stocks Data
Stocks outperforming the S&P 500 with low volatility
Percentage of Stocks at 20-Day Highs
Stocks with an EPS Several Times Higher than the Industry Average...

How-to Lessons
How to detect stocks trading near all time highs
How to quickly download the most recent EOD data for your stocks
How to filter stocks in a market composite
How to download EOD quotes for active and valid stocks only
How to associate an index with a list of stocks

Related Forum Threads
quotes for inactive stocks
Screen for non trending stocks?
NSE & INdian Stocks
Problem with EOD Historical Data for LSE Listed Stocks
Buy least correlated stocks

Blog Posts
How to download the history of dividend payments for stocks in th...
Fundamental Stock Analysis: Rank stocks based on a valuation rati...
Trading System: Buy stocks with the highest Sharpe ratio
3 ways to rank stocks in a trading system - Simulator and Potfoli...
Compare stocks and securities by creating a relative performance ...









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.