Click here to Login





                                                   FullName

  0

0
Husain
2010-07-30 10:15:27


How do we get to display the "Full Name" field in a column for watchlist items .

Like Symbol = EWD
and Full Name =" iShares MSCI Sweden Index (ETF)"




Husain
2010-07-30 10:19:07

  0

AddColumn("Full Name", FullName());


does not seem to work. Returns a blank for every symbol



QuantShare
2010-07-30 11:19:57

  0

Best Answer
There is a problem in the FullName function. We will fix this.

There is another way to display the full name. Select Tools -> Create Functions, click on add and type a name (example: fname).
Add the following code then save:

result.Assign(cFunctions.SymbolInfo.FullName);

Now, in the watchlist type the following formula:
AddColumn("Full Name", fname());



Husain
2010-07-30 11:55:46

  0

That returns a Nan . It seems the fName function returns a number instead of String.


QuantShare
2010-07-30 12:12:26

  0

Sorry, I forgot to tell you to uncheck "Return Numeric Array" checkbox in the "Create Functions" form.


Husain
2010-07-30 12:19:26

  0

Works Perfectly . Thank you very much .


clonex
2012-06-14 14:44:59

  0

Actually
AddColumn("Full Name", FullName());

in my screener works prefectly.

Clonex



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
Copenhagen stock exchange Danish ETF
Russian Stock Market
Short Selling Data
Earnings Whispers: Whisper Report
EOX Put-Call Ratio (PCR)

How-to Lessons
How to improve the performance of QuantShare databases?
How to create a hatched area in a chart
How to import trades into a portfolio
How to set order type of a trading system programmatically
How to create a Monte Carlo simulation

Related Forum Threads
permanent future bars
guru ,QS crashing
Formula for Full Stochastic?
Symbols with 0..9 in name
how to use the intraday downloader

Blog Posts
How to download the history of dividend payments for stocks in th...
Correlation of market indicators
New features in QuantShare - Trading Software
Historical volatility estimators
Creating a download item: Initial Jobless Claims









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



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.