- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
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"@mail.equis.com> 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: Sin(Cum(360/{x})) For example, if you wanted to plot a sine wave that cycled every 10 periods, use: Sin(Cum(360/10)) 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); Sin(Cum(360/periods)); |
�