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

RE- Trading the trends' Indicator Conversion


  • To: David <mking@xxxxxxxx>
  • Subject: RE- Trading the trends' Indicator Conversion
  • From: Massimo Ciarafoni <maxci@xxxxxx>
  • Date: Thu, 31 Dec 1998 05:12:11 -0500 (EST)

PureBytes Links

Trading Reference Links

David

I wrote this indicator after reading the article in S&C Sept issue, try
if it could serve you.
{
********************************************************************************************************************************

        Indicator   :     Abraham Trend Indicator

        Last Edit   :     12/31/98

        Provided By  :      Massimo Ciarafoni

        Description  :      This is my implementation of Abraham's Trend
indicator as in S&C Sept 98 issue.

**********************************************************************************************************************************}

Inputs:AtrMult(3),AtrLen(21);
Vars:HClose(-99999),LClose(99999);

Value1=AtrMult*WAverage(TrueRange, AtrLen);
HClose=IFF(C>HClose,C,HClose);
LClose=IFF(C<LClose,C,LClose);

If CurrentBar=1 then Value2=HClose-Value1;
If C < Value2 then begin
 Value2=LClose+Value1;
 HClose=C;
End;
If C > Value2 then begin
 Value2=HClose-Value1;
 LClose=C;
End;
If CurrentBar>1 then Plot1(Value2[1],"Volind");


Best regards.

Massimo.