Programatically applying an indicator to first indicators data

 

Hi guys,

I'm experimenting with a new system.......I would like to apply a Bollinger Band to an On Balance Volume indicator. This is pretty easy to create on the chart using "First Indicators Data" as the applied price when I load the BB manually.

My question is, how would I do this programmatically?

Ideas???

Thanks

EDIT: Ok, so far I have come to the conclusion that I will have to do this manually ie use iOBV to extract the data for the averaging period and then apply the Std deviation calculation through an Array.

 
 

Thanks zzuegg, I think that may be just what I am looking for. Just a quick question. Is iBandsOnArray() available within an EA, or is it one of the functions that are limited to indicators?

 
afaik the function is avaliable in all kind of mql stuff.