Profile Picture

Another symbol's series

Posted By phg 4 Years Ago
Message
phg
Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)
Posted Sunday February 16 2014
Under MySymbolScript > Startup
I want to divide an EMA series for each symbol by the EMA from another specific symbol, thus:
         .SetInputs(emaPrice,OtherSymbols("SHY").emaPrice);
         
But RE complains: Error   The name 'OtherSymbols' does not exist in the current context.

Is there a way to access the series of another symbol?   



phg
Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)Supreme Being (75,751 reputation)
Posted Sunday February 16 2014
Got it! It's a little tricky, but the "(" needs to replaced by "[". (It is "(" in Visual Basic, but "[" in C# which I should remember Crazy )




Similar Topics


Reading This Topic


2005-2018 © RightEdge Systems