Profile Picture

Other Symbols

Posted By ywlee 2 Years Ago
Message
Posted Friday August 21 2015
A related question on OtherSymbols:

a/ I used OtherSymbols["GOOG"] to get a DivideSeries() result with Symbol.Name "MSFT" (per the example in the manual)
 
b/ Later on in the code I want to exclude MSFT but only execute "GOOG" if the DivideSeries has a certain value and other times to exclude "GOOG" but only execute "MSFT" if the DivideSeries has a certain value.

c/ I have tried using (If Symbol.Name == "GOOG") to reference GOOG but each time the code only executes for the MSFT portion of the code.  All code that refers to "GOOG" does not execute.

I'm using PositionSettings to execute the code so not sure if there is a control in PositionSettings to select the Symbol by Name.  Have tried positionsettings.Symbol.Name = "GOOG" but that returns an error.

THanks in advance. 



Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems