Using range bars

 

I have an EA that continously creates range bars on a offline chart  (M2) Works fine.

I am developing an EA that is to be run on this chart.

That EA needs indicator information from Bollinger, RSI and MACD as well as chart data

How do I go about to get these indicators attached to this offline chart and also access to the indicator data in my EA?


One way to do it is to attach indicators manually to the M2 chart and then use iRSI with NULL as symbol and "0" as time frame

Reason: