The Option-Graph Project Option-Graph.com

Add Price and Implied Volatility Buttons

     We are going to make our option calculator a more useful tool by allowing it to make two different types of calculations. We will do this by adding two button controls now, and the code behind them later.

     One button will calculate the option price if you already know the Implied Volatility.

     The other button will calculate the Implied Volatility if you already know the option price.

     See the page "Ways to use the Option Calculator" for examples of how each type of calculation will come in handy.

     For now, we just need to be able to tell the program which way we want to use it. In Design View, add the three controls and their Properties as shown below:

Control: Panel

Properties:

  • BackColor : LightBlue
  • Size : 718,32

    Control: Button

Properties:

  • Name: B_FindPrice
  • BackColor: Salmon
  • Text : Find Price
  • Location : 475,6
  • Size: 69,20

Control: Button

Properties:

  • Name: B_FindIV
  • BackColor: LightGreen
  • Text : Find IV
  • Location : 552,6
  • Size: 69,20
Save your project.
Home Page Downloads
Previous Step: Add Fields for Interest Rate and Dividends
Next Step: Test the Layout

Copyright 2017 option-info.com Privacy Policy

Questions, corrections, suggestions, comments to: this contact

Want to learn options, find strategies? Visit www.option-info.com