参数16: X5, 最小: 0, 最大: 9999, 缺省: 0
{公式名称: 龙轩主图V6版 WACG.TAOBAO.COM}
上涨家数:"SZ399002$ADVANCE"+"SH999999$ADVANCE"-"SZ399108$ADVANCE",COLORRED,NODRAW;{仅限於日线周期}
下跌家数:"SZ399002$DECLINE"+"SH999999$DECLINE"-"SZ399108$DECLINE",COLORGREEN,NODRAW;
涨跌比:上涨家数/(上涨家数+下跌家数)*100,NODRAW,COLORWHITE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;
HJ_1:=CLOSE/REF(CLOSE,1)>1.097;
年涨停:COUNT(HJ_1,250),NODRAW,COLORLIMAGENTA;
HJ_2:=0.01;{WWW.70822.com}
HJ_3:=IF(精准线=1,LOW,IF(精准线=2,OPEN,IF(精准线=3,CLOSE,HIGH)));
精准值:CONST(HJ_3),DOTLINE,COLORWHITE;
HJ_4:=COUNT(ABS(LOW-精准值)<=HJ_2,120)-1;
HJ_5:=COUNT(ABS(HIGH-精准值)<=HJ_2,120)-1;
HJ_6:=COUNT(ABS(CLOSE-精准值)<=HJ_2,120)-1;
HJ_7:=COUNT(ABS(OPEN-精准值)<=HJ_2,120)-1;
精准数:HJ_4+HJ_5+HJ_6+HJ_7+3,NODRAW,COLORGREEN;
DRAWICON(ABS(LOW-精准值)<=HJ_2,精准值*0.98,11);
DRAWICON(ABS(HIGH-精准值)<=HJ_2,精准值*1.02,12);
DRAWICON(ABS(OPEN-精准值)<=HJ_2,精准值*1.02,12);
DRAWICON(ABS(CLOSE-精准值)<=HJ_2,精准值*1.02,12);
上三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),NODRAW,COLORMAGENTA;
二一位:(OPEN+CLOSE)/2,NODRAW,COLORRED;
下三一:(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))/3+MIN(OPEN,CLOSE),NODRAW,COLORYELLOW;
虚三一:=HIGH-(HIGH-LOW)*0.333,NODRAW;
虚二一:HIGH-(HIGH-LOW)*0.5,NODRAW;
虚三二:=HIGH-(HIGH-LOW)*0.666,NODRAW,COLOR8000FF;
HJ_8:=MA(CLOSE,3);
HJ_9:=REFX(HJ_8,3);
小东西:=VOL/REF(VOL,1)>=1.9 AND CLOSE>REF(CLOSE,1),NODRAW,COLORYELLOW;
STICKLINE(小东西,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(小东西,OPEN,CLOSE,3.1,3),COLORYELLOW;
高于实顶:=CLOSE<HJ_9,NODRAW;
HJ_10:=OPEN<REFX(CLOSE,1) AND OPEN<REFX(CLOSE,2) AND OPEN<REFX(CLOSE,2);
HJ_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>2;
HJ_12:=CLOSE=OPEN AND CLOSE=HIGH AND CLOSE=LOW;
HJ_13:=高于实顶 AND HJ_10 AND HJ_11 AND HJ_12=0;
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),5,0),COLORGRAY;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
HJ_14:=REF(CLOSE,1);
HJ_15:=IF(CLOSE>=1,10000,100000);
HJ_16:=1.1*HJ_14-49/HJ_15;
HJ_17:=1.05*HJ_14-49/HJ_15;
HJ_18:=0.9*HJ_14+51/HJ_15;
HJ_19:=0.95*HJ_14+51/HJ_15;
HJ_20:=NAMELIKE(3) OR NAMELIKE(4);
HJ_21:=IF(HJ_20,CLOSE>=HJ_17,CLOSE>=HJ_16);
HJ_22:=IF(HJ_20,CLOSE<=HJ_19,CLOSE<=HJ_18);
HJ_23:=IF(HJ_20,HIGH>=HJ_17,HIGH>=HJ_16);
HJ_24:=IF(HJ_20,LOW<=HJ_19,LOW<=HJ_18);
STICKLINE(HJ_23,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(HJ_24,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
HJ_25:=CLOSE>OPEN AND (CLOSE>=HJ_17 OR CLOSE>1.05*OPEN-51/HJ_15) OR (CLOSE>1000 AND CLOSE>HJ_14*1.024);
STICKLINE(HJ_25,OPEN,CLOSE,1,0),COLOR0000BB;
HJ_26:=CLOSE<OPEN AND (CLOSE<=HJ_19 OR CLOSE<0.95*OPEN+49/HJ_15) OR (CLOSE>1000 AND CLOSE<HJ_14*0.976);
STICKLINE(HJ_26,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(HJ_21,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(HJ_22,OPEN,CLOSE,1,0),COLORLICYAN;
STICKLINE(HJ_13,OPEN*1.01,CLOSE*0.99,0,0),COLORWHITE;
HJ_27:=PERIOD=5 AND NAMELIKE(5) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60);
STICKLINE(HJ_27,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW;
STICKLINE(HJ_25 OR HJ_26 OR HJ_21 OR HJ_22 AND BETWEEN(CLOSE,1,500),LOW+(HIGH-LOW)/2,LOW+(HIGH-LOW)/2,1,0),COLORYELLOW;
STICKLINE(HJ_25 OR HJ_26 OR HJ_21 OR HJ_22 AND BETWEEN(CLOSE,1,500),二一位,二一位,1,0),COLORBLUE;
均价:=AMOUNT/VOL/100;
假阳:=C>O AND REF(C,1)>均价 AND C>均价 AND C<300 ;
STICKLINE(假阳,O,C,1,0)COLORGREEN;
假阴:=O>C AND C<均价 AND 均价>REF(C,1) ;
STICKLINE(假阴,O,C,1,0),COLORRED;
TJ:=C<O;{WWW.70822.com}
显性假阴:=C>REF(C,1) AND TJ;
隐性假阴:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(显性假阴) AND TJ;
STICKLINE(显性假阴,O,C,1,0),COLORRED;
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC1:=REF(C,1);
RC2:=REF(C,2);
RC3:=REF(C,3);
RC4:=REF(C,4);
RO1:=REF(O,1);
RO2:=REF(O,2);
RO3:=REF(O,3);
RO4:=REF(O,4);
不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;
不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;
均价1:=AMOUNT/VOL/100;
RJ1:=REF(均价1,1);
RJ2:=REF(均价1,2);
阳柱:=C>=O OR (C<O AND 均价1>RC1);
三日二阳:=COUNT(阳柱,3)>=2;
基价柱阳:=RC3>RO3;
价渐升:=(均价1>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);
均价升:=(C+RC1+RC2)/3>RC3;
量渐升:=V>RV1 AND RV1>RV2 ;
量渐减:=V<=RV1 AND RV1<=RV2 ;
均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);
日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);
均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(V+RV1+RV2)/3/RV3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=RO3>RC4 AND RC4>RO4;
黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;