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 #

ATR Trailing Stop Loss II by Rajat K. Bose
ATR based stops

. To: altag@xxxxxxxxxx
. Subject: ATR based stops
. From: Rajat Bose <rajatkbose@xxxxxxxxx>
. Date: Mon, 3 May 1999 22:19:18 -0700 (PDT)
. Reply-To: metastock@xxxxxxxxxxxxx
. Sender: owner-metastock@xxxxxxxxxxxxx

Al,

If you find time, could you just test the efficacy of this Upper and Lower Band based on ATR. The MetaStock formulas are given at the end. Using the default values used in the formulas, I have found that they provide effective risk control while trading. the upper band can be used as the extreme point to get rid of shorts and vice versa.

In fact, prices tend to remain above both the bands while the market is in a strong uptrend, and prices remain below the bands in a downtrend. During short-term range-bound markets, they tend move between the bands.

I have found this idea in Tushar Chande's "New Technical Trader". Since you have studied ATR so thoroughly, it would be be very nice if you could comment on them.

Thanks in advance.
Regards,
Rajat K. Bose



ATR Trailing Stop Loss II

Upper Band

Prd1:=Input("ATR Period",5,20,5);
Prd2:=Input("Period for Highest High Value",5,20,10);
(HHV(LLV(L,Prd1)+ATR(Prd1),Prd2))


Lower Band

Prd1:=Input("ATR Period",5,20,5);
Prd2:=Input("Period for Lowest Low Value",5,20,10);
(LLV(HHV(H,Prd1)-ATR(Prd1),Prd2))


[13737]


ATR Trailing Stop Loss II 2 in 1

{Upper Band}
Prd1:=Input("ATR Period",1,20,5);
Prd2:=Input("Period for Highest High Value",1,20,10);
(HHV(LLV(L,Prd1)+ATR(Prd1),Prd2));
{Lower Band}
Prd2:=Input("Period for Lowest Low Value",1,20,10);
(LLV(HHV(H,Prd1)-ATR(Prd1),Prd2))

 

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!