Let's say an Option expires at a future date (on a candle yet to form beyond the Barcount - 1) for which there is no Quote yet and I want to visualize the probable range of the security assuming constant volatility as per the selected bar. Below is an attempt which obviously throws Error 10: Array subscript out of range whenever a bar is selected that provoke the lines to be plotted beyond Barcount - 1.
Code:
_SECTION_BEGIN( "Probability Cone" );
SetChartOptions( 0, chartShowDates );...
Probability Cone in AmiBroker
from Aussie Stock Forums https://ift.tt/2O0Z9jD
0 comments:
Post a Comment