股票查询: | 行情分析 DDX指标 走势点评 股票公告 大事 主力持仓 股权质押 分红 大小非 十大股东 股本结构 高管持股 研报 高管 主营 龙虎榜 股吧 |
公式编写说明:
N:=10;W:=20;M:=10;TT1:=CONST(HHVBARS(V,N));T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(TT1=0,C,REF(C,TT1))),DRAWNULL),COLORFF00FF; IF(CURRBARSCOUNT=TT1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF;{DRAWTEXT(ISLASTBAR,T0,' 平台'),COLORCC00CC;}W1:=CONST(REF(HHVBARS(V,W),TT1+1)+TT1+1);W0:IF(CURRBARSCOUNT<=TT1+W+3 AND CURRBARSCOUNT>=TT1+1,CONST(REF(C,W1)),DRAWNULL),COLOR009999; IF(CURRBARSCOUNT=W1+1,W0,DRAWNULL),CIRCLEDOT,COLOR00CCCC;Q1:=CONST(REF(HHVBARS(V,M),TT1+1)+TT1+1);Q0:IF(CURRBARSCOUNT<=TT1+M+3 AND CURRBARSCOUNT>=TT1+1,CONST(REF(C,Q1)),DRAWNULL),COLOR009900; IF(CURRBARSCOUNT=Q1+1,Q0,DRAWNULL),CIRCLEDOT,COLOR00CC00;早晨之星:=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));黄昏之星:=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));长十字:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));垂死十字:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0));早晨十字星:=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));黄昏十字星:=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));射击之星:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));倒转锤头:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));锤头:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));吊颈:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));穿头破脚:=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));乌云盖顶:=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));曙光初现:=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));身怀六甲:=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));十字胎:=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));平顶:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));平底:=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));大阳烛:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0));三个白武士:=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));双飞乌鸦:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98),1,0));孕育线:=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));多方炮:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN),1,0));出水芙蓉:=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));上升三部曲:=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));下跌三部曲:=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));跳空缺口:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));三只乌鸦:=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));光脚阴线:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));光头阳线:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));分离:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0));长下影:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));长上影:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));十字星:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));大阴烛:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0));好友反攻:=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));倾盆大雨:=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));芝麻开花:=REF(O,1)>REF(H,2) AND REF(C,1)>REF(O,1) AND O>REF(H,1) AND L>=O AND C>O AND (C/REF(C,1)-1)*100>4;VS1:=IF(早晨之星=1,0+0.05,0);VS2:=IF(黄昏之星=1,VS1+0.05,VS1);VS3:=IF(长十字=1,VS2+0.05,VS2);VS4:=IF(垂死十字=1,VS3+0.05,VS3);VS5:=IF(早晨十字星=1,VS4+0.05,VS4);VS6:=IF(黄昏十字星=1,VS5+0.05,VS5);VS7:=IF(射击之星=1,VS6+0.05,VS6);VS8:=IF(倒转锤头=1,VS7+0.05,VS7);VS9:=IF(锤头=1,VS8+0.05,VS8);VS10:=IF(吊颈=1,VS9+0.05,VS9);VS11:=IF(穿头破脚=1,VS10+0.05,VS10);VS12:=IF(乌云盖顶=1,VS11+0.05,VS11);VS13:=IF(曙光初现=1,VS12+0.05,VS12);VS14:=IF(身怀六甲=1,VS13+0.05,VS13);VS15:=IF(十字胎=1,VS14+0.05,VS14);VS16:=IF(平顶=1,VS15+0.05,VS15);VS17:=IF(平底=1,VS16+0.05,VS16);VS18:=IF(大阳烛=1,VS17+0.05,VS17);VS19:=IF(三个白武士=1,VS18+0.05,VS18);VS20:=IF(双飞乌鸦=1,VS19+0.05,VS19);VS21:=IF(孕育线=1,VS20+0.05,VS20);VS22:=IF(多方炮=1,VS21+0.05,VS21);VS23:=IF(出水芙蓉=1,VS22+0.05,VS22);VS24:=IF(上升三部曲=1,VS23+0.05,VS23);VS25:=IF(下跌三部曲=1,VS24+0.05,VS24);VS26:=IF(跳空缺口=1,VS25+0.05,VS25);VS27:=IF(三只乌鸦=1,VS26+0.05,VS26);VS28:=IF(光脚阴线=1,VS27+0.05,VS27);VS29:=IF(光头阳线=1,VS28+0.05,VS28);VS30:=IF(分离=1,VS29+0.05,VS29);VS31:=IF(长下影=1,VS30+0.05,VS30);VS32:=IF(长上影=1,VS31+0.05,VS31);VS33:=IF(十字星=1,VS32+0.05,VS32);VS34:=IF(大阴烛=1,VS33+0.05,VS33);VS35:=IF(好友反攻=1,VS34+0.05,VS34);VS36:=IF(倾盆大雨=1,VS35+0.05,VS35);VS37:=IF(芝麻开花=1,VS36+0.05,VS36);DRAWTEXT_FIX(早晨之星=1,0.02,VS1,0,'早晨之星,见底回升'),COLORFF00FF ;DRAWTEXT_FIX(黄昏之星=1,0.02,VS2,0,'黄昏之星,见顶回落'),COLORFFFF00 ;DRAWTEXT_FIX(长十字=1,0.02,VS3,0,'长十字,重要的警告信号,原趋势停顿或反转'),COLOR00FFFF ;DRAWTEXT_FIX(垂死十字=1,0.02,VS4,0,'垂死十字,下跌信号'),COLORFFFF00 ;DRAWTEXT_FIX(早晨十字星=1,0.02,VS5,0,'早晨十字星,上涨信号,见底回升'),COLORFF00FF ;DRAWTEXT_FIX(黄昏十字星=1,0.02,VS6,0,'黄昏十字星,趋势停顿或反转,下跌或,见顶回落'),COLORFFFF00 ;DRAWTEXT_FIX(射击之星=1,0.02,VS7,0,'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低'),COLORFFFF00 ;DRAWTEXT_FIX(倒转锤头=1,0.02,VS8,0,'倒转锤头构成一个看涨信号,可能见底回升'),COLORFF00FF ;DRAWTEXT_FIX(锤头=1,0.02,VS9,0,'锤头,可能见底回升,如有量配合,信号强烈'),COLOR0000FF ;DRAWTEXT_FIX(吊颈=1,0.02,VS10,0,'吊颈,上升行情中见顶回落,顶部出现,见顶信号'),COLORFFFF00 ;DRAWTEXT_FIX(穿头破脚=1,0.02,VS11,0,'穿头破脚,顶部出现,见顶回落信号'),COLORFFFF00 ;DRAWTEXT_FIX(乌云盖顶=1,0.02,VS12,0,'乌云盖顶,见顶回落信号'),COLORFFFF00 ;DRAWTEXT_FIX(曙光初现=1,0.02,VS13,0,'曙光初现,将演化为V型反转或横盘。后市见底回升'),COLORFF00FF ;DRAWTEXT_FIX(身怀六甲=1,0.02,VS14,0,'身怀六甲,底部,是见底回升,顶部,是见顶回落信号'),COLOR00FFFF ;DRAWTEXT_FIX(十字胎=1,0.02,VS15,0,'十字胎'),COLOR00FFFF ;DRAWTEXT_FIX(平顶=1,0.02,VS16,0,'平顶,行情见顶,股价将反转。但下跌力度较小'),COLORFFFFFF ;DRAWTEXT_FIX(平底=1,0.02,VS17,01,'平底,行情探低见底,股价行将反转上升,但力度较小'),COLORFFFFFF ;DRAWTEXT_FIX(大阳烛=1,0.02,VS18,0,'大阳烛,上升中,剧烈地向上攀升。下行中,剧烈地向上反弹'),COLOR0000FF ;DRAWTEXT_FIX(三个白武士=1,0.02,VS19,0,'三个白武士,每日收盘价上移,表示可能见底回升'),COLORFFFFFF ;DRAWTEXT_FIX(双飞乌鸦=1,0.02,VS20,0,'双飞乌鸦,行情开始疲软将见顶回落'),COLORFF0000 ;DRAWTEXT_FIX(孕育线=1,0.02,VS21,0,'孕育线,注意股价位置'),COLOR00FFFF ;DRAWTEXT_FIX(多方炮=1,0.02,VS22,0,'多方炮,底部可能上涨,中间上涨中继,顶部见顶信号'),COLOR00FFFF ;DRAWTEXT_FIX(出水芙蓉=1,0.02,VS23,0,'出水芙蓉,阳线穿过20、40、60日均线,上攻势头初现'),COLORFF00FF ;DRAWTEXT_FIX(上升三部曲=1,0.02,VS24,0,'上升三部曲,上涨信号'),COLORFF00FF ;DRAWTEXT_FIX(下跌三部曲=1,0.02,VS25,0,'下跌三部曲,下跌信号'),COLORFFFF00 ;DRAWTEXT_FIX(跳空缺口=1,0.02,VS26,0,'跳空缺口,突破盘整,向上涨、向下跌开始'),COLOR00FFFF ;DRAWTEXT_FIX(三只乌鸦=1,0.02,VS27,0,'三只乌鸦站枝头,可能见顶回落'),COLORFFFF00 ;DRAWTEXT_FIX(光脚阴线=1,0.02,VS28,0,'光脚阴线,下跌信号'),COLORFFFF00 ;DRAWTEXT_FIX(光头阳线=1,0.02,VS29,0,'光头阳线,多方积极上攻态势,后市看涨'),COLOR0000FF ;DRAWTEXT_FIX(分离=1,0.02,VS30,0,'分离,注意看涨分离和看跌分离'),COLOR00FFFF ;DRAWTEXT_FIX(长下影=1,0.02,VS31,0,'长下影,有可能止跌回升,升势末期,须小心'),COLOR00FFFF ;DRAWTEXT_FIX(长上影=1,0.02,VS32,0,'长上影,表明行情上档压力沉重,升势受阻'),COLORFFFF00 ;DRAWTEXT_FIX(十字星=1,0.02,VS33,0,'十字星,重要的警告信号,原趋势停顿或反转'),COLOR00FFFF ;DRAWTEXT_FIX(大阴烛=1,0.02,VS34,0,'大阴烛,后市向淡,发生逆转'),COLORFF0000 ;DRAWTEXT_FIX(好友反攻=1,0.02,VS35,0,'好友反攻,跌势已尽,要展开一段反弹行情'),COLORFF00FF ;DRAWTEXT_FIX(倾盆大雨=1,0.02,VS36,0,'倾盆大雨,见顶信号'),COLORFFFF00 ; DRAWTEXT_FIX(芝麻开花=1,0.02,VS37,0,'芝麻开花,节节高'),COLOR0000FF ;
公式源码示例:
{N(20,200,90)}
LT:=CURRBARSCOUNT=N;
早晨之星:=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));
黄昏之星:=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));
长十字:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));
垂死十字:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0));
早晨十字星:=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));
黄昏十字星:=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));
射击之星:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));
倒转锤头:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));
锤头:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));
吊颈:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));
穿头破脚:=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));
乌云盖顶:=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));
曙光初现:=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));
身怀六甲:=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));
十字胎:=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));
平顶:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));
平底:=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));
大阳烛:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0));
三个白武士:=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));
双飞乌鸦:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98),1,0));
孕育线:=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));
多方炮:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN),1,0));
出水芙蓉:=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));
上升三部曲:=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));
下跌三部曲:=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));
跳空缺口:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));
三只乌鸦:=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));
光脚阴线:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));
光头阳线:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));
分离:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0));
长下影:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));
长上影:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));
十字星:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));
大阴烛:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0));
好友反攻:=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));
倾盆大雨:=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));
芝麻开花:=CONST(REF(O,1)>REF(H,2) AND REF(C,1)>REF(O,1) AND O>REF(H,1) AND L>=O AND C>O AND (C/REF(C,1)-1)*100>4);
VS1:=CONST(HHV(H,140));
VS2:=VS1-0.05;
VS3:=VS2-0.05;
VS4:=VS3-0.05;
VS5:=VS4-0.05;
VS6:=VS5-0.05;
VS7:=VS6-0.05;
VS8:=VS7-0.05;
VS9:=VS8-0.05;
VS10:=VS9-0.05;
VS11:=VS10-0.05;
VS12:=VS11-0.05;
VS13:=VS12-0.05;
VS14:=VS13-0.05;
VS15:=VS14-0.05;
VS16:=VS15-0.05;
VS17:=VS16-0.05;
VS18:=VS17-0.05;
VS19:=VS18-0.05;
VS20:=VS19-0.05;
VS21:=VS20-0.05;
VS22:=VS21-0.05;
VS23:=VS22-0.05;
VS24:=VS23-0.05;
VS25:=VS24-0.05;
VS26:=VS25-0.05;
VS27:=VS26-0.05;
VS28:=VS27-0.05;
VS29:=VS28-0.05;
VS30:=VS29-0.05;
VS31:=VS30-0.05;
VS32:=VS31-0.05;
VS33:=VS32-0.05;
VS34:=VS33-0.05;
VS35:=VS34-0.05;
VS36:=VS35-0.05;
VS37:=VS36-0.05;
DRAWTEXT(LT AND 早晨之星=1,VS1,'早晨之星,见底回升'),COLORFF00FF ;
DRAWTEXT(LT AND 黄昏之星=1,VS2,'黄昏之星,见顶回落'),COLORFFFF00 ;
DRAWTEXT(LT AND 长十字=1,VS3,'长十字,重要的警告信号,原趋势停顿或反转'),COLOR00FFFF ;
DRAWTEXT(LT AND 垂死十字=1,VS4,'垂死十字,下跌信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 早晨十字星=1,VS5,'早晨十字星,上涨信号,见底回升'),COLORFF00FF ;
DRAWTEXT(LT AND 黄昏十字星=1,VS6,'黄昏十字星,趋势停顿或反转,下跌或,见顶回落'),COLORFFFF00 ;
DRAWTEXT(LT AND 射击之星=1,VS7,'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低'),COLORFFFF00 ;
DRAWTEXT(LT AND 倒转锤头=1,VS8,'倒转锤头构成一个看涨信号,可能见底回升'),COLORFF00FF ;
DRAWTEXT(LT AND 锤头=1,VS9,'锤头,可能见底回升,如有量配合,信号强烈'),COLOR0000FF ;
DRAWTEXT(LT AND 吊颈=1,VS10,'吊颈,上升行情中见顶回落,顶部出现,见顶信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 穿头破脚=1,VS11,'穿头破脚,顶部出现,见顶回落信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 乌云盖顶=1,VS12,'乌云盖顶,见顶回落信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 曙光初现=1,VS13,'曙光初现,将演化为V型反转或横盘。后市见底回升'),COLORFF00FF ;
DRAWTEXT(LT AND 身怀六甲=1,VS14,'身怀六甲,底部,是见底回升,顶部,是见顶回落信号'),COLOR00FFFF ;
DRAWTEXT(LT AND 十字胎=1,VS15,'十字胎'),COLOR00FFFF ;
DRAWTEXT(LT AND 平顶=1,VS16,'平顶,行情见顶,股价将反转。但下跌力度较小'),COLORFFFFFF ;
DRAWTEXT(LT AND 平底=1,VS17,'平底,行情探低见底,股价行将反转上升,但力度较小'),COLORFFFFFF ;
DRAWTEXT(LT AND 大阳烛=1,VS18,'大阳烛,上升中,剧烈地向上攀升。下行中,剧烈地向上反弹'),COLOR0000FF ;
DRAWTEXT(LT AND 三个白武士=1,VS19,'三个白武士,每日收盘价上移,表示可能见底回升'),COLORFFFFFF ;
DRAWTEXT(LT AND 双飞乌鸦=1,VS20,'双飞乌鸦,行情开始疲软将见顶回落'),COLORFF0000 ;
DRAWTEXT(LT AND 孕育线=1,VS21,'孕育线,注意股价位置'),COLOR00FFFF ;
DRAWTEXT(LT AND 多方炮=1,VS22,'多方炮,底部可能上涨,中间上涨中继,顶部见顶信号'),COLOR00FFFF ;
DRAWTEXT(LT AND 出水芙蓉=1,VS23,'出水芙蓉,阳线穿过20、40、60日均线,上攻势头初现'),COLORFF00FF ;
DRAWTEXT(LT AND 上升三部曲=1,VS24,'上升三部曲,上涨信号'),COLORFF00FF ;
DRAWTEXT(LT AND 下跌三部曲=1,VS25,'下跌三部曲,下跌信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 跳空缺口=1,VS26,'跳空缺口,突破盘整,向上涨、向下跌开始'),COLOR00FFFF ;
DRAWTEXT(LT AND 三只乌鸦=1,VS27,'三只乌鸦站枝头,可能见顶回落'),COLORFFFF00 ;
DRAWTEXT(LT AND 光脚阴线=1,VS28,'光脚阴线,下跌信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 光头阳线=1,VS29,'光头阳线,多方积极上攻态势,后市看涨'),COLOR0000FF ;
DRAWTEXT(LT AND 分离=1,VS30,'分离,注意看涨分离和看跌分离'),COLOR00FFFF ;
DRAWTEXT(LT AND 长下影=1,VS31,'长下影,有可能止跌回升,升势末期,须小心'),COLOR00FFFF ;
DRAWTEXT(LT AND 长上影=1,VS32,'长上影,表明行情上档压力沉重,升势受阻'),COLORFFFF00 ;
DRAWTEXT(LT AND 十字星=1,VS33,'十字星,重要的警告信号,原趋势停顿或反转'),COLOR00FFFF ;
DRAWTEXT(LT AND 大阴烛=1,VS34,'大阴烛,后市向淡,发生逆转'),COLORFF0000 ;
DRAWTEXT(LT AND 好友反攻=1,VS35,'好友反攻,跌势已尽,要展开一段反弹行情'),COLORFF00FF ;
DRAWTEXT(LT AND 倾盆大雨=1,VS36,'倾盆大雨,见顶信号'),COLORFFFF00 ;
DRAWTEXT(LT AND 芝麻开花=1,VS37,'芝麻开花,节节高'),COLOR0000FF ;
看 股吧公式 www.ka nguba.com
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。 本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!联系我们:nlfen9@hotmail.com |
|||