Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Use of Comp with Full Ranking System

  0

0
swalk10
2010-04-23 18:51:47


Thanks again for the "comp" command, it is helpful.

What is the syntax to refer to a full ranking system with "comp" (that is, one that has nodes, etc.,
and is too involved to directly define in the comp command).




QuantShare
2010-04-24 06:20:22

  0

Best Answer
Explanation for those who are new to the "comp" and ranking system features:
The ranking system and the "comp" function are not related.
The ranking system calculates a value (not a rank) for a specific stock given the formulas and nodes defined. It can then be used within the simulator to rank stocks.
The "comp" function calculates composites.

However, the "comp" function could be used as a ranking system, using the "Rank" or "Percentile" parameters.

If you have for example the following ranking system:
Node1 : roc(close, 10) - Weight: 40
Node2 : roc(close, 5) - Weight: 40
Node3 : sma(volume, 10) > sma(volume, 30) - Weight: 20

You can use the following formula to calculate a stock rank with the "comp" function:
comp( 40 * roc(close, 10) + 40 * roc(close, 5) + 20 * (sma(volume, 10) > sma(volume, 30)), "rank")

For long ranking systems, it becomes difficult to use the "comp" function.
Do you want to be able to do something like the following?
comp("ranking system name", "rank")



swalk10
2010-04-24 10:13:09

  0

Thanks for your examples, this helps. Yes, I would like to be able to execute comp("ranking system name", "rank") - is that syntax allowed?


QuantShare
2010-04-26 07:17:16

  0

It will be allowed in a next release


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
Trading Rules to use with the Trading System Optimizer
Super Stock Screener Ranking System
Sharpe Ratio Ranking System to Lower Trading Strategies Volatilit...
Design and backtest a trading system with two strategies
Trading System Based on the CloseHL Percent Rank Oscillator

How-to Lessons
How to download and use U.S. stocks earnings data
How to set order type of a trading system programmatically
How to debug a trading system using the money management tool
How to optimize the number of positions in a trading system
How to generate buy/sell signals from a trading system

Related Forum Threads
Ranking System with Trading System Help, Revisited
Ranking System Help
Need Simple Example of Ranking Stocks Implemented in Trading Syst...
Ranking System & Portfolio Intraday or Realtime data support
Variables& Rules in Ranking System

Blog Posts
Ranking system calculation methods
Ranking stocks based on their correlation with the S&P 500 Index
Ranking System Engine
Improve your trading system performance by ranking stocks
How to choose which technical indicators to use in your trading s...









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