Range bars and EA

 

The Range bar indicators I have found (so far) makes use of an offline chart to display.

How do I combine this with an EA? Attaching the EA to the offline chart? Sounds logical but I have my doubts.

And I really like to have one year of data for backtesting