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
Historical Quotes for Delisted US Stocks
Percentage of Stocks Trading Above their Pivot Point
Copenhagen stock exchange Danish Stocks April 2012
Stocks Sharp Decline Strategy
Historical EOD data for LSE-listed Stocks and ETFs

How-to Lessons
How to detect stocks trading near all time highs
How to download EOD quotes for active and valid stocks only
How to associate an index with a list of stocks
How to get stocks for a particular index using the global script
How to screen for stocks having a high correlation with the Dow J...

Related Forum Threads
Filtering stocks
Not getting Data for NSE Stocks
Fundamental Data For NSE Stocks
Ranking "Weak" stocks
Buy least correlated stocks

Blog Posts
How to download the history of dividend payments for stocks in th...
How to use QuantShare screener to trade penny stocks
Trading System: Buy stocks with the highest Sharpe ratio
Diversify your portfolio by investing in stocks from various indu...
3 ways to rank stocks in a trading system - Simulator and Potfoli...









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.