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 #

Countback Up & Down Trend
-----Original Message-----
From: Andrew J. Kornberg [SMTP:kornberg@xxxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, August 12, 1997 8:59 AM
To:   metastock-list@xxxxxxxxxxxxx; Daryl Guppy
Subject:      Countback Lines

Hi,

I posted this a couple of weeks ago but unfortunately I did not get a reply.  Can anyone out there help with Countback Lines?

Some charting programs now do this automatically (Ezy Charts) and I wonder whether this can be done efficiently and fairly automatically in Metastock.

Essentially the principle behind countback lines is that they provide a short term resistance or support line.  They are constructed as follows (From Daryl Guppy's Tutorials in Applied Technical Analysis www.ozemail.com.au/~guppy/). (I recommend this site to everyone)

"In a falling trend, one counts back two higher highs and then projecting a horizontal line to the right.  A close above this resistance suggests that the trend has changed.  In a rising trend, it is calculated by counting back two lower lows.  A close below this support line suggests that the trend has changed.  The countback line can be used to fine tune entry and exit points."

Obviously, this can be done by hand but they may need to be recalculated and redrawn daily.  Is there a way for Metastock to do this automatically or semiautomatically?  Any help would be greatly appreciated.

Another question where the answer has so far escaped me. If one was to pick an exploration and get a report with say a list of 100 stocks. Can one then run another exploration on those stocks only?

Thanks,
Andrew


RE: Countback Lines

    To: metastock-list@xxxxxxxxxxxxx
    Subject: RE: Countback Lines
    From: Metastock List <MetastockList@xxxxxxxxx>
    Date: Tue, 12 Aug 1997 14:19:30 -0600
    Resent-Date: Tue, 12 Aug 1997 14:32:06 -0600
    Resent-From: metastock-list@xxxxxxxxxxxxx
    Resent-Message-ID: <"68A4P.0.XB5.5XCyp"@mail.equis.com>
    Resent-Sender: metastock-list-request@xxxxxxxxxxxxx

Andrew,

Try these two formulas and let us know if this is what you mean.  Plot them directly on the price bars.

Countback up trend

ValueWhen(1,C > Ref(C,-2) AND
C > Ref(C,-1) AND
Ref(L,-2) < Ref(L,-1) AND
Ref(L,-1) < L,Ref(L,-2))

Countback down trend

ValueWhen(1,C < Ref(C,-2) AND
C < Ref(C,-1) AND
Ref(H,-2) > Ref(H,-1) AND
Ref(H,-1) > H,Ref(H,-2))


Equis Support

[1802]

Countback Up & Down Trend - 2 in 1

ValueWhen(1,C > Ref(C,-2) AND
C > Ref(C,-1) AND
Ref(L,-2) < Ref(L,-1) AND
Ref(L,-1) < L,Ref(L,-2));

ValueWhen(1,C < Ref(C,-2) AND
C < Ref(C,-1) AND
Ref(H,-2) > Ref(H,-1) AND
Ref(H,-1) > H,Ref(H,-2));

 

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!