• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信量价解盘(主图K线图)无未来未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-05-26|栏目:通达信公式

    TT:=240/FROMOPEN;
    比:=TT;
    J12:=(HIGH - ((HIGH - LOW) / 3));
    J23:=(LOW + ((HIGH - LOW) / 3));
    AAA:=CONST(HHV(H,90));
    BBB:=CONST(LLV(L,100));
    ma1:MA(CLOSE,5),LINETHICK0;
    MA2:MA(CLOSE,10),LINETHICK0;
    MA3:MA(CLOSE,20),LINETHICK0;
    MA4:MA(CLOSE,60),LINETHICK0;
    MA5:MA(CLOSE,120),LINETHICK0;
    DRAWKLINE(H,O,L,C);
    T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
    < REF(CLOSE,2) AND Abs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
    CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
    T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)
    > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02
    AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));
    T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));
    T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0));
    T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
    < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
    CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
    T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1)
    > REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
    CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));
    T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
    3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));
    T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
    3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));
    T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
    3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));
    T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
    3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));
    T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96
    AND CLOSE<REF(OPEN,1)
    AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04
    AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));
    T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97
    AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));
    T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03
    AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));
    T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
    AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND
    MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)
    > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));
    T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
    AND CLOSE=OPEN AND
    CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1)
    ,REF(OPEN,1))),1,0));
    T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));
    T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)
    -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));
    T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0));
    T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)
    >REF(OPEN,1) AND CLOSE>OPEN
    AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));
    T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN
    AND CLOSE/OPEN<0.98),1,0));
    T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)
    -REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)
    AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)
    <=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN
    AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)
    AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))
    <=1/100),1,0));
    T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)
    AND CLOSE>OPEN),1,0));
    T23{出水芙蓉}:=CONST(IF(((OPEN<ema(C,20) OR OPEN<EMA(C,40) OR OPEN<
    EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)
    >1.2 AND C/REF(C,1)>1.049)),1,0));
    T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)
    <REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)
    AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)
    <REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2)
    AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4)),1,0));
    T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)
    >REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1)
    AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)
    <REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND
    CLOSE<REF(CLOSE,4)),1,0));
    T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));
    T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)
    <REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)
    AND CLOSE<REF(CLOSE,1)),1,0));
    T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));
    T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));
    T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)
    -REF(OPEN,1))<0),1,0));
    T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));
    T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));
    T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));
    T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0));
    T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN
    AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1)
    AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))
    /CLOSE<0.002)),1,0));
    T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O
    >REF(O,1) AND C<REF(O,1)),1,0));
    T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));
    T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));
    T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));
    T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));
    T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));
    T42{M14}:=CONST((((AMOUNT / vol) / 100) > REF(HIGH,1)));
    T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));
    TS1:=IF(T1=1,0+0.03,0);
    TS2:=IF(T2=1,TS1+0.03,TS1);
    TS3:=IF(T3=1,TS2+0.03,TS2);
    TS4:=IF(T4=1,TS3+0.03,TS3);
    TS5:=IF(T5=1,TS4+0.03,TS4);
    TS6:=IF(T6=1,TS5+0.03,TS5);
    TS7:=IF(T7=1,TS6+0.03,TS6);
    TS8:=IF(T8=1,TS7+0.03,TS7);
    TS9:=IF(T9=1,TS8+0.03,TS8);
    TS10:=IF(T10=1,TS9+0.03,TS9);
    TS11:=IF(T11=1,TS10+0.03,TS10);
    TS12:=IF(T12=1,TS11+0.03,TS11);
    TS13:=IF(T13=1,TS12+0.03,TS12);
    TS14:=IF(T14=1,TS13+0.03,TS13);
    TS15:=IF(T15=1,TS14+0.03,TS14);
    TS16:=IF(T16=1,TS15+0.03,TS15);
    TS17:=IF(T17=1,TS16+0.03,TS16);
    TS18:=IF(T18=1,TS17+0.03,TS17);
    TS19:=IF(T19=1,TS18+0.03,TS18);
    TS20:=IF(T20=1,TS19+0.03,TS19);
    TS21:=IF(T21=1,TS20+0.03,TS20);
    TS22:=IF(T22=1,TS21+0.03,TS21);
    TS23:=IF(T23=1,TS22+0.03,TS22);
    TS24:=IF(T24=1,TS23+0.03,TS23);
    TS25:=IF(T25=1,TS24+0.03,TS24);
    TS26:=IF(T26=1,TS25+0.03,TS25);
    TS27:=IF(T27=1,TS26+0.03,TS26);
    TS28:=IF(T28=1,TS27+0.03,TS27);
    TS29:=IF(T29=1,TS28+0.03,TS28);
    TS30:=IF(T30=1,TS29+0.03,TS29);
    TS31:=IF(T31=1,TS30+0.03,TS30);
    TS32:=IF(T32=1,TS31+0.03,TS31);
    TS33:=IF(T33=1,TS32+0.03,TS32);
    TS34:=IF(T34=1,TS33+0.03,TS33);
    TS35:=IF(T35=1,TS34+0.03,TS34);
    TS36:=IF(T36=1,TS35+0.03,TS35);
    TS37:=IF(T37=1,TS36+0.03,TS36);
    TS38:=IF(T38=1,TS37+0.03,TS37);
    TS39:=IF(T39=1,TS38+0.03,TS38);
    TS40:=IF(T40=1,TS39+0.03,TS39);
    TS41:=IF(T41=1,TS40+0.03,TS40);
    TS42:=IF(T42=1,TS41+0.03,TS41);
    TS43:=IF(T43=1,TS42+0.03,TS42);
    DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORCYAN ;
    DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORCYAN ;
    DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLORCYAN ;
    DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORCYAN ;
    DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORCYAN ;
    DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORCYAN ;
    DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORCYAN ;
    DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORCYAN ;
    DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLORCYAN ;
    DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORCYAN ;
    DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORCYAN ;
    DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORCYAN ;
    DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。后市见底回升‖'),COLORCYAN ;
    DRAWTEXT(T14=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS14),'身怀六甲,底部,是见底回升,顶部,是见顶回落信号‖'),COLORCYAN ;
    DRAWTEXT(T15=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS15),'十字胎‖'),COLORBLUE ;
    DRAWTEXT(T16=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS16),'平顶,行情见顶,股价将反转。但下跌力度较小‖'),COLORBLUE ;
    DRAWTEXT(T17=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS17),'平底,行情探低见底,股价行将反转上升,但力度较小‖'),COLORBLUE ;
    DRAWTEXT(T18=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS18),'大阳烛,上升中,剧烈地向上攀升。下行中,剧烈地向上反弹
    ‖'),COLORBLUE ;
    DRAWTEXT(T19=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS19),'三个白武士,每日收盘价上移,表示可能见底回升‖'),COLORBLUE ;
    DRAWTEXT(T20=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS20),'双飞乌鸦,行情开始疲软将见顶回落‖'),COLORBLUE ;
    DRAWTEXT(T21=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS21),'孕育线,注意股价位置‖'),COLORBLUE ;
    DRAWTEXT(T22=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS22),'多方炮,底部可能上涨,中间上涨中继,顶部见顶信号‖'),COLORBLUE ;
    DRAWTEXT(T23=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS23),'出水芙蓉,阳线穿过20、40、60日均线,上攻势头初现‖'),COLORBLUE ;
    DRAWTEXT(T24=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS24),'上升三部曲,上涨信号‖'),COLORBLUE ;
    DRAWTEXT(T25=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS25),'下跌三部曲,下跌信号‖'),COLORBLUE ;
    DRAWTEXT(T26=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS26),'跳空缺口,突破盘整,向上涨、向下跌开始‖'),COLORBLUE ;
    DRAWTEXT(T27=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS27),'三只乌鸦站枝头,可能见顶回落‖'),COLORBLUE ;
    DRAWTEXT(T28=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS28),'光脚阴线,下跌信号‖'),COLORBLUE ;
    DRAWTEXT(T29=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS29),'光头阳线,多方积极上攻态势,后市看涨‖'),COLORBLUE ;
    DRAWTEXT(T30=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS30),'分离,注意看涨分离和看跌分离‖'),COLORBLUE ;
    DRAWTEXT(T31=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS31),'长下影,有可能止跌回升,升势末期,须小心‖'),COLORBLUE ;
    DRAWTEXT(T32=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS32),'长上影,表明行情上档压力沉重,升势受阻‖'),COLORBLUE ;
    DRAWTEXT(T33=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS33),'十字星,重要的警告信号,原趋势停顿或反转‖'),COLORBLUE ;
    DRAWTEXT(T34=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS34),'大阴烛,后市向淡,发生逆转‖'),COLORBLUE ;
    DRAWTEXT(T35=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS35),'好友反攻,跌势已尽,要展开一段反弹行情‖'),COLORBLUE ;
    DRAWTEXT(T36=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS36),'倾盆大雨,见顶信号‖'),COLORBLUE ;
    DRAWTEXT(T37=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS37),'今日成交量大于昨日,且有继续增大趋势'),COLORBLUE ;
    DRAWTEXT(T38=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS38),'今日成交量小于昨日,但有放大迹象'),COLORBLUE ;
    DRAWTEXT(T39=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS39),'今日成交量大于昨日, 但有缩小迹象'),COLORWHITE ;
    DRAWTEXT(T40=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS40),'今日成交量小于昨日,且有缩小迹象'),COLORWHITE ;
    DRAWTEXT(T41=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS41),'极端行情,在未来的几日内有85%的机会变更方向'),COLORRED ;
    DRAWTEXT(T42=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS42),'上涨趋势'),COLORWHITE ;
    DRAWTEXT(T43=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS43),'下跌趋势'),COLORCYAN ;
    DRAWKLINE(H,O,L,C);
    DH:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
    STICKLINE(DH<=-4,(C+O)/2,C,3,0),COLORAA0000;
    STICKLINE(DH<=-4,(C+O)/2,C,2,0),COLORCC0000;
    STICKLINE(DH<=-4,(C+O)/2,C,1,0),COLOREE0000;

    STICKLINE(DH<=-4,(C+O)/2,C,0.5,0),COLORFF0000;

    image.png



    未来函数检测公式代码域:

    TT:=240/FROMOPEN;比:=TT;J12:=(HIGH - ((HIGH - LOW) / 3));J23:=(LOW + ((HIGH - LOW) / 3));JJJ:=CONST(HHV(H,90));BBB:=CONST(LLV(L,100));ma1:MJ(CLOSE,5),LINETHICK0;MJ2:MJ(CLOSE,10),LINETHICK0;MJ3:MJ(CLOSE,20),LINETHICK0;MJ4:MJ(CLOSE,60),LINETHICK0;MJ5:MJ(CLOSE,120),LINETHICK0;DRJWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 JND REF(OPEN,1) < REF(CLOSE,2) JND Jbs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 JNDCLOSE/OPEN>1.05 JND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 JND REF(OPEN,1) > REF(CLOSE,2) JND JBS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 JND CLOSE/OPEN<0.97 JND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN JND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN JND CLOSE=LOW JND CLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 JND REF(OPEN,1) < REF(CLOSE,2) JND REF(OPEN,1)=REF(CLOSE,1) JNDCLOSE/OPEN>1.05 JND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 JND REF(OPEN,1) > REF(CLOSE,2) JND REF(OPEN,1)=REF(CLOSE,1) JNDCLOSE/OPEN<0.95 JND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW JND HIGH-LOW > 3*(MJX(OPEN,CLOSE)-LOW) JND CLOSE > MJ(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW JND HIGH-LOW > 3*(MJX(OPEN,CLOSE)-LOW) JND CLOSE < MJ(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MJX(OPEN,CLOSE) JND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) JND CLOSE < MJ(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MJX(OPEN,CLOSE) JND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) JND CLOSE>MJ(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 JND CLOSE/OPEN<0.96 JND CLOSE<REF(OPEN,1) JND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 JND CLOSE/OPEN>1.04 JND CLOSE>REF(OPEN,1) JND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 JND CLOSE/OPEN<0.97 JND OPEN>REF(CLOSE,1) JND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 JND CLOSE/OPEN>1.03 JND OPEN<REF(CLOSE,1) JND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((JBS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 JND JBS(CLOSE-OPEN)/CLOSE<0.005 JNDMJX(CLOSE,OPEN) < MJX(REF(CLOSE,1),REF(OPEN,1)) JND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((JBS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 JND CLOSE=OPEN JNDCLOSE < MJX(REF(CLOSE,1),REF(OPEN,1)) JND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((JBS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((JBS(LOW-REF(LOW,1))/LOW<0.001 JND JBS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 JND HIGH/LOW < CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) JND REF(CLOSE,1)>REF(OPEN,1) JND CLOSE>OPEN JND REF(CLOSE,1)>REF(CLOSE,2) JND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) JND CLOSE<OPEN JND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) JND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 JND REF(OPEN,1)>=REF(CLOSE,1) JND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 JND REF(OPEN,1)<=REF(CLOSE,2) JND REF(CLOSE,1)>=REF(OPEN,2) JND C>=OPEN JND (CLOSE-OPEN)/OPEN>=2/100 JND CLOSE>=REF(OPEN,1) JND OPEN<=REF(CLOSE,1) JND (MJX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) JND REF(CLOSE,1)<REF(OPEN,1) JND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<ema(C,20) OR OPEN<EMJ(C,40) OR OPEN<EMJ(C,60)) JND (C>MJX(EMJ(C,20),MJX(EMJ(C,40),EMJ(C,60))))JND (V/MJ(V,30)>1.2 JND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 JND REF(CLOSE,3)<REF(OPEN,3) JND REF(CLOSE,2)<REF(OPEN,2) JND REF(CLOSE,1)<REF(OPEN,1) JND REF(LOW,4)<REF(LOW,3) JND REF(LOW,4)<REF(LOW,2) JND REF(LOW,4)<REF(LOW,1) JND REF(HIGH,4)>REF(HIGH,3) JND REF(HIGH,4)>REF(HIGH,2) JND REF(HIGH,4)>REF(HIGH,1) JND CLOSE/OPEN>1.03 JND CLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 JND REF(CLOSE,3)>REF(OPEN,3) JND REF(CLOSE,2)>REF(OPEN,2) JND REF(CLOSE,1)>REF(OPEN,1) JND REF(LOW,4)<REF(LOW,3) JND REF(LOW,4)<REF(LOW,2) JND REF(LOW,4)<REF(LOW,1) JND REF(HIGH,4)>REF(HIGH,3) JND REF(HIGH,4)>REF(HIGH,2) JND REF(HIGH,4)>REF(HIGH,1) JND CLOSE/OPEN<0.97 JNDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) JND REF(CLOSE,1)<REF(OPEN,1) JND CLOSE<OPEN JND REF(CLOSE,1)<REF(CLOSE,2) JND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE JND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE JND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) JND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));T32{长上影}:=CONST(IF(((HIGH-MJX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN JND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 JND HIGH/LOW < OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) JND CLOSE>OPEN JND JBS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) JND CLOSE<OPEN JND JBS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 JND O<REF(C,1) JND O>REF(O,1) JND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) JND MJ(V,5)>REF(MJ(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) JND MJ(V,5)>REF(MJ(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)JND MJ(V,5)<REF(MJ(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)JND MJ(V,5)<REF(MJ(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((JMOUNT / vol) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((JMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12=1,TS11+0.03,TS11);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T18=1,TS17+0.03,TS17);TS19:=IF(T19=1,TS18+0.03,TS18);TS20:=IF(T20=1,TS19+0.03,TS19);TS21:=IF(T21=1,TS20+0.03,TS20);TS22:=IF(T22=1,TS21+0.03,TS21);TS23:=IF(T23=1,TS22+0.03,TS22);TS24:=IF(T24=1,TS23+0.03,TS23);TS25:=IF(T25=1,TS24+0.03,TS24);TS26:=IF(T26=1,TS25+0.03,TS25);TS27:=IF(T27=1,TS26+0.03,TS26);TS28:=IF(T28=1,TS27+0.03,TS27);TS29:=IF(T29=1,TS28+0.03,TS28);TS30:=IF(T30=1,TS29+0.03,TS29);TS31:=IF(T31=1,TS30+0.03,TS30);TS32:=IF(T32=1,TS31+0.03,TS31);TS33:=IF(T33=1,TS32+0.03,TS32);TS34:=IF(T34=1,TS33+0.03,TS33);TS35:=IF(T35=1,TS34+0.03,TS34);TS36:=IF(T36=1,TS35+0.03,TS35);TS37:=IF(T37=1,TS36+0.03,TS36);TS38:=IF(T38=1,TS37+0.03,TS37);TS39:=IF(T39=1,TS38+0.03,TS38);TS40:=IF(T40=1,TS39+0.03,TS39);TS41:=IF(T41=1,TS40+0.03,TS40);TS42:=IF(T42=1,TS41+0.03,TS41);TS43:=IF(T43=1,TS42+0.03,TS42);DRJWTEXT(T1=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS1),'早晨之星,见底回升‖'),COLORCYJN ;DRJWTEXT(T2=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS2),'黄昏之星,见顶回落‖'),COLORCYJN ;DRJWTEXT(T3=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLORCYJN ;DRJWTEXT(T4=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS4),'垂死十字,下跌信号‖'),COLORCYJN ;DRJWTEXT(T5=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORCYJN ;DRJWTEXT(T6=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORCYJN ;DRJWTEXT(T7=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORCYJN ;DRJWTEXT(T8=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORCYJN ;DRJWTEXT(T9=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLORCYJN ;DRJWTEXT(T10=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORCYJN ;DRJWTEXT(T11=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORCYJN ;DRJWTEXT(T12=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS12),'乌云盖顶,见顶回落信号‖'),COLORCYJN ;DRJWTEXT(T13=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS13),'曙光初现,将演化为V型反转或横盘。后市见底回升‖'),COLORCYJN ;DRJWTEXT(T14=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS14),'身怀六甲,底部,是见底回升,顶部,是见顶回落信号‖'),COLORCYJN ;DRJWTEXT(T15=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS15),'十字胎‖'),COLORBLUE ;DRJWTEXT(T16=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS16),'平顶,行情见顶,股价将反转。但下跌力度较小‖'),COLORBLUE ;DRJWTEXT(T17=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS17),'平底,行情探低见底,股价行将反转上升,但力度较小‖'),COLORBLUE ;DRJWTEXT(T18=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS18),'大阳烛,上升中,剧烈地向上攀升。下行中,剧烈地向上反弹‖'),COLORBLUE ;DRJWTEXT(T19=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS19),'三个白武士,每日收盘价上移,表示可能见底回升‖'),COLORBLUE ;DRJWTEXT(T20=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS20),'双飞乌鸦,行情开始疲软将见顶回落‖'),COLORBLUE ;DRJWTEXT(T21=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS21),'孕育线,注意股价位置‖'),COLORBLUE ;DRJWTEXT(T22=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS22),'多方炮,底部可能上涨,中间上涨中继,顶部见顶信号‖'),COLORBLUE ;DRJWTEXT(T23=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS23),'出水芙蓉,阳线穿过20、40、60日均线,上攻势头初现‖'),COLORBLUE ;DRJWTEXT(T24=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS24),'上升三部曲,上涨信号‖'),COLORBLUE ;DRJWTEXT(T25=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS25),'下跌三部曲,下跌信号‖'),COLORBLUE ;DRJWTEXT(T26=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS26),'跳空缺口,突破盘整,向上涨、向下跌开始‖'),COLORBLUE ;DRJWTEXT(T27=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS27),'三只乌鸦站枝头,可能见顶回落‖'),COLORBLUE ;DRJWTEXT(T28=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS28),'光脚阴线,下跌信号‖'),COLORBLUE ;DRJWTEXT(T29=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS29),'光头阳线,多方积极上攻态势,后市看涨‖'),COLORBLUE ;DRJWTEXT(T30=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS30),'分离,注意看涨分离和看跌分离‖'),COLORBLUE ;DRJWTEXT(T31=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS31),'长下影,有可能止跌回升,升势末期,须小心‖'),COLORBLUE ;DRJWTEXT(T32=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS32),'长上影,表明行情上档压力沉重,升势受阻‖'),COLORBLUE ;DRJWTEXT(T33=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS33),'十字星,重要的警告信号,原趋势停顿或反转‖'),COLORBLUE ;DRJWTEXT(T34=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS34),'大阴烛,后市向淡,发生逆转‖'),COLORBLUE ;DRJWTEXT(T35=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS35),'好友反攻,跌势已尽,要展开一段反弹行情‖'),COLORBLUE ;DRJWTEXT(T36=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS36),'倾盆大雨,见顶信号‖'),COLORBLUE ; DRJWTEXT(T37=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS37),'今日成交量大于昨日,且有继续增大趋势'),COLORBLUE ;DRJWTEXT(T38=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS38),'今日成交量小于昨日,但有放大迹象'),COLORBLUE ;DRJWTEXT(T39=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS39),'今日成交量大于昨日, 但有缩小迹象'),COLORWHITE ;DRJWTEXT(T40=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS40),'今日成交量小于昨日,且有缩小迹象'),COLORWHITE ;DRJWTEXT(T41=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS41),'极端行情,在未来的几日内有85%的机会变更方向'),COLORRED ;DRJWTEXT(T42=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS42),'上涨趋势'),COLORWHITE ;DRJWTEXT(T43=1 JND CURRBJRSCOUNT=58,JJJ-(JJJ*TS43),'下跌趋势'),COLORCYJN ;DRJWKLINE(H,O,L,C);DH:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);STICKLINE(DH<=-4,(C+O)/2,C,3,0),COLORJJ0000;STICKLINE(DH<=-4,(C+O)/2,C,2,0),COLORCC0000;STICKLINE(DH<=-4,(C+O)/2,C,1,0),COLOREE0000;STICKLINE(DH<=-4,(C+O)/2,C,0.5,0),COLORFF0000;

    未发现:CJPITJL...

    未发现:COST...

    未发现:DYNJINFO...

    未发现:FINJNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BJCKSET...

    未发现:BJRSNEXT...

    警惕!警惕!警惕!该公式包含未来函数:CURRBJRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    警惕!警惕!警惕!该公式包含未来函数:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRJWLINE...

    未发现:REFX...

    未发现:FLJTZIG...

    未发现:FLJTZIGJ...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEJK...

    未发现:PEJKJ...

    未发现:PEJKBJRS...

    未发现:PEJKBJRSJ...

    未发现:PLOYLINE...

    未发现:REFDJTE...

    未发现:TROUGH...

    未发现:TROUGHJ...

    未发现:TROUGHBJRS...

    未发现:XMJ...

    未发现:ZIG...

    未发现:ZIGJ...

    未发现:ZXNH...

    未发现:#YEJR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEJK...

    未发现:$PEJKBJRS...

    未发现:$TROUGH...

    未发现:$TROUGHBJRS...

    未发现:$FLJTZIG...

    未发现:$FLJTZIGJ...

    未发现:$PEJKJ...

    未发现:$PEJKBJRSJ...

    未发现:$TROUGHJ...

    未发现:$ZIGJ...

    未发现:$FFT...

    未发现:$BJCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNJINFO...

    未发现:$FINJNCE...

    未发现:$DRJWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号