Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   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 .


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
Kaufman's Efficiency Ratio (Fractal Efficiency)
EURUSD Long Positions Ratio
Mojena Market Timing Model
Williams AD - Accumulation Distribution Indicator

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to plot arrows below/above candlesticks on a chart
How to import trading data from CSV files
How to create a composite index/indicator
How to create and trade a Neural Network model

Related Forum Threads
Quotes Database Management
custom indicator
OnNewPosition event
Angle of an SMA line
guru , Static watchlist

Blog Posts
Beta release
Fundamental Screen based on Stock price, ROI and Market capitaliz...
Day Trading: A trading system that combines intraday and EOD data
How to create market indicators using the composite function - Pa...
Create a stock index or a trading indicator using the composite t...









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