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 Stop II
Trailing Stop - Codes

. To: metastock@xxxxxxxxxxxxx
. Subject: Trailing Stop - Codes
. From: "Ian Burgoyne" <iburgy@xxxxxxxxxxx>
. Date: Tue, 11 Apr 2000 13:48:39 EST
. Reply-To: metastock@xxxxxxxxxxxxx
. Sender: owner-metastock@xxxxxxxxxxxxx

Thanks for all the responses to the question I posed on a trailing stop.They were very helpful. Below is the code for the indicators I used in the chart I posted last week. I've also included the code author's name so if it is incorrect please advise.
Ian


Trailing Stop (code supplied by Yngvi Hardarson)
"....I would rather recommending trailing off the daily high for a long position. This however demands a little bigger ATR multiple i.e. something like:

Trailing Stop

{For long}
HHV(H - 2.5*ATR(5),10)

 

Furthermore it may be beneficial to dynamically adjust the number of lookback periods in the HHV() or the LLV() function.

Best regards, Yngvi Hardarson".

[21993]
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!