B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ; SMA2:=MA(B2,5) ; FILLRGN(b2,sma2,b2>sma2),colorred; FILLRGN(b2,sma2,b2<sma2),colorgreen; X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); AA1T:=REF(TTY,X)=LLV(TTY,2*X+1); BB1T:=FILTER(AA1T,X); CC1T:=BACKSET(BB1T,X+1); LD10T:=FILTER(CC1T,X); 前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0; 前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0; T10T:=BARSLAST(HD10T) AND BARSLAST(LD10T) AND NOT(LD10T); STICKLINE(T10T,前期高位,前期高位,20,0),COLORBLUE; STICKLINE(T10T,前期低位,前期低位,20,0),COLORRED; 三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3); 三日量縮:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3)); 三日價漲A:=C>=REF(C,1); 三日價漲B:=C<REF(C,1); 三日價漲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(三日價漲C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日價漲C,1)),3)=0; 倍量黃金柱:=四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 高量黃金柱:=四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 黃金柱:=倍量黃金柱 OR 高量黃金柱; 次倍量黃金柱:=NOT(黃金柱) AND 四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次高量黃金柱:=NOT(黃金柱) AND 四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次黃金柱:=次倍量黃金柱 OR 次高量黃金柱; 準倍量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前倍量柱 AND ((三日量縮 AND 三日價漲C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立; 準高量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前高量柱 AND (三日量縮 AND 三日價漲C) AND 前三引用不成立; 準黃金柱:=準倍量黃金柱 OR 準高量黃金柱; 倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱) AND 四日前倍量柱 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱) AND 四日前高量柱 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 將軍柱:=倍量將軍柱 OR 高量將軍柱; 次倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱) AND 四日前倍量柱 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱) AND 四日前高量柱 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次將軍柱:=次倍量將軍柱 OR 次高量將軍柱; 準倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前倍量柱 AND 三日價漲C AND 前三引用不成立; 準高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前高量柱 AND 三日價漲C AND 前三引用不成立; 準將軍柱:=準倍量將軍柱 OR 準高量將軍柱; BACKSET100:=BACKSET(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱 OR 準將軍柱,4); {LTER(BACKSET100,3);} BACKSET101:=BACKSET(黃金柱,4); FILTER101:=FILTER(BACKSET101,3); BACKSET102:=BACKSET(次黃金柱,4); FILTER102:=FILTER(BACKSET102,3); BACKSET103:=BACKSET(準黃金柱,4); FILTER103:=FILTER(BACKSET103,3); BACKSET104:=BACKSET(將軍柱,4); FILTER104:=FILTER(BACKSET104,3); BACKSET105:=BACKSET(次將軍柱,4); FILTER105:=FILTER(BACKSET105,3); BACKSET106:=BACKSET(準將軍柱,4); FILTER106:=FILTER(BACKSET106,3); DRAWTEXT(FILTER101,LOW*0.986,'↖黃金柱'),COLORYELLOW; STICKLINE(FILTER101,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER102,LOW*0.986,'↖次黃'){,COLORFF00FF},COLORYELLOW; STICKLINE(FILTER102,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER103,LOW*0.986,'↖準黃'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER103,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER104,LOW*0.986,'↖將軍柱'),COLORRED; STICKLINE(FILTER104,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER105,LOW*0.986,'↖次將'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER105,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER106,LOW*0.986,'↖準將'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER106,OPEN,CLOSE,6,0),COLORYELLOW; K1:=SUMBARS(FILTER104,1); STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),20,0),COLORYELLOW; STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,0),COLORGREEN;{低位線} K2:=SUMBARS(FILTER101,1); STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),20,0),COLORYELLOW; 立樁量:=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,'←立柱'),COLORGREEN; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); MA120:=MA(CLOSE,120); MA240:=MA(CLOSE,240); 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; DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF; STICKLINE(芙蓉出水,H,L,5,1),COLORFF00FF; STICKLINE(芙蓉出水,O,C,5,1),LINETHICK2,COLORFF00FF; MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); ZJ:=AMOUNT/10000; TM:=V-MA(V,10); 一穿三:=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,5,0),COLORFF00FF; YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100); 阻價:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low)); 支價:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC)); 今壓:REF(阻價,1),LINETHICK0,COLORGREEN; 今撐:REF(支價,1),LINETHICK0; 明壓:阻價,LINETHICK0; 明撐:支價,LINETHICK0; 這個指標是股海明燈互動群群友發(fā)的,有一些朋友裝不進大智慧,我稍修改一下可以裝進大智慧而已,里面其他的參數(shù)我沒做任何改動,指標有沒有參考價值,大家自己去辨證參考,僅供參考!DRAWTEXTABS(5,10,'所屬板塊:'+BKNAME),ColorAFFF00; B1:=MA(CLOSE,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ; SMA2:=MA(B2,5) ; FILLRGN(b2,sma2,b2>sma2),colorred; FILLRGN(b2,sma2,b2<sma2),colorgreen; X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); AA1T:=REF(TTY,X)=LLV(TTY,2*X+1); BB1T:=FILTER(AA1T,X); CC1T:=BACKSET(BB1T,X+1); LD10T:=FILTER(CC1T,X); 前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0; 前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0; T10T:=BARSLAST(HD10T) AND BARSLAST(LD10T) AND NOT(LD10T); STICKLINE(T10T,前期高位,前期高位,20,0),COLORBLUE; STICKLINE(T10T,前期低位,前期低位,20,0),COLORRED; 三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3); 三日量縮:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3)); 三日價漲A:=C>=REF(C,1); 三日價漲B:=C<REF(C,1); 三日價漲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(三日價漲C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日價漲C,1)),3)=0; 倍量黃金柱:=四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 高量黃金柱:=四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 黃金柱:=倍量黃金柱 OR 高量黃金柱; 次倍量黃金柱:=NOT(黃金柱) AND 四日前倍量柱 AND 三日量縮 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次高量黃金柱:=NOT(黃金柱) AND 四日前高量柱 AND 三日量縮 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次黃金柱:=次倍量黃金柱 OR 次高量黃金柱; 準倍量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前倍量柱 AND ((三日量縮 AND 三日價漲C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立; 準高量黃金柱:=NOT(黃金柱 OR 次黃金柱) AND 四日前高量柱 AND (三日量縮 AND 三日價漲C) AND 前三引用不成立; 準黃金柱:=準倍量黃金柱 OR 準高量黃金柱; 倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱) AND 四日前倍量柱 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱) AND 四日前高量柱 AND 三日不破 AND 三日價漲A AND 前三引用不成立; 將軍柱:=倍量將軍柱 OR 高量將軍柱; 次倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱) AND 四日前倍量柱 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱) AND 四日前高量柱 AND 三日不破 AND 三日價漲B AND 前三引用不成立; 次將軍柱:=次倍量將軍柱 OR 次高量將軍柱; 準倍量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前倍量柱 AND 三日價漲C AND 前三引用不成立; 準高量將軍柱:=NOT(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱) AND 四日前高量柱 AND 三日價漲C AND 前三引用不成立; 準將軍柱:=準倍量將軍柱 OR 準高量將軍柱; BACKSET100:=BACKSET(黃金柱 OR 次黃金柱 OR 準黃金柱 OR 將軍柱 OR 次將軍柱 OR 準將軍柱,4); {LTER(BACKSET100,3);} BACKSET101:=BACKSET(黃金柱,4); FILTER101:=FILTER(BACKSET101,3); BACKSET102:=BACKSET(次黃金柱,4); FILTER102:=FILTER(BACKSET102,3); BACKSET103:=BACKSET(準黃金柱,4); FILTER103:=FILTER(BACKSET103,3); BACKSET104:=BACKSET(將軍柱,4); FILTER104:=FILTER(BACKSET104,3); BACKSET105:=BACKSET(次將軍柱,4); FILTER105:=FILTER(BACKSET105,3); BACKSET106:=BACKSET(準將軍柱,4); FILTER106:=FILTER(BACKSET106,3); DRAWTEXT(FILTER101,LOW*0.986,'↖黃金柱'),COLORYELLOW; STICKLINE(FILTER101,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER102,LOW*0.986,'↖次黃'){,COLORFF00FF},COLORYELLOW; STICKLINE(FILTER102,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER103,LOW*0.986,'↖準黃'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER103,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER104,LOW*0.986,'↖將軍柱'),COLORRED; STICKLINE(FILTER104,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER105,LOW*0.986,'↖次將'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER105,OPEN,CLOSE,6,0),COLORYELLOW; DRAWTEXT(FILTER106,LOW*0.986,'↖準將'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER106,OPEN,CLOSE,6,0),COLORYELLOW; K1:=SUMBARS(FILTER104,1); STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),20,0),COLORYELLOW; STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,0),COLORGREEN;{低位線} K2:=SUMBARS(FILTER101,1); STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),20,0),COLORYELLOW; 立樁量:=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,'←立柱'),COLORGREEN; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); MA120:=MA(CLOSE,120); MA240:=MA(CLOSE,240); 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; DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF; STICKLINE(芙蓉出水,H,L,5,1),COLORFF00FF; STICKLINE(芙蓉出水,O,C,5,1),LINETHICK2,COLORFF00FF; MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); ZJ:=AMOUNT/10000; TM:=V-MA(V,10); 一穿三:=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,5,0),COLORFF00FF; YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100); 阻價:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low)); 支價:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC)); 今壓:REF(阻價,1),LINETHICK0,COLORGREEN; 今撐:REF(支價,1),LINETHICK0; 明壓:阻價,LINETHICK0; 明撐:支價,LINETHICK0; |
|