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 #

Trailing Stops - Volatility-Based
Simon Roberts wrote:

wally,

can't quite figure how this will work. if you leave the stop at 80% of your close it will work well all the way up; it won't ever trigger; but on the way down, it will carry on down beneath you, in a comforting sortof way. It's a bit like hanging out a sell now sign on the end of a ropehanging from your hot air balloon, you only catch up with it when you hitthe ground.

one way to plot some price offsets is with the moving average indicator,which is on the toolbar, indicator quicklist, which lets you input say 1day average, at any displacement from the price, up down and or sideways.

Simon


Re: Stop Loss

· To: metastock@xxxxxxxxxxxxx
· Subject: Re: Stop Loss
· From: HHP <hhp@xxxxxxxx>
· Date: Tue, 14 Mar 2000 21:36:45 -0800
· References: <001501bf8e08$fe60c2e0$4360a4c1@xxxxx>
· Reply-To: metastock@xxxxxxxxxxxxx
· Sender: owner-metastock@xxxxxxxxxxxxx

Here's a stoploss from Chande & Kroll's The New Technical Trader p.167, 'Volatility-Based Trailing Stops'. There are three input variablesto play with.

Trailing Stops - Volatility-Based

Volatility Stop (Long)

Pds1:= Input("ATR Lookback?",2,100,10);
Mult:= Input("ATR Multiplier?",1,20,3);
Pds2:= Input("HHV Lookback?",2,100,20);
PrelimStop:= HHV(H,Pds1) - ATR(Pds1)*Mult;
ActualStop:= HHV(PrelimStop,Pds2);
ActualStop


Volatility Stop (Short)

Pds1:= Input("ATR Lookback?",2,100,10);
Mult:= Input("ATR Multiplier?",1,20,3);
Pds2:= Input("LLV Lookback?",2,100,20);
PrelimStop:= LLV(L,Pds1) + ATR(Pds1)*Mult;
ActualStop:= LLV(PrelimStop,Pds2);
ActualStop

 

e-w-Trailing_Stops_Volatility-Base2.gif
HHP
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!