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

(AT&T) breaks resistance; SAR positive



PureBytes Links

Trading Reference Links





I use the following exploration for breaks of support and resistance. The
exloration produces the volume change on the day of break and days since the
price break. For Break Support just change R1 to S1 in the exploration. Any
comments welcome.

Murray

Indicator builder
R1  = If(Ref(HIGH,-4)=HHV(HIGH,9),Ref(HIGH,-4),PREVIOUS)
S1  = If(Ref(LOW,-4)=LLV(LOW,9),Ref(LOW,-4),PREVIOUS)

Exploration.

Break Resistance

Col A - CLOSE
Col B -  Fml( "r1" )
Col C - resistance :=   Fml( "r1" ) ;
If(CLOSE > resistance,
   BarsSince(Cross(CLOSE, resistance)),
   0);

COl D -VolumeMA := Mov(VOLUME, 50, S);

VolumePct := ((VOLUME - VolumeMA) / VolumeMA)
               * 100;

resistance:= Fml("r1");

If(CLOSE > resistance,
   ValueWhen(1,Cross(CLOSE,resistance), volumePct),
   0)

Filter - Resistance := Fml("r1");

(LastValue(CLOSE > resistance))