最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 优化短线精灵指标(通达信)

    正文概述    2024-04-13 17:24:29  

    买卖点一目了然,要说的只有灰线下挖坑区属于超跌区
    以下是代码:

    VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
    VAR2:=LLV(LOW,5);
    VAR3:=HHV(HIGH,5);
    SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
    SD: EMA(0.667*REF(SK,1)+0.333*SK,4);
    VAR4:=IF(crOSS(SD,SK) AND SK>=60,60,80);
    VAR5:=IF(CROSS(SK,20) OR CROSS(SK,SD) AND SK>20,20,10);
    买进: VAR5;
    卖出: VAR4;
    高抛: 80, POINTDOT;
    低吸: 20, POINTDOT;
    强弱: 50, POINTDOT;
    VAR6:=LLV(LOW,55);
    VAR7:=HHV(HIGH,34);
    VAR8:=EMA((VAR1-VAR6)/(VAR7-VAR6)*100,3);
    VAR9:=(SK+VAR8)/2;
    VARA:=EMA(0.667*REF(VAR8,1)+0.333*SK,2);
    VARB:=EMA(VAR9,5);
    VARC:=EMA(0.667*REF(VARB,1)+0.333*VARB,2);
    IF(VARB>=40,20,0);

    应要求再补两个选股公式:
    低位金叉选股:
    VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
    VAR2:=LLV(LOW,5);
    VAR3:=HHV(HIGH,5);
    SK:= EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
    SD:= EMA(0.667*REF(SK,1)+0.333*SK,4);
    VAR4:=IF(CROSS(SD,SK) AND SK>=60,60,80);
    VAR5:=CROSS(SK,20) OR CROSS(SK,SD) AND SK<40;
    买进: VAR5;
    -----------------------------------------------
    超跌选股:(此公式选出的股慎用,小心选上弱势股一直跌)
    VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
    VAR2:=LLV(LOW,5);
    VAR3:=HHV(HIGH,5);
    SK:= EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
    SD:= EMA(0.667*REF(SK,1)+0.333*SK,4);
    VAR4:=IF(CROSS(SD,SK) AND SK>=60,60,80);
    VAR5:=IF(CROSS(SK,20) OR CROSS(SK,SD) AND SK>20,20,10);
    VAR6:=LLV(LOW,55);
    VAR7:=HHV(HIGH,34);
    VAR8:=EMA((VAR1-VAR6)/(VAR7-VAR6)*100,3);
    VAR9:=(SK+VAR8)/2;
    VARA:=EMA(0.667*REF(VAR8,1)+0.333*SK,2);
    VARB:=EMA(VAR9,5);
    VARC:=EMA(0.667*REF(VARB,1)+0.333*VARB,2);
    VARB<40 AND VAR5;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 优化短线精灵指标(通达信) 加入收藏