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 #

Chaos Fractal (simple version +1=Up, -1=Dn)
----- Original Message -----
From: "Bob Webb" <Webb.Bob@xxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Wednesday, January 24, 2001 4:36 PM
Subject: Programming Bill Williams fractals

> I heard nothing from my earlier request...
> Has anyone attempted programming Bill Williams' fractals: that is,
> indicating when a particular day's high is higher than the two days before
> and after it (and the same on the downside: when a day's low is lower than
> the two days before and after it).
> I'd appreciate help with programming this if someone has done it.
> Thanks.
> Bob.

Re: Programming Bill Williams fractals
To: <metastock@xxxxxxxxxxxxx>
Subject: Re: Programming Bill Williams fractals
From: "Barry Marx" <bmarx@xxxxxxxxx>
Date: Wed, 24 Jan 2001 17:57:25 -0500
References: <>
Reply-To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx

Here's something that I dug out that was posted to the list a while back.
Hope it helps.
- Barry

{Posted to MetaStock List by Gary Randall } {on 10/15/99}

Chaos Fractal (Simple Version +1=Up, -1=Dn)

High1 := Ref(HIGH,-2);
High2 := Ref(HIGH,-1);
High3 := Ref(HIGH,0);
High4 := Ref(HIGH,1);
High5 := Ref(HIGH,2);
Low1 := Ref(LOW,-2);
Low2 := Ref(LOW,-1);
Low3 := Ref(LOW,0);
Low4 := Ref(LOW,1);
Low5 := Ref(LOW,2);

Fractal :=
(High3 > High1) AND
(High3 > High2) AND
(High3 > High4) AND
(High3 > High5), +1,0);

Fractal :=
(Low3 < Low1) AND
(Low3 < Low2) AND
(Low3 < Low4) AND
(Low3 < Low5),
If(Fractal > 0, 0, -1), Fractal);



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!