源碼如下: 主圖源碼: VAR3:=LLV(HIGH,240); VAR4:=100*(CLOSE-VAR3)/VAR3; VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0; VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3); VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); 買(mǎi)1:=VAR10; 買(mǎi)2:=(VAR11+VAR13+VAR15+VAR17); 賣(mài)1:=(VAR12+VAR14+VAR16+VAR18); B:IF(買(mǎi)1>0 OR 買(mǎi)2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; DRAWTEXT(買(mǎi)1>0 OR 買(mǎi)2>0,LOW*0.99,'買(mǎi)入'),COLORRED; S:IF(賣(mài)1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; DRAWTEXT(賣(mài)1>0,HIGH*1.02,'賣(mài)出'),COLORGREEN; VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34)); F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE; 生命線:MA(CLOSE,22),LINETHICK2,COLORRED; N:=10; T1:=CONST(HHVBARS(V,N)); T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORFF00FF; IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF; DRAWTEXT(ISLASTBAR,T0,' 量能平臺(tái)'),COLORCC00CC; MA135:=MA(VOL,135); TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5; LJL:=FILTER(TJ1,3); TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0); ST:=TJ3=1; CL:=FILTER(ST,3); STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW; DRAWTEXT(LJL,L*0.99,'支撐'),COLORF00FF0; A:MA(C,22)COLORBLUE,,LINETHICK2; X:=A<REF(A,1); IF(X-1,A,DRAWNULL)COLORRED,,LINETHICK2; MA5:=MA(CLOSE,5),COLORWHITE; MA10:=MA(CLOSE,10),COLORYELLOW; MA30:=MA(CLOSE,30),COLORMAGENTA; MA60:=MA(CLOSE,60),COLORGREEN; MA120:=MA(CLOSE,120),COLORLIMAGENTA; MA240:=MA(CLOSE,240),COLORBLUE,NODRAW; VOL5:=MA(VOL,5),COLORWHITE; VOL10:=MA(VOL,10),COLORYELLOW; VOL40:=MA(VOL,20),COLORFF00FF ; 量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1); DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE; AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10)); BB1:=REF(COUNT(C<MA60,AA1)=AA1,1); CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:=BB1 AND CC1,COLOR00FF00; DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF; STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF; STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF; MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); ZJ:=AMOUNT/10000;{資金} TM:=V-MA(V,10);{量填滿(mǎn)} 一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ; DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF; STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF; TY:=C; A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); 前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT; STICKLINE(C,前期高位,前期高位,8,-1),COLORBLUE; {高點(diǎn):=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW; STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,H,C,0.8,0),COLORBLUE;} 三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3); 三日量縮:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3)); 三日價(jià)漲A:=C>=REF(C,1); 三日價(jià)漲B:=C<REF(C,1); 三日價(jià)漲C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3); TIM:=IF(DATE<1140214,1,0); 縮倍柱:=(VOL*1.95<=REF(VOL,1))*TIM; 百日低量:=(VOL=LLV(VOL,100))*TIM; 倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM; 四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM; 四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量縮)*TIM; 前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日價(jià)漲C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日價(jià)漲C,1)),3)=0; 倍量黃金柱:=四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價(jià)漲A AND 前三引用不成立; 高量黃金柱:=四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價(jià)漲A AND 前三引用不成立; 黃金柱:=倍量黃金柱 OR 高量黃金柱; 次倍量黃金柱:=NOT(黃金柱) AND 四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價(jià)漲B AND 前三引用不成立; 次高量黃金柱:=NOT(黃金柱) AND 四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價(jià)漲B AND 前三引用不成立; 次黃金柱:=次倍量黃金柱 OR 次高量黃金柱; 準(zhǔn)倍量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前倍量柱 AND ((三日量縮 AND 三日價(jià)漲C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立; 準(zhǔn)高量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前高量柱 AND (三日量縮 AND 三日價(jià)漲C) AND 前三引用不成立; 準(zhǔn)黃金柱:=準(zhǔn)倍量黃金柱 OR 準(zhǔn)高量黃金柱; 倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱) AND 四日前倍量柱 AND 三日不破 AND 三日價(jià)漲A AND 前三引用不成立; 高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱) AND 四日前高量柱 AND 三日不破 AND 三日價(jià)漲A AND 前三引用不成立; 將軍柱:=倍量將軍柱 OR 高量將軍柱; 次倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱 OR 將軍柱) AND 四日前倍量柱 AND 三日不破 AND 三日價(jià)漲B AND 前三引用不成立; 次高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱 OR 將軍柱) AND 四日前高量柱 AND 三日不破 AND 三日價(jià)漲B AND 前三引用不成立; 次將軍柱:=次倍量將軍柱 OR 次高量將軍柱; 準(zhǔn)倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前倍量柱 AND 三日價(jià)漲C AND 前三引用不成立; 準(zhǔn)高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前高量柱 AND 三日價(jià)漲C AND 前三引用不成立; 準(zhǔn)將軍柱:=準(zhǔn)倍量將軍柱 OR 準(zhǔn)高量將軍柱; BACKSET100:=BACKSET(黃金柱 OR 次黃金柱 OR 準(zhǔn)黃金柱 OR 將軍柱 OR 次將軍柱 OR 準(zhǔn)將軍柱,4); FILTER100:=FILTER(BACKSET100,3),NODRAW; BACKSET101:=BACKSET(黃金柱,4); FILTER101:=FILTER(BACKSET101,3); BACKSET102:=BACKSET(次黃金柱,4); FILTER102:=FILTER(BACKSET102,3); BACKSET103:=BACKSET(準(zhǔn)黃金柱,4); FILTER103:=FILTER(BACKSET103,3); BACKSET104:=BACKSET(將軍柱,4); FILTER104:=FILTER(BACKSET104,3); BACKSET105:=BACKSET(次將軍柱,4); FILTER105:=FILTER(BACKSET105,3); BACKSET106:=BACKSET(準(zhǔn)將軍柱,4); FILTER106:=FILTER(BACKSET106,3); 黃金線下影線:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3); 黃金線實(shí)體下端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) AND MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0; 黃金線上影線:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3); 黃金線實(shí)體上端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3); 黃金線實(shí)體中間:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)); 黃金線實(shí)體中間1:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2)); 黃金線實(shí)體中間2:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2)); 黃金線實(shí)體中間3:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND L=MIN(MIN(L,REF(L,1)),REF(L,2)); BACKSET201:=BACKSET(黃金線下影線,4); FILTER201:=FILTER(BACKSET201,3),NODRAW; BACKSET202:=BACKSET(黃金線實(shí)體下端,4); FILTER202:=FILTER(BACKSET202,3),NODRAW; BACKSET203:=BACKSET(黃金線上影線,4); FILTER203:=FILTER(BACKSET203,3),NODRAW; BACKSET204:=BACKSET(黃金線實(shí)體上端,4); FILTER204:=FILTER(BACKSET204,3),NODRAW; BACKSET205:=BACKSET(黃金線實(shí)體中間,4); FILTER205:=FILTER(BACKSET205,3),NODRAW; BACKSET2051:=BACKSET(黃金線實(shí)體中間1,4); FILTER2051:=FILTER(BACKSET2051,3),NODRAW; BACKSET2052:=BACKSET(黃金線實(shí)體中間2,4); FILTER2052:=FILTER(BACKSET2052,3),NODRAW; BACKSET2053:=BACKSET(黃金線實(shí)體中間3,4); FILTER2053:=FILTER(BACKSET2053,3),NODRAW; BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER201)); BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER202)); BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER203)); BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER204)); BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER205)); BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2051)); BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2052)); BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2053)); 最近黃金線:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053); DAY1:=SUMBARS(FILTER100,1),NODRAW; HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NODRAW; HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW; HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NODRAW; HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW; HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL,REF(LOW,DAY1-2))),0),NODRAW; HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL,REF(LOW,DAY1-3))),0),NODRAW; HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL,REF(LOW,DAY1-4))),0),NODRAW; 黃金線:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,NODRAW; 立樁量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1); 立樁量三日突破:=IF(BARSLAST(立樁量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立樁量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立樁量)=3 AND CLOSE>REF(HIGH,3),1,0))); 立樁量三日不破:=BARSLAST(立樁量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2)); BACKSET300:=BACKSET(立樁量三日不破,4); BACKSET301:=BACKSET(立樁量三日突破,4); 立樁量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立樁量; DRAWTEXT(立樁量成立,HIGH*1.01,'↙立樁量'),COLOR00FF00; DRAWTEXT(FILTER101,LOW*0.986,'↖黃金柱'),COLORYELLOW; STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER102,LOW*0.986,'↖次黃金柱'),COLORYELLOW; DRAWTEXT(FILTER104,LOW*0.986,'↖將軍柱'),COLORYELLOW; STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW; K1:=SUMBARS(FILTER104,1); STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW; K2:=SUMBARS(FILTER101,1); STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW; X1:=(C+L+H)/3; BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10; EMA3:=EMA(C,3); DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10), LOW*0.99,'★∠45'),COLORFFFFFF; 副圖源碼: VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模擬量} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0; VOL,VOLSTICK; 倍量:(VOL/REF(VOL,1)>2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2),COLORFF00FF; STICKLINE(倍量,0,V,3,0),COLORFF00FF; 地量:LLV(VOL,15)=VOL,COLORWHITE; STICKLINE(地量,0,V,1,0),COLORWHITE; 三十地:LLV(VOL,30)=VOL,COLORFFDE00; STICKLINE(三十地,0,V,3,0),COLOR008800; 倍縮量:VOL/REF(VOL,1)<0.5,COLORYELLOW; STICKLINE(倍縮量,0,V,3,0),COLORYELLOW; 縮量漲:COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,COLORGREEN; STICKLINE(縮量漲,0,V,3,0),COLORGREEN; 黑跳: IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0),COLORFF0080; STICKLINE(黑跳,0,V,3,0),COLORFF0080; 紅跳:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0),COLOR8000FF; STICKLINE(紅跳,0,V,3,0),COLOR8000FF; 真陽(yáng)或假陰:=C>O OR C>REF(C,1); 收陽(yáng):= REF(真陽(yáng)或假陰,3); 倍量1:=REF(倍量,3); 高量:=REF(V,3)>=HHV(V,7); 三日不破:= LLV(C,3)>=REF(L,3); 價(jià)升:=COUNT(C>=REF(C,1),3)=3;{收盤(pán)價(jià)逐升} 量縮:=COUNT(V<=REF(V,1),3)=3; 連陽(yáng):= COUNT(真陽(yáng)或假陰,3)=3; 倍量將軍柱:= 倍量1 AND 三日不破 AND 收陽(yáng); 高量將軍柱:= 高量 AND 三日不破 AND 收陽(yáng); 將軍柱:= 倍量將軍柱 OR 高量將軍柱; 黃金柱:將軍柱 AND 價(jià)升 AND 量縮 AND 連陽(yáng) ,COLOR0077FF; DRAWICON(黃金柱,V+0.1,1); 長(zhǎng)陰短柱:C/REF(C,1)<=0.96 AND V<HHV(V,30)/1.9; DRAWTEXT(長(zhǎng)陰短柱 ,V,'!'),COLORLICYAN; XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,7) AND REF(VOL,2)<REF(VOL,7) AND REF(VOL,3)<REF(VOL,7) AND REF(VOL,(7-3))<REF(VOL,7) AND REF(VOL,(7-2))<REF(VOL,7) AND REF(VOL,(7-1))<REF(VOL,7); XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,8) AND REF(VOL,2)<REF(VOL,8) AND REF(VOL,3)<REF(VOL,8) AND REF(VOL,(8-3))<REF(VOL,8) AND REF(VOL,(8-2))<REF(VOL,8) AND REF(VOL,(8-1))<REF(VOL,8); XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,9) AND REF(VOL,2)<REF(VOL,9) AND REF(VOL,3)<REF(VOL,9) AND REF(VOL,(9-3))<REF(VOL,9) AND REF(VOL,(9-2))<REF(VOL,9) AND REF(VOL,(9-1))<REF(VOL,9); XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,10) AND REF(VOL,2)<REF(VOL,10) AND REF(VOL,3)<REF(VOL,10) AND REF(VOL,(10-3))<REF(VOL,10) AND REF(VOL,(10-2))<REF(VOL,10) AND REF(VOL,(10-1))<REF(VOL,10); XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,11) AND REF(VOL,2)<REF(VOL,11) AND REF(VOL,3)<REF(VOL,11) AND REF(VOL,(11-3))<REF(VOL,11) AND REF(VOL,(11-2))<REF(VOL,11) AND REF(VOL,(11-1))<REF(VOL,11); XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND VOL>1.8*REF(VOL,2) AND REF(VOL,1)<REF(VOL,12) AND REF(VOL,2)<REF(VOL,12) AND REF(VOL,3)<REF(VOL,12) AND REF(VOL,(12-3))<REF(VOL,12) AND REF(VOL,(12-2))<REF(VOL,12) AND REF(VOL,(12-1))<REF(VOL,12); DRAWTEXT(XGX7,V,'7日平量柱'),COLORFFFF00; DRAWTEXT(XGX8,V,'8日平量柱'),COLORFFFF00; DRAWTEXT(XGX9,V,'9日平量柱'),COLORFFFF00; DRAWTEXT(XGX10,V,'10日平量柱'),COLORFFFF00; DRAWTEXT(XGX11,V,'11日平量柱'),COLORFFFF00; DRAWTEXT(XGX12,V,'12日平量柱'),COLORFFFF00; 百日地量:LLV(VOL,100)=VOL,COLORWHITE; STICKLINE(百日地量,0,V,3,0),COLORWHITE; V1:=CLOSE/REF(CLOSE,3)>=1.1; V2:=BACKSET(V1,2); V3:=REF(CLOSE,3)*1.1; V4:=CROSS(C,V3); STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,3,0),COLOR00007D; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2.4,0),COLOR0000A6; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,2,0),COLOR0000BB; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,1.4,0),COLOR0000DD; STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,0.8,0),COLOR0000FF; M5:MA(VOL,5),COLORFFFFFF; M55:MA(VOL,55),COLORGREEN,LINETHICK2; |
|
來(lái)自: 凡人sypls > 《指標(biāo) 版面》