以下是通达信短线高手四个预警指标源码

VAR1:=1;
 VAR2:=(2*CLOSE+HIGH+LOW)/4;
 VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
 VAR4:=LLV(LOW,5);
 VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3*VAR1;
短快进选股:CROSS(散户,庄家) AND 散户<50 AND 29<散户;

VAR1:=1;
 VAR2:=(2*CLOSE+HIGH+LOW)/4;
 VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
 VAR4:=LLV(LOW,5);
 VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3*VAR1;
逢低吸预警:CROSS(散户,庄家) AND 散户<30;

 VAR1:=1;
 VAR2:=(2*CLOSE+HIGH+LOW)/4;
 VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
 VAR4:=LLV(LOW,5);
 VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3*VAR1;
逢高减预警:CROSS(庄家,散户) AND 散户>70;

 VAR1:=1;
 VAR2:=(2*CLOSE+HIGH+LOW)/4;
 VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
 VAR4:=LLV(LOW,5);
 VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3*VAR1;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3*VAR1;
短快出预警:CROSS(庄家,散户) AND 散户>40 AND 71>散户;

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