Click here to Login





                                                   Ranking performance

  0

0
allan nathan
2013-01-22 18:24:58


Hi,
Is it possible to set up a system where the entry is based on buying the strongest stocks over the last 25 days?
Did I do it correctly in the example?




a = close; // Stock value

a1 = perf(a, 25); // Performance of stock for the last month

strength=a1;






buy = strength > 0 and close > 5; // Buy only stocks that are poitive performance
SetSimLongRank(ratio); // Rank stocks by their performance



allan nathan
2013-01-22 18:27:31

  0

correction..i should have written
SetSimlong(strength);



QuantShare
2013-01-23 09:12:22

  0

Exact


allan nathan
2013-01-25 23:02:10

  0

If I wanted to also include stocks with negative 25 day performance,and would also like to optimize as well,is this formula correct?
Am I correct that this formula selects the strongest x stocks that had returns between -18 and 50 for the past 25 days?


a = close; // Stock value
Optimize( "level", -18,50,4 );


a1 = perf(a,25); // Performance of stock for the last month

strength=a1;


buy = strength > level and close > 5; // Buy only stocks with 25 day perf between -18 and 50
SetSimLongRank(strength); // Rank stocks by their performance



QuantShare
2013-01-26 09:56:31

  0

=> If I wanted to also include stocks with negative 25 day performance,and would also like to optimize as well,is this formula correct?

For negative performance, you can use:
SetSimLongRank(-ratio);

=> The formula you provided is correct. It will create a trading system and optimize it by varying the value of "level" from -18 to 50.




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
Super Stock Screener Ranking System
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...
RSI(3) Ranking System
Intraday Trading System with Daily Ranking
Annual Performance of Major Indices

How-to Lessons
How to improve the performance of QuantShare databases?
How to plot the relative performance of several stocks/indices
How to import trades into a portfolio
How to create and trade a Neural Network model
How to perform a basic quantitative analysis using the S&P 500

Related Forum Threads
Need Simple Example of Ranking Stocks Implemented in Trading Syst...
Ranking System with Trading System Help, Revisited
Ranking systems
Multi-line formula in Ranking system node ..
Ranking System Manager and Simulator yield very different results

Blog Posts
Improve your trading system performance by ranking stocks
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...
New Ranking and Percentile Composite Functions
How to Backtest an Intraday Stock Trading System with EOD Ranking
6 techniques to improve the performance of your stock trading str...









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.