Skip to content

Instantly share code, notes, and snippets.

@tarnus
Created July 22, 2020 00:03
Show Gist options
  • Save tarnus/a23cb1b7cdb66abf716a2adeef7e86ac to your computer and use it in GitHub Desktop.
Save tarnus/a23cb1b7cdb66abf716a2adeef7e86ac to your computer and use it in GitHub Desktop.
IV CHange Column
def IV = Imp_Volatility();
def R = ((IV / IV[1]) - 1);
AddLabel(1, AsPercent(R), if R > R[1] then Color.Green else Color.Red);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment