以下是通达信指标三龙选股副图源码

{威力雷达}
SM:=(OPEN+HIGH+CLOSE+LOW)/4;
SMID:=MA(SM,3);
IM:=(INDEXO+INDEXH+INDEXL+INDEXC)/4;
IMID:=MA(IM,3);
SI1:=(SMID-REF(SMID,1))/SMID;
II:=(IMID-REF(IMID,1))/IMID;
RADER1:=SUM((SI1-II)*2,30)*1000;
RADERMA:=SMA(RADER1,30,1);
{钱龙长线}
LC:=REF(CLOSE,1);
VID:=SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC:=(CLOSE-LC)*VID;
LONG:=SUM(RC,0);
DIFF:=SMA(LONG,10,1);
DEA:=SMA(LONG,20,1);
LON:=DIFF-DEA;
LONMA := MA(LON,10);

{钱龙短线}
VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MY:= VAR2*(1+VAR1);
SHTMA:= MA(SHT,5);
{选股}
B1:=CROSS(RADER1,RADERMA);
B2:=CROSS(LONMA,LON);
B3:=CROSS(MY,SHTMA);
SELECT:B1 OR B2 OR B3;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。