[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Explorer question



PureBytes Links

Trading Reference Links

It is possible.  You have to use the valuewhen() statement and a cum()
statement.  First use the cum() statement to count the number of times the
condition is true in the entire chart.  Then use the valuewhen() statement
to findout the value of cum() when you need to start counting.  Subtract
that value from the current value of cum() and you will get a signal when it
reaches 13.

Hope this helps.
Michael

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of SGT099@xxxxxxx
Sent: Friday, August 25, 2000 7:14 AM
To: metastock@xxxxxxxxxxxxx
Subject: Explorer question


Greetings

I'm trying to code Demark's TD sequential and one component requires that
you
look back and find 13 price bars where the close is less then or equal to
the
low two price bars earlier. These do not have to be consecutive. You just
have to find 13 instances in a given series. Is this possible to code in the
explorer, even if you choose an arbitrary number of look back periods?
Thanks

Stan