{BarsSince cross} a1:=BarsSince(Cross(MDI(14),PDI(14))); {Low the day of cross} a3:=ExtFml("forum.REF", L, a1); {Is close less than low of day DI crossed} a4:=C=PDI(14),a1)=a1; a6:=ADX(14); {How much has ADX been greater than yesterdays ADX since cross} a7:=ExtFml("forum.SUM",ADX(14)>Ref(ADX(14),-1),a1)=a1; a8:=PDI(14); a9:=MDI(14);a10:=Sum(a6>Ref(a6,-1),5); a10:=Sum(a1>Ref(a1,-1),5); a5;