I have a custom indicator applied to a 1m, 5m, and 10m chart. This indicator's value is calculated based on the timeframe it lives on, so the value will be different on these three charts at any given time. I am wanting to check if the indicator is pointing up or down on all three charts at the 1m post. This is easy to check on the 1m chart by comparing the value of the current bar to the previous bar. Ex:
CustomIndicator(<Primary> (1 minute))[0] > CustomIndicator(<Primary> (1 minute))[1]
Comment