MA(C,3);
N:=5;
K1:=hhv(h,n);
K2:=llv(l,n);
FC:=close;
FOR I=n+1 TO DATacOUNT DO BEGIN
IF FC[I]>K1[I-1] THEN
BJ[I]:=1;ELSE
IF FC[I]
BJ[I]:=BJ[I-1];
END;
jr:=IF(BJ=-1,K1,K2);
操作线:IF(c>jr,JR*0.998,jr*1.002),colorffff;
MA(C,3);
N:=5;
K1:=hhv(h,n);
K2:=llv(l,n);
FC:=close;
FOR I=n+1 TO DATacOUNT DO BEGIN
IF FC[I]>K1[I-1] THEN
BJ[I]:=1;ELSE
IF FC[I]
BJ[I]:=BJ[I-1];
END;
jr:=IF(BJ=-1,K1,K2);
操作线:IF(c>jr,JR*0.998,jr*1.002),colorffff;