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 #

Volatility as Percent
It plots a +1 on a "future turn bar" after a low between 2 highs, a –1 after a high
between 2 lows, and a zero otherwise.

The 2 inputs are the same as the reversal amount in the MS-ZigZag function with the Percent option selected. The values you input here can be critical to the results obtained. Depending on the chart, a change of a few tenths can change the results. I find that trying to plot a ZigZag that properly catches the significant highs and lows can be a very subjective experience. You might try plotting a ZigZag of the highs and a ZigZag of the lows on the chart. Be sure the Percent option is selected. Try playing around with the Reversal Amount values until the peaks and valleys look right to you. Then plot the above indicator using these numbers.

Another tactic I've used to take some of the guesswork out of the ZigZag inputs is to plot an indicator that expresses volatility as a percent. Then use the most recent value of that indicator in the ZigZag function. The following function seems pretty close most of the time:

Volatility as Percent

Mov(((ATR(14) / C)* 100), 20, S)

 

BTW, what is the significance of the 1.28 multiplier?

David.

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