20160325:利用动阻指标所做的一次精彩的买点判断
本帖最后由 王向辉 于 2016-3-25 17:35 编辑买点留影:
之后的走势:
更多说明:点击查看
**** Hidden Message *****
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;均价:=AMOUNT/VOL/100; RJ1:=REF(均价,1); RJ2:=REF(均价,2);阳柱:=C>=O OR (C<O AND 均价>RC1); 三日二阳:=COUNT(阳柱,3)>=2; 基价柱阳:=RC3>RO3;价渐升:=(均价>=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 基前跳空; BACKSET101T:=BACKSET(黄金柱1T,5); FILTER101T:=FILTER(BACKSET101T,4);黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ; BACKSET101:=BACKSET(黄金柱1,4); FILTER101:=FILTER(BACKSET101,3);黄金柱11:=黄金柱1 AND REF(黄金柱1,1); BACKSET1011:=BACKSET(黄金柱11,4); FILTER1011:=FILTER(BACKSET1011,3);黄金柱12:=黄金柱1 AND REF(黄金柱1,2); BACKSET1012:=BACKSET(黄金柱12,4); FILTER1012:=FILTER(BACKSET1012,3);黄金柱13:=黄金柱1 AND REF(黄金柱1,3); BACKSET1013:=BACKSET(黄金柱13,4); FILTER1013:=FILTER(BACKSET1013,3); 黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T); BACKSET201T:=BACKSET(黄金柱2T,5); FILTER201T:=FILTER(BACKSET201T,4); 黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T); BACKSET201:=BACKSET(黄金柱2,4); FILTER201:=FILTER(BACKSET201,3);黄金柱21:=黄金柱2 AND REF(黄金柱2,1); BACKSET2011:=BACKSET(黄金柱21,4); FILTER2011:=FILTER(BACKSET2011,3);黄金柱22:=黄金柱2 AND REF(黄金柱2,2); BACKSET2012:=BACKSET(黄金柱22,4); FILTER2012:=FILTER(BACKSET2012,3);黄金柱23:=黄金柱2 AND REF(黄金柱2,3); BACKSET2013:=BACKSET(黄金柱23,4); FILTER2013:=FILTER(BACKSET2013,3); 黄金柱3T:=基价柱阳AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T)AND NOT(黄金柱2T); BACKSET301T:=BACKSET(黄金柱3T,5); FILTER301T:=FILTER(BACKSET301T,4);黄金柱3:=基价柱阳AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T); BACKSET301:=BACKSET(黄金柱3,4); FILTER301:=FILTER(BACKSET301,3);黄金柱31:=黄金柱3 AND REF(黄金柱3,1); BACKSET3011:=BACKSET(黄金柱31,4); FILTER3011:=FILTER(BACKSET3011,3);黄金柱32:=黄金柱3 AND REF(黄金柱3,2); BACKSET3012:=BACKSET(黄金柱32,4); FILTER3012:=FILTER(BACKSET3012,3);黄金柱33:=黄金柱3 AND REF(黄金柱3,3); BACKSET3013:=BACKSET(黄金柱33,4); FILTER3013:=FILTER(BACKSET3013,3); 黄金柱4T:=基价柱阳AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T); BACKSET401T:=BACKSET(黄金柱4T,5); FILTER401T:=FILTER(BACKSET401T,4);黄金柱4:=基价柱阳AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T); BACKSET401:=BACKSET(黄金柱4,4); FILTER401:=FILTER(BACKSET401,3);黄金柱41:=黄金柱4 AND REF(黄金柱4,1); BACKSET4011:=BACKSET(黄金柱41,4); FILTER4011:=FILTER(BACKSET4011,3);黄金柱42:=黄金柱4 AND REF(黄金柱4,2); BACKSET4012:=BACKSET(黄金柱42,4); FILTER4012:=FILTER(BACKSET4012,3);黄金柱43:=黄金柱4 AND REF(黄金柱4,3); BACKSET4013:=BACKSET(黄金柱43,4); FILTER4013:=FILTER(BACKSET4013,3); 黄金柱5T:=基价柱阳AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T); BACKSET501T:=BACKSET(黄金柱5T,5); FILTER501T:=FILTER(BACKSET501T,4);黄金柱5:=基价柱阳AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T); BACKSET501:=BACKSET(黄金柱5,4); FILTER501:=FILTER(BACKSET501,3);黄金柱51:=黄金柱5 AND REF(黄金柱5,1); BACKSET5011:=BACKSET(黄金柱51,4); FILTER5011:=FILTER(BACKSET5011,3);黄金柱52:=黄金柱5 AND REF(黄金柱5,2); BACKSET5012:=BACKSET(黄金柱52,4); FILTER5012:=FILTER(BACKSET5012,3);黄金柱53:=黄金柱5 AND REF(黄金柱5,3); BACKSET5013:=BACKSET(黄金柱53,4); FILTER5013:=FILTER(BACKSET5013,3);黄金柱6T:=基价柱阳AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T); BACKSET601T:=BACKSET(黄金柱6T,5); FILTER601T:=FILTER(BACKSET601T,4); 黄金柱6:=基价柱阳AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T); BACKSET601:=BACKSET(黄金柱6,4); FILTER601:=FILTER(BACKSET601,3);黄金柱61:=黄金柱6 AND REF(黄金柱6,1); BACKSET6011:=BACKSET(黄金柱61,4); FILTER6011:=FILTER(BACKSET6011,3);黄金柱62:=黄金柱6 AND REF(黄金柱6,2); BACKSET6012:=BACKSET(黄金柱62,4); FILTER6012:=FILTER(BACKSET6012,3);黄金柱63:=黄金柱6 AND REF(黄金柱6,3); BACKSET6013:=BACKSET(黄金柱63,4); FILTER6013:=FILTER(BACKSET6013,3);FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4))); FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4))); FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4))); FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4))); FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4))); FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4))); FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6; STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'↖黄金柱'),COLOR0099FF; K1:=SUMBARS(FIL,1); STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5))); FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5))); FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5))); FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5))); FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5))); FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5))); FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T; STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF; DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'↖元帅柱'),COLOR0000FF; K2:=SUMBARS(FILT,1); STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF; 黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5OR 黄金柱6 ) AND 均线AND 临界点; BACKSET10LJ:=BACKSET(黄金柱LJ ,4); FILTER10LJ:=FILTER(BACKSET10LJ,3); STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT(FILTER10LJAND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'↖临界点'),COLOR0099FF;黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ; BACKSET10LJT:=BACKSET(黄金柱LJT ,5); FILTER10LJT:=FILTER(BACKSET10LJT,5); STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT(FILTER10LJTAND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'↖临界点'),COLOR0099FF; DRAWBAND(MA(CLOSE,60),RGB(80,0,0),MA(CLOSE,120),RGB(0,91,0)); DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)); DRAWKLINE(H,O,L,C); 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,40),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);{量填满} 一穿三:=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,0),COLORBLUE;{高点:=(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)); 三日价涨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); FILTER100:=FILTER(BACKSET100,3),NODRAW; 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); 黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3); 黄金线实体下端:=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); 黄金线实体上端:=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); 黄金线实体中间:=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)); 黄金线实体中间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)); 黄金线实体中间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)); 黄金线实体中间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(黄金线实体下端,4); FILTER202:=FILTER(BACKSET202,3),NODRAW; BACKSET203:=BACKSET(黄金线上影线,4); FILTER203:=FILTER(BACKSET203,3),NODRAW; BACKSET204:=BACKSET(黄金线实体上端,4); FILTER204:=FILTER(BACKSET204,3),NODRAW; BACKSET205:=BACKSET(黄金线实体中间,4); FILTER205:=FILTER(BACKSET205,3),NODRAW; BACKSET2051:=BACKSET(黄金线实体中间1,4); FILTER2051:=FILTER(BACKSET2051,3),NODRAW; BACKSET2052:=BACKSET(黄金线实体中间2,4); FILTER2052:=FILTER(BACKSET2052,3),NODRAW; BACKSET2053:=BACKSET(黄金线实体中间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; N250:=250;
PT250:=CONST(HHVBARS(V,N250));
T250:IF(CURRBARSCOUNT<=N250,CONST(IF(PT250=0,C,REF(C,PT250))),DRAWNULL),COLOR990000,LINETHICK2;
IF(CURRBARSCOUNT=PT250+1,T250*1.01,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N250,T250,'250'),COLOR990000;
N120:=120;
PT120:=CONST(HHVBARS(V,N120));
T120:IF(CURRBARSCOUNT<=N120,CONST(IF(PT120=0,C,REF(C,PT120))),DRAWNULL),COLORAAAA00,LINETHICK2;
IF(CURRBARSCOUNT=PT120+1,T120,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N120,T120,'120'),COLORAAAA00;
N60:=60;
PT60:=CONST(HHVBARS(V,N60));
T60:IF(CURRBARSCOUNT<=N60,CONST(IF(PT60=0,C,REF(C,PT60))),DRAWNULL),COLOR00BB00,LINETHICK2;
IF(CURRBARSCOUNT=PT60+1,T60,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N60,T60,'60'),COLOR00BB00;
N30:=30;
PT30:=CONST(HHVBARS(V,N30));
T30:IF(CURRBARSCOUNT<=N30,CONST(IF(PT30=0,C,REF(C,PT30))),DRAWNULL),COLOR0000CC,LINETHICK2;
IF(CURRBARSCOUNT=PT30+1,T30,DRAWNULL)CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N30,T30,'30'),COLOR0000CC;
N20:=20;
PT20:=CONST(HHVBARS(V,N20));
T20:IF(CURRBARSCOUNT<=N20,CONST(IF(PT20=0,C,REF(C,PT20))),DRAWNULL),COLORDD00DD,LINETHICK2;
IF(CURRBARSCOUNT=PT20+1,T20,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N20,T20,'20'),COLORDD00DD;
N10:=10;
PT10:=CONST(HHVBARS(V,N10));
T10:IF(CURRBARSCOUNT<=N10,CONST(IF(PT10=0,C,REF(C,PT10))),DRAWNULL),COLOR00EEEE,LINETHICK2;
IF(CURRBARSCOUNT=PT10+1,T10,DRAWNULL)CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N10,T10,'10'),COLOR00EEEE;
N5:=5;
PT5:=CONST(HHVBARS(V,N5));
T5:IF(CURRBARSCOUNT<=N5,CONST(IF(PT5=0,C,REF(C,PT5))),DRAWNULL),COLORFFFFFF,LINETHICK2;
IF(CURRBARSCOUNT=PT5+1,T5,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=N5,T5,'5'),COLORFFFFFF;
DRAWKLINE(H,O,L,C);
VAR3:=(C+H+O+L)/4;
买入:=XMA(VAR3,32)*(1-100/1000);
低吸线:买入,COLORFF937F,LINETHICK2;
卖出:=XMA(VAR3,20)*(1+80/1000);
高抛线:卖出,COLORWHITE,LINETHICK2;
{买:CROSS(买入,LOW),NODRAW;
卖:CROSS(HIGH,卖出),NODRAW;}
MA1:=MA(VAR3,3);
DRAWICON(CROSS(买入,LOW),LOW*0.95,11);
DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);
G:=5;
AAB:=REF(H,G)=HHV(H,2*G+1); AAB1:=REF(L,G)=LLV(L,2*G+1);
QYB:=BACKSET(AAB,G+1); QYB1:=BACKSET(AAB1,G+1);
CCB:=FILTER(QYB,G) AND H=HHV(H,G+1); CCB1:=FILTER(QYB1,G) AND L=LLV(L,G+1);
DDDB:=BARSLAST(CCB); DDB1:=BARSLAST(CCB1);
GDTSB:=IF(CCB,CURRBARSCOUNT,0); DDTSB:=IF(CCB1,CURRBARSCOUNT,0);
DINGBUTSB:=IF(DDDB,REF(GDTSB,DDDB),GDTSB); DDTSB1:=IF(DDB1,REF(DDTSB,DDB1),DDTSB);
GDCSB1:=CONST(DINGBUTSB); DDCSB1:=CONST(DDTSB1);
GDCS13:=CONST(REF(HIGH,GDCSB1-1)); DDCS13:=CONST(REF(L,DDCSB1-1));
DINGBUTSB1:=REF(DINGBUTSB,DDDB+1); DDTSB2:=REF(DDTSB1,DDB1+1);
GDCSB2:=CONST(DINGBUTSB1); DDCSB2:=CONST(DDTSB2);
GDCS23:=CONST(REF(HIGH,DINGBUTSB1-1)); DDCS23:=CONST(REF(L,DDTSB2-1));
XG1:=BACKSET(ISLASTBAR,GDCSB1); XD1:=BACKSET(ISLASTBAR,DDCSB1);
XG2:=BACKSET(ISLASTBAR,DINGBUTSB1); XD2:=BACKSET(ISLASTBAR,DDTSB2);
XDD:=IF(DDCS13<=DDCS23,XD1,XD2);
M:=INTPART(3*G/5);
AAAA:=REF(H,M)=HHV(H,2*M+1);
QYY:=BACKSET(AAAA,M+1);
CCC:=FILTER(QYY,M) AND H=HHV(H,M+1);
DDDD:=BARSLAST(CCC),NODRAW;
GDTSS:=IF(CCC,CURRBARSCOUNT,0);
DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS);
GDCS11:=CONST(DINGBUTSS);
DINGBUTS11:=REF(DINGBUTSS,DDDD+1);
GDCS22:=CONST(DINGBUTS11);
AA11:=REF(L,M)=LLV(L,2*M+1);
QY11:=BACKSET(AA11,M+1);
CC11:=FILTER(QY11,M) AND L=LLV(L,M+1);
DD11:=BARSLAST(CC11);
DDTSS:=IF(CC11,CURRBARSCOUNT,0);
DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS);
DDCS11:=CONST(DDTS11);
DDTS22:=REF(DDTS11,DD11+1);
DDCS22:=CONST(DDTS22);
HH1:= REF(H,GDCSB1-1),NODRAW;
HH2:= REF(H,GDCSB2-1),NODRAW;
HH11:= REF(H,GDCS11-1),NODRAW;
HH22:= REF(H,GDCS22-1),NODRAW;
GHH1:=MAX(MAX(REF(H,GDCSB1-1),REF(H,GDCSB2-1)),MAX(REF(H,GDCS11-1),REF(H,GDCS22-1))),NODRAW;
DLL1:=MIN(MIN(REF(L,DDCSB1-1),REF(L,DDCSB2-1)),MIN(REF(L,DDCS11-1),REF(L,DDCS22-1))),NODRAW;
GHH:=MAX(GHH1,HHV(H,10));
DLL:=MIN(DLL1,LLV(L,10));
DX1:=(REF(H,GDCSB1-1)-REF(H,GDCSB2-1))/(GDCSB2-GDCSB1),NODRAW;
DX2:=(REF(H,GDCS11-1)-REF(H,GDCS22-1))/(GDCS22-GDCS11),NODRAW;
GGAA:=DX1>0 AND (REF(H,(GDCSB1-1))+DX1*GDCSB1)>GHH*1.05,NODRAW;
GGAB:=DX1<0 AND (REF(H,(GDCSB1-1))+DX1*GDCSB1)<DLL*0.95,NODRAW;
DDX1:=IF(GGAA OR GGAB,0,1),NODRAW;
GGBA:=DX2>0 AND (REF(H,(GDCS11-1))+DX2*GDCS11)>GHH*1.05,NODRAW;
GGBB:=DX2<0 AND (REF(H,(GDCS11-1))+DX2*GDCS11)<DLL*0.95,NODRAW;
DDDX1:=IF(GGBA OR GGBB,0,1),NODRAW;
LX1:=(REF(L,DDCSB1-1)-REF(L,DDCSB2-1))/(DDCSB2-DDCSB1),NODRAW;
LX2:=(REF(L,DDCS11-1)-REF(L,DDCS22-1))/(DDCS22-DDCS11),NODRAW;
DDAA:=LX1<0 AND (REF(L,(DDCSB1-1))+LX1*DDCSB1)<DLL*0.95,NODRAW;
DDAB:=LX1>0 AND (REF(L,(DDCSB1-1))+LX1*DDCSB1)>GHH*1.05,NODRAW;
LLX1:=IF(DDAA OR DDAB,0,1);
DDBA:=LX2<0 AND (REF(L,(DDCS11-1))+LX2*DDCS11)<DLL*0.95,NODRAW;
DDBB:=LX2>0 AND (REF(L,(DDCS11-1))+LX2*DDCS11)>GHH*1.05,NODRAW;
LLLX1:=IF(DDBA OR DDBB,0,1),NODRAW;
高压力:DRAWLINE(CURRBARSCOUNT=GDCSB2,H,CURRBARSCOUNT=GDCSB1,H,DDX1),COLORABFF46,LINETHICK1;
低支撑:DRAWLINE(CURRBARSCOUNT=DDCSB2,L,CURRBARSCOUNT=DDCSB1,L,LLX1),COLORABFF46,LINETHICK1;
DRAWLINE(CURRBARSCOUNT=GDCS22 ,H,CURRBARSCOUNT=GDCS11,H,DDDX1),COLORRED,LINETHICK1;
DRAWLINE(CURRBARSCOUNT=DDCS22 ,L,CURRBARSCOUNT=DDCS11,L,LLLX1),COLORRED,LINETHICK1;
{涨停标注}
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
A2:=BARSLAST(REF(CROSS(DIFF,DEA),1));
VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
HONGJU:=IF(VAR1>0,VAR1,0);
GAOPAO:=CROSS(DIFF,DEA) AND HONGJU>=40;
DRAWICON(GAOPAO,HIGH*1.01,6);
DRAWTEXT(GAOPAO,HIGH*1.02,'顶背'),COLORGREEN;
LLVV:=LLV(LOW,5);
DIXI:=CROSS(DEA,DIFF) AND REF(DEA,A1+1)>0 AND DEA<0;
DRAWICON(DIXI,LOW*0.90,38);
DRAWTEXT(DIXI,LOW*0.90,'波段低吸'),COLORYELLOW;
MA20:=MA(CLOSE,20);
M0:=MA(CLOSE,5);
M10:=MA(CLOSE,12);
M1:=MA(CLOSE,20);
M30:=MA(CLOSE,30);
M2:=MA(CLOSE,60);
M3:=MA(CLOSE,240);
M4:=MA(CLOSE,120);
M41:=MA(CLOSE,41);
TJ2:=MA(CLOSE,3)<M2;
VAR2:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR2,13)-EMA(VAR2,73);
SD:=EMA(SK,2);
短线:=CROSS(SK,SD) AND SK<0.05 AND (VOL/MA(VOL,5)>2 OR CLOSE/REF(CLOSE,1)>0.035 AND CLOSE>EMA(CLOSE,17));
{STICKLINE(短线,HIGH,LOW,0.5,0),COLORFFFF00;
STICKLINE(短线,OPEN,CLOSE,10,1),LINETHICK2,COLORFFFF00;}
CY:=BARSLAST(短线);
MACD双底:=REF(LOW,A2+1)<CLOSE AND CROSS(DIFF,DEA);
介入:=COUNT(短线,4)=1 AND COUNT(MACD双底,1)=1 AND CLOSE/MA(CLOSE,56)*1000>980 AND CLOSE>OPEN AND VOL>=MA(VOL,5) AND DIFF>=-0.1;
DRAWTEXT(介入,LOW*0.92,'起涨点'),COLORRED;
DRAWICON(介入,LOW*0.92,1);
反向顶背:=REF(CLOSE,A2+1)>CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
逃顶:=CROSS(SD,SK) AND SK>0.2 AND VOL/MA(VOL,5)<2;
逃顶成立:=COUNT(逃顶,4)=1 AND COUNT(反向顶背,1)=1;
DRAWICON(逃顶成立,HIGH*1.01,15);
DRAWTEXT(逃顶成立,HIGH*1.01,'逃顶'),COLORGREEN;
N1G:=CLOSE/REF(CLOSE,1)>=1.097 AND HIGH=CLOSE AND NOT(OPEN=HIGH);
A1G:=BARSLAST(N1G);
A2G:=LLV(LOW,A1G-1)>REF(LOW,A1G) AND CLOSE/REF(OPEN,A1G)>1 AND CLOSE/REF(OPEN,A1G)<=1.04;
XGGG:=FILTER(A2G,3) AND A1G>=4 AND A1G<=20;
DRAWICON(XGGG,LOW*0.96,41);
DRAWTEXT(XGGG,LOW*0.96,'涨停秘笈'),COLORYELLOW;
XPP1:=CROSS(DEA,DIFF) AND CLOSE>MA20 AND MA20>REF(MA20,1) AND DIFF>REF(DIFF,A2+1);
DRAWICON(XPP1,LOW*0.96,3);
DRAWTEXT(XPP1,LOW*0.96,'强势洗盘'),COLORWHITE;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORWHITE;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLORA6E500;
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
压力:= REF(HIGH,BARSLAST(VAR2222));
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;
支撑3:= REF(LOW,BARSLAST(VAR4444));
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;
PH:=TROUGHBARS(2,5,1);
LL:=HHV(H,PH);
TJ1:=LL=HIGH AND LL<REF(LL,1);{//=1}
支撑:IF(BARSLAST(TJ1),
谢谢楼主分享 涨停异动长上影涨停异动长上影
谢谢楼主分享 :victory::victory: 很好的东西啊大家快来 看本帖隐藏内容 学习学学习了 动阻指标的判断方法,谢谢分享!
祝同学们真正学好王子的理念和技术
学习学学习了 20160325:利用动阻指标所做的一次精彩的买点判断 8888888888888 谢谢分享!!!