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 #

Base Channel
The following is Metastock's attempt to program the basic channel enter the following
formula "BaseC" into the indicator builder. It needs to have the name of base for your system test to work.

BaseC

If(Cum(1)<=31,1,(((Stdev(C,30)-Ref(Stdev(C,30),-1))/Stdev(C,30))+1)*PREV)

 

The next two formulas should be entered in the Enter Long and Enter Short of a system test.

Enter Long

Cross(H,Ref(HHV(H,20)+Fml("Base"),-1))

Enter short

Cross(Ref(LLV(L,20)-Fml("Base"),-1),L)

If you just want to look at the formulas on a chart enter the following into the indicator builder and plot then on top of your chart.

 


Base Channel

{Formula1}
Ref(HHV(H,20) + Fml("BaseC"),-1);
{Formula2}
Ref(LLV(L,20) - Fml("BaseC"),-1)

 

e-w-Base_Channel.gif
Any assistance would be greatly appreciated

Walter Lake

[6690]
Source / From: TOP
http://purebytes.com/archives/metastock/

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.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!