Calculate the ratio of extrinsic value to net debit for ITM covered calls

epyonxer0

New member
Heres the scan code. Id like to have the final result show as percent rather than the default format.

Code:
#Calculate the ratio of extrinsic value to net debit for ITM covered calls.

def stockPrice = close(GetunderlyingSymbol(), "Day");

def extV = close - (stockPrice - getstrike());

plot ccProf = extV / (stockPrice - close);
 

Similar threads

Top