Assuming that you know how to write the AFL to determine a Twiggs 
positive or negative, I would think that SUM would do it for you. Try 
something like the following:

TwiggsPositive = ...;
TwiggsNegative = ...;

EightConsecutivePos = (SUM(TwiggsPositive, 8) == 8);
EightConsecutiveNeg = (SUM(TwiggsNegative, 8) == 8);

Filter = EightConsecutivePos OR EightConsecutiveNeg;

AddColumn(EightConsecutivePos, "8 Positives");
AddColumn(EightConsecutiveNeg, "8 Negatives");

Mike

--- In [email protected], "donpickdonpick" <[EMAIL PROTECTED]> 
wrote:
>
> Twiggs is something like Chaikin.  I want to write an Exploration
> which finds each instance where there are 8 consecutive positive or
> negative Twiggs Money Flow bars .  
> 
> My guess is may be I use SUM???  I'm not sure how to write the afl
> logic.  Or may be I use something else?
> 
> Thank you for your help.
>


Reply via email to