MA5:MA(CLOSE,5),COLORWHITE,LINETHICK2;
MA30:MA(CLOSE,30),COLORYELLOW,LINETHICK2;
{获利盘–庄家筹码集中度}
获利:=WINNER(CLOSE),COLORRED;
CMJZ:=CLOSE/COST(60)>0.98;
{短线多头}
DT1:=(CLOSE>REF(CLOSE,4) OR MA(CLOSE,5)>MA(CLOSE,10)) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,30);
DT2:=MA(CLOSE,5)>=REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1);
{量形波浪}
LXSL:=(VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2)) OR VOL<REF(VOL,1)/1.8;
SLSJ:=BARSLAST(LXSL);
{k线波浪}
GJZX:=(O+C+H+L)/4;
LXXD:=(C<REF(C,1) AND REF(C,1)<REF(C,2)) OR (GJZX<REF(GJZX,1) AND REF(GJZX,1)<REF(GJZX,2)) OR (H<REF(H,1) AND REF(H,1)<REF(H,2)) OR (L<REF(L,1) AND REF(L,1)<REF(L,2) AND GJZX<REF(GJZX,1));
XDSJ:=BARSLAST(LXXD);
QRSP:=REF(CLOSE,1)<REF(CLOSE,2) OR REF(CLOSE,1)/REF(CLOSE,2)<=1.035;
LXSY:=(H/REF(CLOSE,1)>=1.05 AND REF(CLOSE,1)>REF(CLOSE,2)*1.02 AND REF(CLOSE,2)>=REF(CLOSE,3)*1.02) OR H/REF(CLOSE,3)>=1.15,COLORRED;
FLSZ:=VOL>REF(VOL,1)*1.5 AND VOL>MA(VOL,5) AND CLOSE/REF(CLOSE,1)>=1.02;
短:=(FLSZ AND SLSJ<=3 AND XDSJ<=3)*0.5,COLORFF6600,STICK,LINETHICK1;
DRAWTEXT(短>0 ,L*0.97 , '短'),COLORYELLOW,LINETHICK1;
马:=(CMJZ AND DT1 AND DT2 AND QRSP AND SLSJ<=6 AND XDSJ<=6 AND FLSZ AND LXSY=0)*1.5,COLORYELLOW,STICK,LINETHICK2;
drawicon((获利>0.6 and 马>0),l-0.02,1);
DRAWTEXT(马>0 ,L*0.99, '马'),COLORRED,LINETHICK1;
ma0:=ma(c,5);
ma1:=ma(c,10);
穿:=(CROSS(C,MA0) OR (OMA0)) AND V>REF(V,1) AND MA0>REF(MA0,1) AND MA1>REF(MA1,1);
DRAWTEXT(穿>0 ,H*1.03, '穿'),COLORYELLOW,LINETHICK1;
{快马回头}
N4:=BARSLAST(短 OR 马);
HT1:=N4<=2 and="" l="">REF(L,N4) AND C/REF(C,N4)<1.015 AND V<REF(V,1);
HT2:=REF(HT1,1) AND (C<=REF(C,1) OR C<=ref(c,n4)) and="" c="">REF(O,N4) AND V<REF(V,1);
回:=HT2*0.8,COLORWHITE,STICK,LINETHICK2;
STICKLINE(回,L*0.98,L*0.92,0,1),colorwhite,linethick2;
DRAWTEXT(回>0 ,L*0.95 , '回'),COLORFF00FF,LINETHICK1;
STICKLINE(短 OR 马,h,l,0,1),colorYELLOW,linethick2;
STICKLINE(短 OR 马,o,c,4,1),colorYELLOW,linethick2;
QSXS:=(MA(C,30)>REF(MA(C,30),1))*REF(MA(C,30),1)-0.1, CIRCLEDOT,COLORYELLOW;
DRAWTEXT(QSXS>0 ,MA30-0.02 , '○'),coloryellow,LINETHICK1;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力撤:IF(V4<=0,V4,0),COLORGREEN;
主力进:IF(V4>=0,V4,0);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);神奇指标公式:DRAWNULL,COLORRED;
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:IF(VB>=0,VB,0),COLORYELLOW;
大盘资金撤走:IF(VB<=0,VB,0),COLORBLUE;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:EMA(V11,3);DRAWTEXT_FIX(C>O,0.01,0.9,0,',COLORYELLOW;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金:STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13)ANDFILTER((趋势线<=13),15);
DRAWTEXT(AA,30,'准备现金'),COLORCC9900;
买入股票:STICKLINE(趋势线<=13andv12>13,0,50,5,0),COLOR0099FF;
BB:=(趋势线<=13andv12>13)ANDFILTER((趋势线<=13andv12>13),10);
DRAWTEXT(BB,60,'买入股票'),COLOR0099FF;
见顶清仓:STICKLINE(趋势线>=90ANDV12,0,30,5,0),COLORGRAY;
CC:=(趋势线>=90ANDV12)ANDFILTER((趋势线>=90ANDV12),10);
DRAWTEXT(CC,40,'见顶清仓'),COLORGRAY;
评论(0)