麻烦老师把这通达信的指标公式,改成选股和预警公式!谢谢!

2024-12-14 06:28:47
推荐回答(1个)
回答1:

{绿线买}
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(涨停,13)>=1;
REF(PP,1) AND HH;
=====================
{黄线买}
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(涨停,13)>=1;
涨梁高停 AND HH;
=========================
{红色买}
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
抄底线:=20;
PP3:=操作掘仿线<抄底线 AND REF(操作线,1)>抄底线;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
HH:=COUNT(涨停,13)>判渣纤=1;
PP3 AND HH;