Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. //@version=4
  2. study("Parkinson Volatility")
  3. len=input(30)
  4. Annual=input(365)
  5. P= sqrt((1/len)*sum(1/(4*log(2))*pow(log(low/high),2),len))*sqrt(Annual)*100
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. plot(P)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement