Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Simulator question

  0

0
Jae
2010-08-21 13:40:18


Can someone please tell me how to create a simulator where the best performing stock (on a weekly basis) is bought out of a group of stocks?


QuantShare
2010-08-22 10:16:22

  0

Best Answer
Hi Jae,

You can do this by adding a ranking system (with "perf(close, 5)" as rule) to your trading system.

Or you can use the composite function.

Example:

Rule 1: comp(perf(close, 5), "rank") == 1
Rule 2: dayofweek() == 1

The first rule instructs the application to buy the stock with the highest 5-Bar rate of return value
The second rule instructs the application to buy stocks only on monday.



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
Choose function
Drawdown Since Trading Signal
Ulcer Performance Index
Money Management System to Split Order Into Smaller Pieces
Adaptive Trading System - Minimum Percent Winners and Percent Inv...

How-to Lessons
How to optimize the stop limit of a trading system
How to create a formula
How to add a metric in the trading system simulation report
How to quickly select stocks based on the last value of a databas...
How to drag & drop indicators in charts

Related Forum Threads
Simulator Question
Question about an object
Simulator algorithm change/option
Simulator - Activate stop immediately
Simulator Trading System Report

Blog Posts
3 ways to rank stocks in a trading system - Simulator and Potfoli...
Improve your trading system performance by ranking stocks
Reducing risk and increasing return by combining several trading ...
Trading orders - Part 2
Optimization of a trading system









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