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 #

Cycle Formula
Cycle formulas

To: atran@xxxxxxxxxxxxx, metastock-list@xxxxxxxxxxxxx
Subject: Re: Cycle formulas
From: Chip Anderson <chipamy@xxxxxxxxx>
Date: Wed, 31 Dec 1997 12:59:28 -0800 (PST)
Reply-To: chipa@xxxxxxxxxxxxxxx
Resent-Date: Wed, 31 Dec 1997 14:06:12 -0700
Resent-From: metastock-list@xxxxxxxxxxxxx
Resent-Message-ID: <"nxESO2.0.tI2.3Fhgq">
Resent-Sender: metastock-list-request@xxxxxxxxxxxxx

I'm not sure if this was answered already but...

If the number of periods is a fixed constant, you can use the following formula:


For example, if you wanted to plot a sine wave that cycled every 10 periods, use:


If you want to set the number of periods in the cycle each time you plot it, use the following formula:

Cycle Formula

periods:=input("Enter number of periods:", 2, 360, 50);


I recommend that you plot this indicator by overlaying it with the price plot and _not_ merging the scales.

Hope this helps,

Source / From: TOP

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!