N:=6;BU:=BARSLAST(CLOSE=HHV(CLOSE,N));SE:=BARSLAST(CLOSE=LLV(CLOSE,N));KK1:=SE;KK2:=BU;LM1:=SE;LM2:=BU;OK:=KK1>KK2 AND LM1>LM2;OK1:=KK1>KK2 AND LM1<LM2;NOK:=KK2>KK1 AND LM2>LM1;NOK1:=KK2>KK1 AND LM2<LM1;STICKLINE(OK1,CLOSE,OPEN…
VAT4:=(LOW+HIGH+CLOSE)/3;操作: MA(VAT4,5);拉升: HHV(操作,13);压力: HHV(操作,60);买卖: LLV(操作,13);底部支撑: LLV(LOW,60)*1.02,COLORBLUE,LINETHICK2;顶部: HHV(HIGH,60)*0.98,COLORCYAN;{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,…
n:=15;z:=ZIG(4,n);H1:=Z<REF(Z,1) AND REF(Z,1)=HHV(Z,3);H2:=FILTER(BACKSET(H1,2),1);L1:=Z>REF(Z,1) AND REF(Z,1)=LLV(Z,3);L2:=FILTER(BACKSET(L1,2),1);H3:=BARSLAST(H2);L3:=BARSLAST(L2);h4:=REF(H,REF(h3,1)+1);l4:=REF(L,REF(l3,1)+1);h5:=COUNT(h2,0)/2…
INPUT:N1(21,5,50),N2(34,10,100),N3(8,2,30),N4(5,2,20);CJ:=(2*CLOSE+HIGH+OPEN+LOW)/5;DIFF:=EMA(CJ,N1)-EMA(CJ,N2);DEA:=EMA(DIFF,N3);MACD:30*(DIFF-DEA),LINETHICK;MARD:SMA(MACD,N4,1),LINETHICK;G1:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAI…
input:m(14,1,20),q(3,1,10);typq:=(hhv(h,q)+llv(l,q)+c)/3;cciq:(TYPq-MA(TYPq,M*q))/(AVEDEV(TYPq,M*q))*150,linedot,coloryellow;fillrgn(cciq>150,150,cciq),color3300cc;fillrgn(cciq<-150,-150,cciq),color339900;TYP :=(HIGH + LOW + CLOSE)/3;cci:(TYP-MA…
DRAWTEXTEX(c,1,5,5,所属板块: + BLKNAME),ALIGN4,colorred;DD:=FINANCE( 1);SS:=FINANCE( 7);BL:=SS/DD*100;GG:=FINANCE(33);TH:=DYNAINFO(39);JZ:=FINANCE(34);DRAWTEXTEX(c,1,5,55,总股本:+NUMTOSTR(DD,0)+万股 + 流通A股:+NUMTOSTR(SS,0)+万股+ 流通比例:…
VAR1:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);VAR2:=ABS(VAR1);VAR3:=SMA(VAR2,3,1);等政策底:SMA(VAR3,5,1),COLORGREEN;D:=SMA(等政策底,8,1),COLORGREEN;STICKLINE(等政策底>D,等政策底,D,4,0),COLORRED;STICKLINE(等政策底<D,等政策底,D,0,0)…
DRAWGBK(OPEN>0,COLORRGB(50,134,225),COLORRGB(50,220,20),1);DIFF:=EMA(CLOSE,7)-EMA(CLOSE,45);DEA:=EMA(DIFF,7);STICKLINE(DEA>=0,DEA,0,5,0),colorFFFF;STICKLINE(DEA<0,DEA,0,5,0),colorFF;STICKLINE(DIFF<0,DIFF,0,5,0),colorFFFF;STICKLINE(DIFF>…
M:=20;均价:=(2*C+(C+H+L+O)/4+O)/4;R:=(3*L+2*均价)/5;R1:=(3*H+2*均价)/5;KX:=(R+R1)/2;跟庄线:WMA(SUM(KX*V,2)/SUM(V,2),M),COLORWHITE,LINETHICK2;止损:((M/4)*HHV(REF(跟庄线,1),1)-(M/4-1)*跟庄线),COLORGREEN;止赢:2*跟庄线-止损,COLORYELLOW;PARTLINE(止赢>止…
HV:=HHV(V,5);阴:=O>C;阳:=C>O;平:=C=O;MV:=((SUM(V,5)/HV));量能:=IF(MV>0.3,1,0);阴量:=IF(阴 AND 量能,V,0);阳量:=IF(阳 AND 量能,V,0);平量:=IF(平 AND 量能,V,0);正能:SUM(阳量,3)/40000,LINETHICK0,PRECISION2;负能:SUM(阴量,3)/40000,COLORGREEN,LINETHI…
ajb:=IF(capital>50000000,capital*60/100,IF(capital>20000000,capital*33/100,IF(capital>15000000,capital*20/100,IF(capital<100000,capital*6/100,capital*12/100))));A:=SUMBARS(V ,(CAPITAL-AJB));{累计换手=100%的周期}AJ1:=(COST(85)+COST(15))/2;A…
ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZSHTL:=SHCM/(ZLCM+SHCM)*100;ZZLKP:=ZLCM/(ZLCM+SHCM)*100;ZCMZL:=MA(ZLCM+SHCM,13);ZSHJJ:=EMA(ZSHTL,89);ZZLJJ:=EMA(ZZLKP,89);ZJLRQD:=(ZZLKP-ZZLJJ);SH8:=EMA(ZSHTL,8);DKB:=…