--- In [email protected], "johsun" <[EMAIL PROTECTED]> wrote: > > UAPI = 100 * exp( Cum( log( Factor ) ) ); > > Johan >
Thank you. Works great. /* Equal Weight Arithmetic Index see http://www.valueline.com/news/vlv030328x.html Scan Watch list,then apply indicator. */ AddToComposite( C/Ref(C,-1), "~EWAI", "X") ; AddToComposite( 1, "~EWAI", "I" ); Buy = 0; D = Foreign("~EWAI","C") / Foreign("~EWAI","I"); EWAI = 100 * exp( Cum( log( D ) ) ); Plot(EWAI,"Equalweight Arithmetic Index",colorGreen,styleLine);
