How can I program my strategy to use data from an indicator based on a secondary higher time frame (i.e TSI(3,7) on a 7-RangeBars) as a filter to determine the entry setup for trades that will be taken on a 4 Range Bar?
The pseudocode would be something like:
"If the TSI(3,7) value[0] on the 7 RangeBar (secondary data series) is > 0 and <<other conditions>> on the 4 Range Bar (primary data series) are met, then an entry long setup is true."
Thanks,
RP

Comment