Calculate volaitliy,gann,fibo using ALGOs

how can i calculate volatility, gann, fibo levels using algo for PI or Nest trader.

Hello can you be more specific and detailed in your question.

well daily volatilty of any scrib is published on NSE website,Based on that we can calculate nifty levels…suppose volatity suggest 85 point movement and next day buy is generated @8425 and sell is generated @8395…same goes for Gann and fibo…this calculation can be done on any biz software like excel ,calc… I want these calculations done in PI (algo script)