Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Sign in to follow this  
Tams

VIDYA by Tushar Chande

Recommended Posts

VIDYA - The Variable Index Dynamic Index

 

by Tushar Chande

 

 

VIDYA is basically an adaptive exponential moving average.

 

The adaptation speed is determined by market momentum, as measured by "AbsCMO",

the absolute value of the Chande Momentum Oscillator.

 

This indicator is described in Chapter 3 of Dr. Chande's book "The New Technical Trader".

 

 

attachment.php?attachmentid=10925&stc=1&d=1243140429

VIDYA.gif.f7551e64e11cd18a2597ed3f948a03d2.gif

VIDYA_(MultiCharts).pla

Share this post


Link to post
Share on other sites

// Type : Function
// Name : VIDYA

Input: 
Price(numericseries), 
CMOLen(numeric), 
VIDYALen(numeric),
Speed(numeric);

Var: 
Cnt(0),
SumUp(0), 
SumDn(0), 
Diff(0),
VIDYAPri(0),
AbsCMO(0),
Const(0);

SumUp = 0;
SumDn = 0;

For Cnt = 0 to CMOLen-1 Begin
Diff = Price[Cnt] - Price[Cnt+1];
If Diff > 0 then SumUp = SumUp + Diff else SumDn=SumDn-Diff;
End;

AbsCMO = Speed*AbsValue((SumUp-SumDn)/(SumUp+SumDn));
Const = 2/(VIDYALen+1);

VIDYA = iff(Barnumber>VIDYALen,(Price*Const*AbsCMO) +
((1-AbsCMO*Const)*VIDYA[1]),Price);

 

 

 

// Type : Indicator
// Name : VIDYA

Input: 
Price(TypicalPrice), 
CMOLen(9), 
VIDYALen(12), 
UBandPct(1),
LBandPct(1),
Speed(1);

Var: 
PlotVal(0);

PlotVal = VIDYA(Price,CMOLen,VIDYALen, Speed);

If PlotVal > 0 then 
begin
Plot1(PlotVal,"VIDYA");
Plot2((1 + UBandPct*.01)*PlotVal,"Upper Band");
Plot3((1 - LBandPct*.01)*PlotVal,"Lower Band");
End;

Share this post


Link to post
Share on other sites

additional information in:

 

ActiveTraderMag / June 2001 - "Measuring Trend Momentum".

 

S&C Magazine, Traders Tips / October 1995 - "Identifying Powerful Breakouts Early"

 

 

.

Edited by Tams

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.