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