logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
FormulaPrimer  
#1 Posted : Friday, March 12, 2010 5:31:13 PM(UTC)
FormulaPrimer

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 8/12/2005(UTC)
Posts: 73

Increase means volatility bearish bias.
Decrease means bullish bias.
Any improvement to this will be much appreciated.

Volatility Shift
===========================================
{For personal use only}
{Not for distribution - FP}
MC:= Input("% MINIMUM CHANGE", 1, 100, 2);
A1:= Peak(1 ,C ,MC ) - Trough(1 ,C ,MC ) ;
B1:= Peak(2 ,C ,MC ) - Trough(2 , C,MC ) ;
C1:= Peak(3 ,C ,MC ) - Trough(3 , C, MC) ;
APC:=(A1+B1+C1)/3;
A11:=BarsSince(Peak(1 ,C ,MC )) - BarsSince( Trough(1 ,C ,MC )) ;
B11:=BarsSince(Peak(2 ,C ,MC )) - BarsSince( Trough(2 ,C ,MC )) ;
C11:=BarsSince(Peak(3 ,C ,MC )) - BarsSince( Trough(3 ,C ,MC )) ;
ATC:=(A11+B11+C11)/3;
VS:=APC-ATC ;
VS;
{Atan(APC ,ATC ) ;}
{End}

==================================================
v.trader  
#2 Posted : Tuesday, March 16, 2010 7:45:04 PM(UTC)
v.trader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/26/2009(UTC)
Posts: 76
Location: Toronto, Canada

Do you have any improvements in mind? VT
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.