Click here to Login



Rajeev Upadhye
2018-09-20 10:12:36

How does sort an array programatically (Not by clicking column heading)?

2018-09-21 04:14:00


I don't know which tool you are referring to but you cannot sort a column programmatically for tools such as Screener or watchlist.

Rajeev Upadhye
2018-09-21 09:22:00


I think it is needed BADLY. Right now in simulation of trading strategy it picks the stock alphabetically and that is WRONG. I can not squeeze the maximum from my strategy in simulation.

2018-09-22 08:50:38


Sorry I misunderstood your question.

You can sort symbols (signals) using:
SetSimLongRank function.

Example: to pick stocks with highest close price

No more messages


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"


Trading Items
Simple Moving Median Indicator
McNicholl Sentiment
Oman stock market historical data
NYSE, AMEX and NASDAQ 52-week high and low data
Analyst comments

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to create a composite index/indicator
How to optimize a neural network using a genetic algorithm
How to add a metric in the trading system simulation report
How to import your own list of stocks/symbols

Related Forum Threads
sorting functions alphabetically
Ranking Signals in MMScripts
Sort rules dynamically based on BuyInd performance
Welcome to the QuantShare Forum
Unable to Install Quantshare

Blog Posts
Real-Time Quote Sheets with QuantShare
QuantShare Trading Software: New Features in the 3.4.1 Version
How to Create a Custom Real-Time Table using QS Trading Software
How scripts communicate with each other
Introduction to the trading rules analyzer

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2019
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.