Hi guys, For some reason this code provides two different indicators (Indicator21 , Indicator22) CountingIndicator1= call "CountingIndicator1" // provide length of a window. Indicator21=historicvolatility[CountingIndicator1](LinearRegression[CountingIndicator1](close)) lrclose = LinearRegression[CountingIndicator1](close) Indicator22=historicvolatility[CountingIndicator1](lrclose ) return Indicator21 as "Indicator21", Indicator22 as "Indicator22" Any idea why Indicator21 is different from indicator22 please? Many thanks Anouar