Hi guys,

Hope you're all well. I have the following issue: I want to take a subset of available data for a stock and work out an indicator for the chosen period. For example, the average day-to-day % stock change from 2013 - 2014.

 

I then want to use that indicator for a backtest from 2014 - present, while updating it dynamically.

 

Does anyone know how to do this in cSharp?

Thanks in advance

Hugo