通達(dá)信K線形態(tài)+缺口提示主圖指標(biāo)公式
- 指標(biāo)類(lèi)別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類(lèi): 停損
- 畫(huà)線方法: 主圖
- 日期:2024-03-05 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信K線形態(tài)+缺口提示主圖指標(biāo)公式:
上市日期:FINANCE(42),NODRAW;
{標(biāo)缺口}
LL:=REF(L,1);HH:=REF(H,1);
上跳:=L>HH;下跳:=H<LL;
DRAWICON(上跳,L*0.9952,1);
DRAWICON(下跳,H*1.0058,2);
{漲跌停}
漲停:=CLOSE>REF(CLOSE,1)*1.095 AND CLOSE=HIGH;
跌停:=CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW;
STICKLINE(漲停,O,C,1,0),COLOR00FFFF;
STICKLINE(跌停,O,C,1,0),COLORFF0000;
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L);
明日支撐:=L+(C-GJ);
阻:REF(明日阻力 , 1),NODRAW;
支:REF(明日支撐 , 1),NODRAW,COLORRED;
STICKLINE(ISLASTBAR AND C>=阻,阻,阻,10,1),COLOR0000FF;
STICKLINE(ISLASTBAR AND C<阻,阻,阻,10,1),COLOR00FF00;
STICKLINE(ISLASTBAR AND C>=支,支,支,10,1),COLORFF00FF;
STICKLINE(ISLASTBAR AND C<支,支,支,10,1),COLORFF8800;
DRAWTEXT_FIX(C>1,0,0.02,0,'K線形態(tài):'),COLORFFFFFF;
早晨之星:=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));
長(zhǎng)十字:=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));
倒轉(zhuǎn)錘頭:=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));
曙光初現(xiàn):=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));
大陽(yáng)燭:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0));
三個(gè)白武士:=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));
光頭陽(yáng)線:=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));
長(zhǎng)下影:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));
長(zhǎng)上影:=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));
VS1:=IF(早晨之星=1,0+0.08,0);
VS2:=IF(黃昏之星=1,VS1+0.08,VS1);
VS3:=IF(長(zhǎng)十字=1,VS2+0.08,VS2);
VS4:=IF(垂死十字=1,VS3+0.08,VS3);
VS5:=IF(早晨十字星=1,VS4+0.08,VS4);
VS6:=IF(黃昏十字星=1,VS5+0.08,VS5);
VS7:=IF(射擊之星=1,VS6+0.08,VS6);
VS8:=IF(倒轉(zhuǎn)錘頭=1,VS7+0.08,VS7);
VS9:=IF(錘頭=1,VS8+0.08,VS8);
VS10:=IF(吊頸=1,VS9+0.08,VS9);
VS11:=IF(穿頭破腳=1,VS10+0.08,VS10);
VS12:=IF(烏云蓋頂=1,VS11+0.08,VS11);
VS13:=IF(曙光初現(xiàn)=1,VS12+0.08,VS12);
VS14:=IF(身懷六甲=1,VS13+0.08,VS13);
VS15:=IF(十字胎=1,VS14+0.08,VS14);
VS16:=IF(平頂=1,VS15+0.06,VS15);
VS17:=IF(平底=1,VS16+0.08,VS16);
VS18:=IF(大陽(yáng)燭=1,VS17+0.08,VS17);
VS19:=IF(三個(gè)白武士=1,VS18+0.08,VS18);
VS20:=IF(雙飛烏鴉=1,VS19+0.08,VS19);
VS21:=IF(孕育線=1,VS20+0.08,VS20);
VS22:=IF(多方炮=1,VS21+0.08,VS21);
VS23:=IF(出水芙蓉=1,VS22+0.08,VS22);
VS24:=IF(上升三部曲=1,VS23+0.08,VS23);
VS25:=IF(下跌三部曲=1,VS24+0.08,VS24);
VS26:=IF(跳空缺口=1,VS25+0.08,VS25);
VS27:=IF(三只烏鴉=1,VS26+0.08,VS26);
VS28:=IF(光腳陰線=1,VS27+0.08,VS27);
VS29:=IF(光頭陽(yáng)線=1,VS28+0.08,VS28);
VS30:=IF(分離=1,VS29+0.08,VS29);
VS31:=IF(長(zhǎng)下影=1,VS30+0.08,VS30);
VS32:=IF(長(zhǎng)上影=1,VS31+0.08,VS31);
VS33:=IF(十字星=1,VS32+0.08,VS32);
VS34:=IF(大陰燭=1,VS33+0.08,VS33);
VS35:=IF(好友反攻=1,VS34+0.08,VS34);
VS36:=IF(傾盆大雨=1,VS35+0.08,VS35);
DRAWTEXT_FIX(早晨之星=1,VS1,0.02,0,'早晨之星'),COLORFF00FF;
DRAWTEXT_FIX(黃昏之星=1,VS2,0.02,0,'黃昏之星'),COLORFFFF00;
DRAWTEXT_FIX(長(zhǎng)十字=1,VS3,0.02,0,'長(zhǎng)十字'),COLOR00FFFF;
DRAWTEXT_FIX(垂死十字=1,VS4,0.02,0,'垂死十字'),COLORFFFF00;
DRAWTEXT_FIX(早晨十字星=1,VS5,0.02,0,'早晨十字星'),COLORFF00FF;
DRAWTEXT_FIX(黃昏十字星=1,VS6,0.02,0,'黃昏十字星'),COLORFFFF00;
DRAWTEXT_FIX(射擊之星=1,VS7,0.02,0,'射擊之星'),COLORFFFF00;
DRAWTEXT_FIX(倒轉(zhuǎn)錘頭=1,VS8,0.02,0,'倒轉(zhuǎn)錘頭'),COLORFF00FF;
DRAWTEXT_FIX(錘頭=1,VS9,0.02,0,'錘頭'),COLOR0000FF;
DRAWTEXT_FIX(吊頸=1,0.02,VS10,0,'吊頸'),COLORFFFF00;
DRAWTEXT_FIX(穿頭破腳=1,VS11,0.02,0,'穿頭破腳'),COLORFFFF00;
DRAWTEXT_FIX(烏云蓋頂=1,VS12,0.02,0,'烏云蓋頂'),COLORFFFF00;
DRAWTEXT_FIX(曙光初現(xiàn)=1,VS13,0.02,0,'曙光初現(xiàn)'),COLORFF00FF;
DRAWTEXT_FIX(身懷六甲=1,VS14,0.02,0,'身懷六甲'),COLOR00FFFF;
DRAWTEXT_FIX(十字胎=1,VS15,0.02,0,'十字胎'),COLOR00FFFF;
DRAWTEXT_FIX(平頂=1,VS16,0.02,0,'平頂'),COLORFFFFFF;
DRAWTEXT_FIX(平底=1,VS17,0.02,0,'平底'),COLORFFFFFF;
DRAWTEXT_FIX(大陽(yáng)燭=1,VS18,0.02,0,'大陽(yáng)燭'),COLOR0000FF;
DRAWTEXT_FIX(三個(gè)白武士=1,VS19,0.02,0,'紅三兵'),COLORFFFFFF;
DRAWTEXT_FIX(雙飛烏鴉=1,VS20,0.02,0,'雙飛烏鴉'),COLORFF0000;
DRAWTEXT_FIX(孕育線=1,VS21,0.02,0,'孕育線'),COLOR00FFFF;
DRAWTEXT_FIX(多方炮=1,VS22,0.02,0,'多方炮'),COLOR00FFFF;
DRAWTEXT_FIX(出水芙蓉=1,VS23,0.02,0,'出水芙蓉'),COLORFF00FF;
DRAWTEXT_FIX(上升三部曲=1,VS24,0.02,0,'上升三部曲'),COLORFF00FF;
DRAWTEXT_FIX(下跌三部曲=1,VS25,0.02,0,'下跌三部曲'),COLORFFFF00;
DRAWTEXT_FIX(跳空缺口=1,VS26,0.02,0,'跳空缺口'),COLOR00FFFF;
DRAWTEXT_FIX(三只烏鴉=1,VS27,0.02,0,'三只烏鴉'),COLORFFFF00;
DRAWTEXT_FIX(光腳陰線=1,VS28,0.02,0,'光腳陰線'),COLORFFFF00;
DRAWTEXT_FIX(光頭陽(yáng)線=1,VS29,0.02,0,'光頭陽(yáng)線'),COLOR0000FF;
DRAWTEXT_FIX(分離=1,VS30,0.02,0,'分離'),COLOR00FFFF;
DRAWTEXT_FIX(長(zhǎng)下影=1,VS31,0.02,0,'長(zhǎng)下影'),COLOR00FFFF;
DRAWTEXT_FIX(長(zhǎng)上影=1,VS32,0.02,0,'長(zhǎng)上影'),COLORFFFF00;
DRAWTEXT_FIX(十字星=1,VS33,0.02,0,'十字星'),COLOR00FFFF;
DRAWTEXT_FIX(大陰燭=1,VS34,0.02,0,'大陰燭'),COLORFF0000;
DRAWTEXT_FIX(好友反攻=1,VS35,0.02,0,'好友反攻'),COLORFF00FF;
DRAWTEXT_FIX(傾盆大雨=1,VS36,0.02,0,'傾盆大雨'),COLORFFFFFF;
通達(dá)信K線形態(tài)+缺口提示主圖指標(biāo)公式實(shí)例圖解:
通達(dá)信K線形態(tài)+缺口提示主圖指標(biāo)公式
- ·通達(dá)信籌碼K線主圖指標(biāo)公式
- ·通達(dá)信K線說(shuō)話主圖指標(biāo)公式
- ·通達(dá)信漁家K線主圖指標(biāo)公式
- ·通達(dá)信標(biāo)注量?jī)r(jià)K線找強(qiáng)股主圖指標(biāo)公式
- ·通達(dá)信莊立柱K線選股指標(biāo)公式
- ·通達(dá)信低買(mǎi)高賣(mài)K線指標(biāo)公式
- ·通達(dá)信DDXK線指標(biāo)公式
- ·同花順頂?shù)譑線指標(biāo)公式
- ·通達(dá)信金牛K線主圖指標(biāo)公式
- ·通達(dá)信紅藍(lán)K線主圖指標(biāo)公式
- ·通達(dá)信K線密碼主圖指標(biāo)公式
- ·通達(dá)信黑馬贏家波段操作主圖紅綠K線指標(biāo)公式