Click here to Login

LiveZilla Live Help
LiveZilla Live Help




                                                   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
calcB
SIX Swiss Exchange - Historical quotes
Choppiness Index
Kuwait Stock Exchange historical quotes data

How-to Lessons
How to display two stocks on the same chart
How to associate an index with a list of stocks
How to plot support and resistance lines automatically
How to display the bar index of a stock on a chart
How to rename a ticker symbol

Related Forum Threads
Money management script question
Automatically charting sector with stock
Survivorship bias-free database
Resource Question Intel i7- 64 Bit - 24 GB RAM
Viewing source or fixing script

Blog Posts
Watch your support and resistance lines
Money Management: Optimize a trading system
Trend Following and Moving Averages
Transaction Costs
The average maximum drawdown metric









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 2014 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.