{强势九转}
N:=14;P1:=7;净利增长:=FINANCE(43);扣非每股收益:=FINANCE(38)-(FINANCE(30)-FINANCE(54))/FINANCE(1);收入增长:=FINANCE(44);负债率:=FINANCE(9);净资产收益率:=FINANCE(29)/FINANCE(19)*100;DRAWTEXT_FIX(C>0,0.05,0,0,GNBLOCK),COLORWHITE;DRAWTEXT_FIX(C>0,0,0,0,HYBLOCK),COLORWHITE;DRAWTEXT_FIX(C>0,0.0,0.05,0,'净利增长----收入增长-:'),COLORWHITE;DRAWNUMBER_FIX(C>0,0,0.1,0,净利增长),COLORWHITE;DRAWNUMBER_FIX(C>0,0.05,0.1,0,收入增长),COLORWHITE;DRAWTEXT_FIX(C>0,0.1,0.05,0,'负债率----净资产收益率:'),COLORWHITE;DRAWNUMBER_FIX(C>0,0.1,0.1,0,负债率),COLORWHITE;DRAWNUMBER_FIX(C>0,0.15,0.1,0,净资产收益率),COLORWHITE;DRAWTEXT_FIX(C>0,0,0.15,0,'扣非收益:'),COLORWHITE;DRAWNUMBER_FIX(C>0,0.05,0.15,0,扣非每股收益),COLORWHITE;核心K线:=V/REF(V,1)>=1.91 AND C>REF(C,1) AND C>O;TT:=V=HHV(V,21);BBL:=核心K线 AND TT;BL:=FILTER(BBL,2);K1:=SUMBARS(BL,1);STICKLINE(K1,REFV(C,K1-1),REFV(C,K1-1),1,0),COLORYELLOW;STICKLINE(K1,REFV(L,K1-1),REFV(L,K1-1),1,0),COLORCYAN;STICKLINE(BL,OPEN,CLOSE,2,0)COLOR0035FF;STICKLINE(BL,OPEN,CLOSE,1.8,0)COLOR0064FF;STICKLINE(BL,OPEN,CLOSE,1.3,0)COLOR0093FF;STICKLINE(BL,OPEN,CLOSE,0.8,0)COLOR00C2FF;STICKLINE(BL,OPEN,CLOSE,0.3,0)COLOR00FFFF;止损:=REF(C,1)>REFV(L,K1-1) AND C< REFV(L,K1-1),COLORGREEN,NODRAW;STICKLINE(止损,O,C,2,0),COLOR005500;STICKLINE(止损,O,C,2.8,0),COLOR007700;STICKLINE(止损,O,C,2.4,0),COLOR009900;STICKLINE(止损,O,C,2.0,0),COLOR00AA00;STICKLINE(止损,O,C,1.6.5,0),COLOR00BB00;STICKLINE(止损,O,C,1.2,0),COLOR00CC00;STICKLINE(止损,O,C,1.0,0),COLOR00DD00;STICKLINE(止损,O,C,0.6,0),COLOR00EE00;STICKLINE(止损,O,C,0.2,0),COLOR00FF00;STICKLINE(止损,H,L,0,0),COLOR00FF00;强势线:IF(PERIOD=5 ,EMA(H,N),EMA(H,10)),COLORYELLOW,POINTDOT;底线:IF(PERIOD=5 ,EMA(L,N),EMA(L,10)),COLORYELLOW,,POINTDOT;DRAWTEXT_FIX( C>=底线,0.08,0.20,0,'秘诀:建仓宜找线上阴,持股可追突破阳!进退有据,保本第一!!!'),COLORYELLOW;IF(底线< REF(底线,1),底线,DRAWNULL),COLORGREEN,,POINTDOT;IF(强势线< REF(强势线,1),强势线,DRAWNULL),COLORGREEN,POINTDOT;WVAR1:=C>REF(C,1)AND C>REF(C,2);WVAR2:=REF(WVAR1,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR3:=REF(WVAR2,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR4:=REF(WVAR3,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR5:=REF(WVAR4,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR6:=REF(WVAR5,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR7:=REF(WVAR6,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR8:=REF(WVAR7,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR9:=REF(WVAR8,1)AND C>=REF(C,1)AND C<=REF(C,2);WVARA:=REF(WVAR9,1)AND C<=REF(C,1)AND C>=REF(C,2);WVARB:=REF(WVARA,1)AND C>=REF(C,1)AND C<=REF(C,2);WVARC:=REF(WVARB,1)AND C<=REF(C,1)AND C>=REF(C,2);WVARD:=C< REF(C,1)AND C< REF(C,2);WVARE:=REF(WVARD,1)AND C>=REF(C,1)AND C<=REF(C,2);WVARF:=REF(WVARE,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR10:=REF(WVARF,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR11:=REF(WVAR10,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR12:=REF(WVAR11,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR13:=REF(WVAR12,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR14:=REF(WVAR13,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR15:=REF(WVAR14,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR16:=REF(WVAR15,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR17:=REF(WVAR16,1)AND C<=REF(C,1)AND C>=REF(C,2);WVAR18:=REF(WVAR17,1)AND C>=REF(C,1)AND C<=REF(C,2);WVAR19:=REF(WVARD OR WVARE OR WVARF OR WVAR10 OR WVAR11 OR WVAR12 OR WVAR13 OR WVAR14 OR WVAR15 OR WVAR16 OR WVAR17 OR WVAR18,1) AND WVAR1;WVAR1A:=REF(WVAR1 OR WVAR2 OR WVAR3 OR WVAR4 OR WVAR5 OR WVAR6 OR WVAR7 OR WVAR8 OR WVAR9 OR WVARA OR WVARB OR WVARC,1) AND WVARD;BTSTS:=BARSLAST(WVAR19);红:=WVAR1 OR WVAR2 OR WVAR3 OR WVAR4 OR WVAR5 OR WVAR6 OR WVAR7 OR WVAR8 OR WVAR9 OR WVARA OR WVARB OR WVARC;VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,10);STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L>=REF(C,1) ,REF(C,1),REF(C,2),2.1,0),COLORYELLOW;STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L< REF(C,1) ,L,REF(C,1),2.1,0),COLORYELLOW;STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L< REF(C,1) AND C/REF(C,1)>1.045 ,L,REF(H,1),2.1,0),COLORYELLOW;FZTS:=BARSLAST(WVAR19);STICKLINE(ISLASTBAR ,IF(REF(L,FZTS+1)< REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2)),IF(REF(L,FZTS+1)< REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2)),100,0),LINETHICK4,COLORFF00FF;STICKLINE(ISLASTBAR ,IF(REF(L,FZTS+1)< REF(L,FZTS+2),REF(H,FZTS+1),REF(H,FZTS+2)),IF(REF(L,FZTS+1)< REF(L,FZTS+2),REF(H,FZTS+1),REF(H,FZTS+2)),100,0),LINETHICK4,COLORFF00FF;ZL:=IF(REF(L,FZTS+1)< REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2));ZH:=IF(REF(H,FZTS)< REF(H,FZTS+1),REF(H,FZTS+1),REF(H,FZTS));DRAWICON((CROSS(C,ZH) AND VOL=HHV(VOL,3) AND C>=底线 OR CROSS(C,底线) OR CROSS(C,强势线)) AND VOL>=MAVOL1 AND L>REF(L,1)AND O<=C,ZH,26),COLORYELLOW;DRAWTEXT(CROSS(ZH,C) AND C< REF(C,1) AND C< 底线,L,'空'),COLORYELLOW;DRAWTEXT(CROSS(ZH,C) AND C< REF(C,2) AND C>=底线,REF(C,2),'抛'),COLORGREEN;DRAWTEXT(H>REF(H,1) AND C< REF(C,1) AND C>=底线 AND C< REF(O,1),H,'抛'),COLORYELLOW;DRAWTEXT(H>REF(H,1) AND C>REF(C,1) AND L< REF(L,1) AND C>=底线 AND C< O,H,'抛'),COLORGREEN;DRAWTEXT(CROSS(ZH,C) AND C>=REF(C,2) AND C>=底线 AND C< REF(C,1),H,'洗'),COLORYELLOW;DRAWTEXT(CROSS(C,ZH) AND C>REF(H,1) AND L>REF(L,1) AND O<=C,REF(H,1),'↑'),COLORYELLOW;DRAWTEXT(L<=底线 AND C>=底线 OR L<=强势线 AND C>=强势线,L,'↑'),COLORYELLOW;DRAWTEXT(CROSS(C,底线) AND H>REF(C,1),L,'↑'),COLORYELLOW;DRAWTEXT(L< 底线 AND H>REF(C,1) AND C>=底线,L,'↑'),COLORYELLOW;DRAWLINE(CROSS(C,ZH),ZH,REF(CROSS(C,ZH),1),REF(ZH,1),1),COLORYELLOW;STICKLINE(WVAR1A AND H<=REF(H,1),REF(C,1),REF(H,1),2.1,0)COLORBLUE;STICKLINE(WVAR1A AND H>REF(H,1) ,H,REF(C,1),2.1,0)COLORBLUE;A11:=C>=REF(C,4);NT:=BARSLASTCOUNT(A11);TJ11:=NT=9;TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;DRAWTEXT( AY>0,H*1.02,VAR2STR(AY,0)),COLORFF00FF;DRAWTEXT( NT=9,H*1.02,'9'),COLORGREEN;DRAWTEXT( NT>9,H*1.02,'+'),COLORYELLOW;B11:=C<=REF(C,4);NT0:=BARSLASTCOUNT(B11);TJ21:=NT0=9 ;TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;DRAWTEXT( AY1>0,L*0.98,VAR2STR(AY1,0)),COLORFF00FF;DRAWTEXT( NT0=9,L*0.98,'9'),COLORGREEN;DRAWTEXT( NT0=9,L*0.98,'9'),COLORGREEN;DRAWTEXT( NT0>9,L*0.98,'+'),COLORYELLOW;PH:=TROUGHBARS(2,P1,1);LL:=HHV(H,PH);TJ1:= LL=HIGH AND LL< REF(LL,1);TS:=SUMBARS(TJ1,2);TJ:=PEAKBARS(2,P1,1)=1 AND TS>=PH;警告灯:IF(TJ,HIGH*1.008,DRAWNULL),CROSSDOT,LINETHICK2,COLORYELLOW;PL:=BARSLAST(TJ);支撑:=IF(PERIOD>=5 AND BARSLAST(TJ1),REF(LOW,BARSLAST(TJ1)),DRAWNULL),COLOREA91B5;压力:=IF(PERIOD>=5 AND BARSLAST(TJ),REF(HIGH,PL),DRAWNULL),COLORYELLOW;DRAWICON(CROSS(C,REF(HIGH,PL)),L,1);DRAWTEXT(CROSS(REF(HIGH,PL),C),H,'抛'),COLORGREEN;DRAWTEXT(CROSS(H,REF(HIGH,PL)) AND C< REF(HIGH,PL),H,'抛'),COLORGREEN;STICKLINE(CURRBARSCOUNT AND C>=REF(C,1),C,C,4,1),COLORRED;STICKLINE(CURRBARSCOUNT AND C< REF(C,1),C,C,4,1),COLORGREEN;量比: DYNAINFO(17),NODRAW;获利:WINNER(C)*100,,NODRAW;