N:=2;
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]<K2[I-1] THEN
BJ[I]:=-1;ELSE
BJ[I]:=BJ[I-1];
END;
jr:=IF(BJ=-1,K1,K2);
IF(c>jr,jr*0.998,jr*1.002),colorffff;
N:=2;
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]<K2[I-1] THEN
BJ[I]:=-1;ELSE
BJ[I]:=BJ[I-1];
END;
jr:=IF(BJ=-1,K1,K2);
IF(c>jr,jr*0.998,jr*1.002),colorffff;
copyright 2016-2024 零点财经保留所有权 免责声明:网站部分内容转载至网络,如有侵权请告知删除 友链,商务链接,投稿,广告请联系qq:253161086
零点财经保留所有权
免责声明:网站部分内容转载至网络,如有侵权请告知删除