Median Value of Turn Over

Hii Sir,

Is there a way to calculate median value of turn over from last year.

Regards,
Deepak

Hi Deepak,

Are you referring to the daily Turn Over indicator (volume x price)? As median requires the data to be ranked there isn’t a way to to this in Optuma - the only way I can think of is to apply the tool and copy the data to clipboard and paste in Excel to sort them.

To calculate the average value over the last year, use this: MA(TO(), BARS=252)

Yes sir i am talking of Turn over script however i wanted to use it in backtester as filter.

Regards,
Deepak