question about value import

 

hi,

Could someone tell me if we can code an indicator with existing indicator output value instead of candle bar value? For example, a MA based on BBand (up/low band) value on main chart.


see pic, red line is MA of upper band, aqua line is MA of lower band


thx