以下是通达信笑脸底部买入公式和选股预警

通达信笑脸底部买入公式和选股预警

源码

买:=IF(“KDJ.J”(27,3,3)<0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
 VAR2:=LLV(LOW,5);
 VAR3:=HHV(HIGH,5);
 VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
 MA1:=MA(VAR4,2);
 AA:STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
 AAA:IF(VAR4>MA1,VAR4,MA1),COLORRED;
 BBB:=STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED;
 STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORFFCC66;
 DRAWICON(CROSS(9.9,买),VAR4-12,5);
 STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,3,1),COLORYELLOW;
 XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORYELLOW;
 STICKLINE(FILTER(XXX ,5) ,VAR4+5,MA1-4,3,1),COLORYELLOW;
 V20:20,COLOR00FF00;
 V50:50,COLOR00FF00;
 V80:80,COLOR00FF00;
卖:=IF(“KDJ.J”(27,3,3)>100,90,100);
 DRAWICON(CROSS(卖,99.9),VAR4+12,6);
 CCC:=VAR4>MA1 AND REF(VAR4,1)>70;
 STICKLINE(CROSS(卖,99.9),VAR4,MA1-9,3,1),COLORGREEN;
 YYY:=STICKLINE(CCC,VAR4+5,MA1-4,3,1),COLORGREEN;
 STICKLINE(FILTER(YYY ,5) ,VAR4+5,MA1-4,3,1),COLORGREEN;
 DRAWTEXT(FILTER(BBB,5),VAR4-8,’买’),COLORRED;
 DRAWTEXT(FILTER(CCC,5),VAR4+8,’卖’),COLORGREEN;

 

选股公式
 买:=IF(“KDJ.J”(27,3,3)<0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
 VAR2:=LLV(LOW,5);
 VAR3:=HHV(HIGH,5);
 VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
 MA1:=MA(VAR4,2);
 AA:=STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
 AAA:=IF(VAR4>MA1,VAR4,MA1),COLORRED;
 BBB:=STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED;

XG:CROSS(9.9,买);

 

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