Do you have a sample code of how to add two different time series to strategy and plot them?
I am trying to create a strategy to compare two different time periods.
For example, if close[0] > EMA(100) on 5 minute chart
and if close[0] > EMA(100) on 10 minute chart
then go long
and vice versa.
I'm trying to add both of them to strategy and possibly show them on the chart but I don't think I'm doing it right and getting various errors. I am looking for some sample where I can reference.
Comment