Is it possible to retrieve/calculate the value of an indicator from multiple time series on the same chart?
Let’s say I have ES 15 and 60 minutes time frames on the same chart. I add SMA to each time series. Can I get the value of 60 SMA within 15 min SMA?
I am thinking of using the following logic to add time series within indicator, but not sure if this is the best way to achieve my goal;
Add("ES ##-##", PeriodType.Minute, 60); Then I can refer to price as Close[1][0], but calculation will be tricky since OnBarUpdate will run of 15 min chart.
Thanks,
redduke
Comment