{主力进出}
VAR8:=(CLOSE*2+HIGH+LOW)/4;
VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
VAR10:=EMA(VAR9,5);
空方主力:=(-2)*(VAR9-VAR10)*3.8;
多方主力:=2*(VAR9-VAR10)*3.8;
强弱分界:=0, CIRCLEDOT;
KK:=CROSS(空方主力,强弱分界);
DD:=CROSS(多方主力,强弱分界);
STICKLINE(空方主力 强弱分界,CONST(HHV(H,0)),CONST(LLV(L,0)),10,0),COLORBLACK;
STICKLINE(多方主力 强弱分界,CONST(HHV(H,0)),CONST(LLV(L,0)),10,0),COLOR001050;
{四边形擒牛股}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MM:=MIN(MA5,MA60);
MM2:=MIN(MA10,MA60);
SS:DRAWBAND(MM,RGB(250,0,250),MM2,0 );
HM:=MAX(MA5,MA60);
HM2:=MAX(MA10,MA60);
DRAWBAND(HM2,RGB(0,255,190),HM,0);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
KK1:=MIN(MA5,MA20);
KK2:=MIN(MA10,MA20);
DRAWBAND(KK1,RGB(0,255,190),KK2,0);
MA(C,5);
MA(C,10);
MA(C,30);
MA(C,60);
MA(C,120);
{底顶侦探}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD:=MA(SJ,2);
SK:=MA(SJ,1);
VAR3:=CROSS(SK,SD) AND SK
VAR4:=CROSS(SK,0);
VAR6:=CROSS(SK,SD) AND SK
BY:=VAR3, STICK;
DRAWICON(BY,L*0.96,23);
BE:=VAR4 OR VAR6, STICK;
DRAWICON(BE,L*0.96,25);
VAR7:=CROSS(SD,SK);
MC:=VAR7, STICK;
DRAWICON(MC,H*1.02,17);
{漓江}
VAR13:=(2*CLOSE+HIGH+LOW)/4;
T:=80, POINTDOT;
D:=20, POINTDOT;
VAR14:=LLV(LOW,5);
VAR15:=HHV(HIGH,4);
SK1:=EMA((VAR13-VAR14)/(VAR15-VAR14)*100,4);
SD1:=EMA(0.667*REF(SK1,1)+0.333*SK1,2);
{VAR4:=(HHV(HIGH,4)-VAR1)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
漓江倒影: SMA(VAR4,4,1), LINESTICK;}
VAR17:=(VAR13-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
VAR18:=SMA(VAR17,2,1);
桂林山水:=SMA(VAR18,2,1), LINESTICK;
{漓江: 12;}
VAR16:=CROSS(SK1,SD1);
GG:=VAR16, STICK;
DRAWICON(GG,L*0.96,1);
机构:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/CAPITAL;
累计:=EMA(机构,60)*60,COLORMAGENTA;
均值:=EMA(累计,MIN(10,60)),COLORWHITE;
VAR21:=CROSS(累计,均值);
GD:=VAR21, STICK;
DRAWTEXT(GD,L*0.97, '↖启爆点'),COLORMAGENTA;
STICKLINE(C/REF(C,1) 1.095,C,O,2,0),COLORMAGENTA;
STICKLINE(C/REF(C,1) 0.95,C,O,2,0),COLORGREEN;
现价:DRAWLINE(CURRBARSCOUNT=TOTALBARSCOUNT,CONST(C),CURRBARSCOUNT=1,C,3),DOTLINE,COLORLIGRAY;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;
副图源码:
机构:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/CAPITAL;
累计:=EMA(机构,60)*60,COLORMAGENTA;
均值:=EMA(累计,MIN(10,60)),COLORWHITE;
XG:CROSS(累计,均值);