Profile Picture

Another symbol's series

Posted By phg 3 Years Ago
Message
phg
Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 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?   


-Pete

See also Yahoo group about applying RE.

phg
Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 reputation)Supreme Being (48,657 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 )

-Pete

See also Yahoo group about applying RE.



Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems