Click here to Login





                                                   Name1 or Name3 data reference MM script

  0

0
Jim Harrison
2014-02-23 19:39:03


I am looking for a way to reference Symbol ~Name1 or ~name3 in MM script, i.e.

NewPosition.Symbol(name1) ??

pos.Symbol(name3) ??

etc.



SystemTrade
2014-02-24 00:24:23

  0

Best Answer
Hi Jim, try:
"Data.GetSymbolInfo(NewPosition.Symbol).Name1" or ...Name3



Jim Harrison
2014-02-24 08:17:02

  0

Thanks a bunch!


Seeker
2014-02-25 09:37:48

  0

Though not related to MM script, how to get the ~Name1, ~Name2, ~Name3 control in Symbol parameter of a downloader?
(Symbol parameter which comes after Parser, Settings)



QuantShare
2014-02-25 11:33:35

  0

Just double click on that cell then select an item.



Seeker
2014-02-25 12:54:53

  0

QS - the listing ~Name1, ~Name2, ~Name3 is available under Symbol for some downloads but not for others. Where it is not present, should we manually type this in?


QuantShare
2014-02-25 14:01:47

  0

It is available usually only when a "Symbol" (type) field (URL parameter) is found. Otherwise, you cannot use them.



Seeker
2014-02-25 14:04:22

  0

The Downloader "Industry Updater" doesnt show Name1,etc under Symbol. My symbols have a .US suffix (stooq data). I was trying to think that if Name1 is availabe under Symbol parameter for this Downloader, it will be an easy solution. I have created Name1 without the suffix.In other words, I was trying to avoid changing the prescript to accommodate Name1.



QuantShare
2014-02-26 12:54:10

  0

For such downloaders, you need to use the prescript.



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
EOD NSE stock quotes data
Equity Data to Ticker Symbol
Metatrader Historical Data Downloader
Euronext Paris - Realtime Share Prices Data
USD/INR Exchange Rate - Historical Data

How-to Lessons
How to speed up watchlist and screener plug-ins when working with...
How to download and use U.S. stocks earnings data
How to export trading data to a CSV file
How to get stocks for a particular index using the global script
How to execute a script at regular intervals

Related Forum Threads
Adding data to database through script
Help With Daily Data Import Script
Clear Symbol data stored in memory in global script
Data Interpolation c# Script
Reference Data for European ETF?

Blog Posts
Step by step on how to get free realtime/delayed data for stocks,...
Reading and Exporting Data from QuantShare to Excel Programmatica...
How to Automatically Import Local Data Into QuantShare
Download Trading Data using the URL-Script
How to Reference Drawing Studies in QS Formulas









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 © 2024 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.