首頁 > 股票投資 > 股票技術指標公式 > 正文

青龍白虎指標的使用方法及源碼分享

來源:【贏家江恩】責任編輯:antu添加時間:2018-10-19 09:40:57
  青龍白虎其實是天體星象的名稱,在風水上它是用來進行定位的,而有投資者根據(jù)就以此為名稱設立了一個指標,所以這也是青龍白虎指標的產(chǎn)生。那究竟青龍白虎指標的使用方法是怎么樣的?今天贏家學院的主編老師就為大家進行簡單的介紹。

  一、認識

  青龍白虎指標是什么?它指標可以給投資者看到抄底的時機以及賣出的時機。在每一次時機出現(xiàn)的時候,就會有相關的提示出現(xiàn)。所以在使用上是非常簡單的。

  二、使用方法

  當股價開始迎來大底的時候,不回西安藍色長柱并有青龍出海的字樣,在呢就意味著股票在近期不就就會開始進行大舉的反攻,要注意的是小心莊家多數(shù)會再次挖坑后才反彈,要與黃色向上的箭頭配合使用,藍柱后一般等到向上的黃箭頭出現(xiàn)并有“買點”字樣的時候,既是安全的抄底點位,如下圖所示。

青龍白虎指標.jpg

  當黃色向上箭頭買點出現(xiàn)的前后,一般有紅色或紫色箭頭出現(xiàn),或淡紅色短柱出現(xiàn),表示在此處根據(jù)情況可以多次加倉。

  零軸下綠色網(wǎng)格表示莊家的建倉區(qū),股友不要輕易碰觸這個區(qū)域,莊建倉后會有紫色小箭頭出現(xiàn),表示建倉完畢。當股票被套初期見到綠色網(wǎng)格,必是割肉走人!

  零軸上紅色網(wǎng)格表示莊的拉升區(qū),股友可以隨莊的趨勢吃肉喝湯,拉升結束時會出現(xiàn)向下的橙黃色箭頭,此時是股票的階段頂部,需要輕倉或空倉。

  在股票的一波拉升后會有回調,若此階段出現(xiàn)多個白色長柱,我給它起名叫“白虎出山”,一定要緊盯莊的舉動,此后不久莊家極有可能會是一波更猛烈的拉升過程,但是股友要謹慎:白色長柱風險巨大,也許是莊家大量出貨的階段,利益與風險并存,白虎出山能得到巨大利益,但也會傷人。股友能否賺的個滿缽,看這次的把握。

  當黃色買點出現(xiàn)后不久,若出現(xiàn)紫色向上的大箭頭,表明有大機構參與,股友可放心一搏。當出現(xiàn)密集的白色短柱時,表示有大量的散戶跟風,或者是敢死隊的游資在參與,股價會一路上揚。

  當有白色的網(wǎng)格出現(xiàn)時,既是到了階段頂部,可能有回調需要。

  指標里不時會出現(xiàn)金手指,大黑馬,主力,做底,藍色小箭頭,綠色小箭頭,紅色小柱,藍色小柱等指示。

  三、公式源碼

  N1:=14;{N1: 5, 250, 14}

  VAR4C:=MA(CLOSE,5);

  VAR5C:=MA(CLOSE,10);

  VAR6C:=MA(CLOSE,30);

  VAREC:=(SUM(((CLOSE * VOL) * 100),28) / SUM((VOL * 100),28));

  VARFC:=(INTPART((VAREC * 100)) / 100);

  短線趨勢:=(EMA(CLOSE,5) - EMA(CLOSE,10));

  中線趨勢:=EMA(短線趨勢,9);

  VAR14C:=REF(中線趨勢,1);

  VAR15C:=中線趨勢;

  VAR16C:=(VAR15C - VAR14C);

  VAR17C:=REF(短線趨勢,1);

  VAR18C:=短線趨勢;

  VAR19C:=(VAR18C - VAR17C);

  發(fā)現(xiàn)機構:IF((((((((OPEN <= VAR4C) AND (OPEN <= VAR5C)) AND (OPEN <= VAR6C)) AND

  (CLOSE >= VAR4C)) AND (CLOSE >= VARFC)) AND (VAR16C > 0)) AND (VAR19C > 0)),95,0),

  LINETHICK3,COLORFF00FF;

  -15;

  VAR91:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

  VAR92:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;

  VAR93:=SMA(VAR92,2,1);

  天C:=100+(-ABS(VAR91));

  下:=SMA(VAR93,2,1);

  無:=ABS(VAR91);

  買:STICKLINE(CROSS(下,無),15,30,2,0),COLORLIRED,LINETHICK1;

  賣:STICKLINE(CROSS(下,天C),80,99,2,0),COLORFF9900,LINETHICK1;

  DRAWICON((CROSS(下,20) ),-10,11);

  FG:=MA(C,60);

  HI:=100*(C-REF(C,60))/REF(C,60);

  HJ:=100*(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);

  HK:=SMA(HI-HJ,2,1);

  HM:=V>REF(V,1)*3;

  HO:=HM AND (C

  DRAWICON(HO,HK+40,5),COLORWHITE;

  A11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-

  2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);

  黑馬線:=EMA(A11,5);

  A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

  趨勢線:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));

  DRAWTEXT(CROSS(趨勢線,0)AND 黑馬線<40,-10,'↖大黑馬 '),COLORFFFF00;

  VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);

  VAR20:=REVERSE(VAR1F);

  VAR21:=SMA(VAR1F,3,1);

  趨勢:=SMA(VAR21,3,1);

  人氣:=SMA(趨勢,3,1);

  AA:=LLV(LOW,36);

  BB:=HHV(HIGH,30);

  DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

  出擊:=IF(CROSS(趨勢,人氣) AND (趨勢<30),30,0),COLOR0000FF,LINETHICK2;

  必賣:IF(CROSS(人氣,趨勢) AND (人氣>68),85,100),COLORBLUE,LINETHICK2;

  短賣:IF(CROSS(趨勢,DD) AND (DD>73),75,100),COLOR008000,LINETHICK1;

  頂:=85;

  VAR5W:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

  CCS:=SMA(VAR5W,13,1);

  CC1S:=SMA(CCS,5,1);

  出擊O:IF((CROSS(CCS,CC1S) AND (CC1S < 頂) ),40,0),COLORRED;

  VAR81:=100 - (3)*(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1))

  + (2)*(SMA(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));

  VAR82:=100 - (3)*(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1))

  + (2)*(SMA(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));

  VAR83:=(VAR81 < REF(VAR82,1)) AND (VOL > REF(VOL,1)) AND (CLOSE > REF(CLOSE,1));

  有主力:IF(VAR83 AND (COUNT(VAR83,24) = 1),60,0),LINETHICK1,COLORFF00FF;

  DRAWTEXT((有主力 =60),55,'主力'),COLORFF00FF;

  短趨勢:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-

  2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);

  VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;

  VAR3:=LLV(LOW,34);

  VAR4:=HHV(HIGH,34);

  長趨勢:=EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13);

  VAR7:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

  附屬:=SMA(VAR7,5,1);

  白金:=SMA(附屬,10,1);

  莊加倉后有買點:IF(CROSS(附屬,白金) AND 附屬<40,85,0),COLORYELLOW,LINETHICK2;

  DRAWTEXT(CROSS(附屬,白金) AND 附屬<40,50,'↑買點'),COLORYELLOW,LINETHICK1;

  QW1:=(HIGH+LOW+CLOSE*2)/4;

  QW3:=EMA(QW1,10);

  QW4:=STD(QW1,10);

  QW5:=(QW1-QW3)*100/QW4;

  QW6:=EMA(QW5,5);

  RK7:=EMA(QW6,10);

  漲:=EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;

  跌:=EMA(漲,4),LINETHICK1,COLORFFFF34;

  做多:=IF(CROSS(漲,跌) AND 跌<-10,30,0),LINETHICK3,COLORFF00FF;

  做空:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK3;

  DRAWICON(做多,30,1),COLORFF00FF;

  DRAWICON(CROSS(跌,80),70,2),COLORGREEN;

  VAR18T:=HHV(HIGH,30);

  VAR19T:=LLV(LOW,30);

  NL:=EMA((CLOSE-VAR19T)/(VAR18T-VAR19T)*100,5)/8*10,COLORYELLOW,LINETHICK2;

  DRAWTEXT(CROSS(5,NL),30,'★做底'),COLORWHITE;

  VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);

  神奇線:= MA((CLOSE-VAR2Q)/VAR2Q,2);

  買12:IF(CROSS(神奇線,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,60,0),COLORWHITE,LINETHICK2;

  YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);

  YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);

  ST:=IF(CROSS(YT,YY),30,0);

  VAR5PT:=(HIGH+LOW+CLOSE)/3;

  VAR6PT:=(VAR5PT-MA(VAR5PT,14))/(0.015*AVEDEV(VAR5PT,14));

  VAR7PT:=(VAR5PT-MA(VAR5PT,85))/(0.015*AVEDEV(VAR5PT,85));

  SA:=IF(VAR7PT>=200 AND VAR6PT>=150,10,0);

  VAR3QQ:=REF(CLOSE,1);

  VAR4QQ:=SMA(MAX(CLOSE-VAR3QQ,0),6,1)/SMA(ABS(CLOSE-VAR3QQ),6,1)*100;

  SM:=IF(CROSS(80,VAR4QQ),100,0);

  賣11:IF((SM AND (SA OR ST)),70,100),COLORCCCC33,LINETHICK2;

  HII:=100*(C-REF(C,60))/REF(C,60);

  豐盛:IF(((COUNT(C>O,10)>=8) OR (COUNT(C>O,15)>=12)) AND HII<100,20,0),COLORFF00FF,LINETHICK1;

  FC:=MA(C,3);FD:=MA(C,10);

  FE:=MA(C,20);FF:=MA(C,30);FG1:=MA(C,60);

  FH:=ABS(FC-FD)/MIN(FC,FD);FI:=ABS(FC-FE)/MIN(FC,FE);

  FJ:=ABS(FC-FF)/MIN(FC,FF);

  FK:=ABS(FE-FD)/MIN(FE,FD);FL:=ABS(FF-FD)/MIN(FF,FD);

  FM:=ABS(FE-FF)/MIN(FE,FF);

  FN:=MAX(MAX(MAX(FH,FI),MAX(FJ,FK)),MAX(FL,FM))*100,LINETHICK2;

  FO:=EMA(FN,3),COLORBLUE;

  FS:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  FT:=(SMA(FS,3,1)-18)*1.55;

  FV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;

  FW:=SMA(FV,10,1);

  GJ:=(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5))*(-1)+0.9;

  GK:=(HHV(H,10)-C)/(HHV(H,10)-LLV(L,10))*(-1)+0.92;

  GL:=(HHV(H,15)-C)/(HHV(H,15)-LLV(L,15))*(-1)+0.93;

  GM:=(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))*(-1)+0.94;

  GN:=(HHV(H,89)-C)/(HHV(H,89)-LLV(L,89))*(-1)+0.95;

  GO:=(HHV(H,120)-C)/(HHV(H,120)-LLV(L,120))*(-1)+0.91;

  SP:=(HHV(H,180)-C)/(HHV(H,180)-LLV(L,180))*(-1)+0.96;

  SQ:=(((GJ+GK+GL)*8+GM+GN+SP+GO)/28-0.1)*185;

  GR:=SMA(SQ,3,1);

  GS:=(FT+FW+GR*2)/4,COLOR00FFFF ;

  白虎出山:IF(FO<8 AND GS>95,GS,0),STICK,LINETHICK3,COLORFFFFFF;

  {N1:5,250,14;}

  K1:=N1/2;

  DTPL:=MA(C,N1)>MA(C,N1*1.5) AND MA(C,N1*1.5)>MA(C,N1*3) AND MA(C,3)>MA(C,N1*6);

  連續(xù)走強:=COUNT(C>MA(C,N1),K1)=K1;

  ZQSJ:=BARSLAST(連續(xù)走強);

  STICKLINE(連續(xù)走強 ,0 ,K1*0.8 ,5 ,1 ),COLORRED;

  下穿:=CROSS(MA(C,N1),C);

  GLL:=MA(C,N1/2)/MA(C,N1*2)>=1.05;

  買跌:(下穿 AND ZQSJ<=3 AND DTPL AND GLL)*N1,COLOR00FF00,LINETHICK2;

  連續(xù)走弱:=COUNT(C

  ZRSJ:=BARSLAST(連續(xù)走弱);

  STICKLINE(連續(xù)走弱 ,0 ,K1*-0.8 ,5 ,1 ),COLOR00FF00;

  上穿:=CROSS(C,MA(C,N1));

  買漲:(上穿 AND ZRSJ<=3)*K1,COLORFF00FF,LINETHICK2;

  強:連續(xù)走強*K1*0.3,COLORRED;

  弱:連續(xù)走弱*K1*-0.3,COLOR00FF00;

  AAW1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100)+50;

  AAW2:=EMA(AAW1,9);

  AAW3:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

  AAW4:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

  AAW5:=SMA(AAW4,13,8);

  走勢1:=CEILING(SMA(AAW5,13,8)),COLOR00FF00;

  AAW6:=SMA(AAW3,21,8);

  賣觀注:STICKLINE(走勢1-AAW6>85,100,95,6,1),COLORFFFF00;

  賣出1:STICKLINE((LONGCROSS(AAW2,(AAW1)*(0.94999998),7) AND (AAW1>0)),100,80,1,0),COLOR0000FF;

  NN:=34;

  MM:=3;

  大盤生命指數(shù):= EMA(100*(CLOSE-LLV(LOW,NN))/(HHV(HIGH,NN)-LLV(LOW,NN)),MM)/4;

  大盤生命量能:=IF(大盤生命指數(shù)>23.16,大盤生命指數(shù),0);

  STICKLINE(大盤生命量能,100,70,1,1),COLORWHITE;

  VARFN:=LOW*0.9;

  VAR11N:=EMA(VARFN,30);

  VAR12N:=CLOSE-REF(CLOSE,1);

  VAR13N:=MAX(VAR12N,0);

  VAR14N:=ABS(VAR12N);

  VAR15N:=SMA(VAR13N,7,1)/SMA(VAR14N,7,1)*100;

  VAR16N:=SMA(VAR13N,13,1)/SMA(VAR14N,13,1)*100;

  VAR17N:=BARSCOUNT(CLOSE);

  VAR18N:=SMA(MAX(VAR12N,0),6,1)/SMA(ABS(VAR12N),6,1)*100;

  VAR19N:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

  VAR1AN:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

  VAR1BN:=SMA((SMA(VAR1AN,4,1)-50)*2,3,1);

  VAR1CN:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

  VAR1DN:=SMA(VAR1CN,4,1);

  VAR1EN:=SMA(VAR1DN,3,1);

  VAR1FN:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

  VAR20N:=VAR18N<=25 AND VAR19N<-95 AND VAR1FN>20 AND VAR1BN<-30 AND VAR1EN<30

  AND VAR11N-CLOSE>=-0.25 AND VAR15N<22 AND VAR16N<28 AND VAR17N>50;

  STICKLINE(VAR20N,0,70,1,0),COLORBLUE,LINETHICK3 ;

  DRAWTEXT(VAR20N,80,'★青龍出海!'),COLORBLUE;

  青龍白虎指標的使用方法及源碼分享就到這里,相信大家對此已經(jīng)掌握了,如若您想要學習蠟燭圖精解的知識點可點擊進入,最后預祝大家投資愉快。

鄭州亨瑞軟件開發(fā)有限公司
版權所有

服務中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:m.hbzcqc.cn

銷售熱線:0371-65350319
技術支持:13333833889

注冊下載;