您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信知识>>正文内容

麻烦高手编个符合出击条件的选股公式 [通达信]

  • 咨询内容: 顶:=85; 中:=50; 底:=20; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VARA:=IF(VAR9>100,VAR9-100,0); VARB:=HHV(HIGH,34); AA:= VARA*2; BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13); VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2); CC:SMA(VAR5,20,1),COLORRED; CC1:SMA(CC,5,1),COLORGREEN; STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED; STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN; 出击:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0),COLORRED; {跑} DRAWICON(CC < REF(CC,1) AND REF(CC,1) < REF(CC,2) AND CC > CC1,100,2); DRAWICON(CROSS(CC1,CC),100,15);

     

  • 通达信技术部: 顶:=85; 中:=50; 底:=20; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VARA:=IF(VAR9>100,VAR9-100,0); VARB:=HHV(HIGH,34); AA:= VARA*2; BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13); VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2); CC:SMA(VAR5,20,1),COLORRED; CC1:SMA(CC,5,1),COLORGREEN; STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED; STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN; 出击:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0),COLORRED; {跑} DRAWICON(CC < REF(CC,1) AND REF(CC,1) < REF(CC,2) AND CC > CC1,100,2); DRAWICON(CROSS(CC1,CC),100,15);

     

  • 通达信客服: 顶:=85;
    中:=50;
    底:=20;
    VAR1:=HHV(HIGH,9)-LLV(LOW,9);
    VAR2:=HHV(HIGH,9)-CLOSE;
    VAR3:=CLOSE-LLV(LOW,9);
    VAR4:=VAR2/VAR1*100-70;
    VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    VAR6:=(2*CLOSE+HIGH+LOW)/4;
    VAR7:=SMA(VAR3/VAR1*100,3,1);
    VAR8:=LLV(LOW,34);
    VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
    VARA:=IF(VAR9>100,VAR9-100,0);
    VARB:=HHV(HIGH,34);
    AA:= VARA*2;
    BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
    VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
    CC:=SMA(VAR5,20,1),COLORRED;
    CC1:=SMA(CC,5,1),COLORGREEN;

    xg:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0);

     

  • 网友交流:
    以下是引用qiaofeng1977在2013-6-6 2:50:00的发言:
    顶:=85;
    中:=50;
    底:=20;
    VAR1:=HHV(HIGH,9)-LLV(LOW,9);
    VAR2:=HHV(HIGH,9)-CLOSE;
    VAR3:=CLOSE-LLV(LOW,9);
    VAR4:=VAR2/VAR1*100-70;
    VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    VAR6:=(2*CLOSE+HIGH+LOW)/4;
    VAR7:=SMA(VAR3/VAR1*100,3,1);
    VAR8:=LLV(LOW,34);
    VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
    VARA:=IF(VAR9>100,VAR9-100,0);
    VARB:=HHV(HIGH,34);
    AA:= VARA*2;
    BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
    VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
    CC:=SMA(VAR5,20,1),COLORRED;
    CC1:=SMA(CC,5,1),COLORGREEN;

    xg:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0);
    这个选股公式是什么意思啊?哪位老师能具体说说吗。
    本人新手亏60%多了,饥渴学习中。。。。。。

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容