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
Oman stock market historical data
McNicholl Sentiment
Simple Moving Median Indicator
Amsterdam stock exchange
Bursa Malaysia EOD data

How-to Lessons
How to draw distances on a chart?
How to create a mobile database/account
How to get stocks for a particular index using the global script
How to create and trade a Neural Network model
How to create a custom trading indicator

Related Forum Threads
sorting functions alphabetically
Ranking Signals in MMScripts
Sort rules dynamically based on BuyInd performance
How to export to metastock ascii, 10 or 11 Format
PIVOT TABLES-a new feature

Blog Posts
Real-Time Quote Sheets with QuantShare
How to Create a Custom Real-Time Table using QS Trading Software
QuantShare Trading Software: New Features in the 3.4.1 Version
Trading Optimization
Introduction to the Grid Tool

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.