主力吸货
2015-12-1 22:36:13点击:
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
底线:0,COLOR00FFFF;
主力吸货:VAR7,COLOR0000FF;
吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF;
风险:CEILING(SMA(VAR9,13,8)),LINETHICK2,colorgreen;
涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,colorred;
N:=19;
VAR1:=HHV(HIGH,N);
VAR2:=LLV(LOW,N);
阻力线:EMA((CLOSE-VAR2)/(VAR1-VAR2),21)-0.5,COLORF0F000,LINETHICK2;
操作线:EMA((CLOSE-VAR2)/(VAR1-VAR2),5)-0.5,colorred,LINETHICK2;
DRAWTEXT(CROSS(操作线,阻力线) AND 阻力线<0.1,阻力线,''),coloryellow;
DRAWTEXT(CROSS(阻力线,操作线) AND 阻力线>0.25,阻力线,''),colorgreen;
红绿棒:(操作线-阻力线),COLORSTICK;
ya:=IF(C>=O,MONEY,0);
yaobv:=SUM(ya,0);
mOBV:=SUM(MONEY,0);
bl:=100*yaobv/mobv;
MAbl3:IF(BARSSINCE(C)>=3,MA(bl,3),50),colormagenta;
MAbl30:=IF(BARSSINCE(C)>=30,MA(bl,30),MAbl3);
PARTLINE(MAbl30,REF(MAbl30,1)<=MAbl30,colorred,1,colorblue),Linethick2;
MA60:=MA(C,60);
MAi60:=MA(INDEXC,60);
Ls:=REF(MA60,1)>MA60 AND REF(MAi60,1)>MAi60;//
STICKLINE(Ls AND MAbl3>MAbl30,MAbl3,MAbl30,6,0),coloryellow;
STICKLINE(NOT(Ls) AND MAbl3>MAbl30,MAbl3,MAbl30,1,0),colorred;
STICKLINE(MAbl3<=MAbl30,MAbl3,MAbl30,1,0),colorgreen;
VERLINE(CROSS(MAbl3,MAbl30) AND COUNT(MAbl30>MAbl3,BARSLAST(CROSS(MAbl30,MAbl3)))>30,2);
VAR1:=INDEXC;
VAR2:=REF(VAR1,18);
VAR3:=MA(VAR2,18);
个股趋势强度:C/MA(REF(C,18),18)*100,COLOR0BFFFF,LINETHICK2;
个股风险:MA(FORCAST(个股趋势强度,20),6),colorred;
大盘趋势强度:VAR1/VAR3*100,COLORF4E202,LINETHICK2;
大盘风险:MA(FORCAST(大盘趋势强度,20),6),colorgreen;