Disliked{quote} I looked at your code again. In line 115, you set the indicator index for house zero as call and house one as put. But you forgot this line at the beginning of the indicator. #property indicator_buffers 2 // Number of buffers Add this line and it will be activated in the 2 index indicator. Then by command you can find at line 115,116 SetIndexLabel(0,"Call"+short_name); SetIndexLabel(1,"Put"+short_name); Put any value in this index and it will be displayed in the indicator Don't forget, you can always check the output of your function with...Ignored
I understand that without option data, it can be very difficult for you to verify the accuracy of this code. However, I am completely confident that my mathematical calculations are correct, and I have included these values as comments in the code (Refer the attached picture). Perhaps you could consider modifying the indicator to include buffers for the last 100 bars with the calculated Call_IV and Put_IV, as this has not been addressed yet.
Kheli mutshakaram!!
--Zailon Timur