MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 A B C D E F G H I J K L M N O P R S T U V W Y Z #

rev. 01/06/97

The Trading Channel Index comes from an early version of AIQ's Stock Expert program."The Trading Channel Index measures the location of average daily price relative to a smoothed average of average daily price. It is derived from the average difference between these two values."

To create the Trading Channel Index in MetaStock create the following custom formula's:

AP+: Average price
( H + L + C ) / 3

ESA+: Smoothed price average
Mov( Fml( "AP+" ) ,10 ,E ) + ( Mov( Ref( Fml( "AP+" ) ,-1 ) ,10 ,E) )

D+: Price range estimate
Mov( ( Fml( "AP+" ) - Fml( "ESA+" ) ) ,10 ,E ) + ( Mov( Ref( Fml( "AP+") - Fml( "ESA+" ) ,-1 ) ,10 ,E ) )

CI+: Channel index
( ( Fml( "AP+" ) - Fml( "ESA+" ) ) / ( 0.015 * Fml( "D+" ) ) )

Mov( Fml( "CI+" ) ,21 ,E ) + ( Mov( Ref( Fml( "CI+" ) ,-1 ) ,21 ,E) )

Formuła dla MS 6.5:

Mov((( ((( H + L + C ) / 3) -
( Mov( (( H +L + C ) / 3) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3),-1 ) ,10 ,E) ))) /
( 0.015 *(Mov( ((( H + L + C ) / 3) -
( Mov((( H + L + C ) / 3) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3),-1 ) ,10 ,E) ))) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3) -
( Mov( ((H + L + C ) / 3) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3),-1 ) ,10 ,E) )),-1 ) ,10 ,E ) ))) )) ,21 ,E ) +
( Mov( Ref( (( ((( H + L + C ) / 3) -
( Mov((( H + L + C ) / 3) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3),-1 ) ,10 ,E) ))) /
( 0.015 *(Mov( ((( H + L + C ) / 3) -
( Mov( (( H + L + C ) / 3) ,10 ,E ) +
( Mov(Ref( (( H + L + C ) / 3),-1 ) ,10 ,E ) ))) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3) -
( Mov( ((H + L + C ) / 3) ,10 ,E ) +
( Mov( Ref( (( H + L + C ) / 3),-1 ) ,10 ,E) )),-1 ) ,10 ,E ) ))) )),-1 ) ,21 ,E ) )

Source / From: TOP
http://www.equis.com

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.