PureBytes Links
Trading Reference Links
|
If you using TS8 , Its built in. With a little manipulation you can plot it
as an indicator.
-----Original Message-----
From: Barry Silberman [mailto:Barry@xxxxxxxxxxxxxxxxx]
Sent: Tuesday, March 01, 2005 1:11 PM
To: omega-list@xxxxxxxxxx
Subject: price projections
Perhaps someone on the List can help with duplicating an indicator on
OptionVue that projects the price of an underlying security based on
standard deviations and the number of days remaining in an option.
While this sounds a lot like Bollinger Bands, the answers I get using BB
bands do not agree with OptionVue. I used 250 as the length for approx.
number of trading days in the year, and I assume I need to massage the code
for number of days left in the option.
Any help would be appreciated.
Barry
My code is as follows:
inputs: Price( Close ), Length( 250 ), NumDevsUp(1 ), NumDevsDn( -1 );
variables: SDev(0), LowerBand(0), UpperBand(0) ;
SDev = StandardDev( Price, Length, 1 ) ;
UpperBand = close + NumDevsUp * SDev ;
LowerBand = close + NumDevsDn * SDev ;
if CurrentBar > length then begin
Plot1( LowerBand, "LowerBand" ) ;
Plot2( UpperBand, "UpperBand" ) ;
end;
|