M:=55;
N:=21;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/0,3),0)/618*VAR7*VAR1;
吸筹:IF(VAR8>100,100,VAR8)*VAR1,colorblack;
庄家吸筹:STICKLINE(吸筹>-100,0,吸筹,0, ),,colorblack;
线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),NODRAW,;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
资金线:EMA(J,6),coloryellow,LINETHICK3;
X:=资金线;
Y:=线;
XG1:=CROSS(X,Y),NODRAW;
DRAWTEXT(XG1=1,20,'★金叉'),coloryellow;
V9:=TROUGHBARS(3,8,1)<10; V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
买:IF( 底部>REF(底部,1),15,0),COLOR5C3317,LINETHICK2;
DRAWTEXT(买,0,'抄底'), COLORFFAA00;
V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);
N1:=10;
资金:4*SMA((CLOSE-LLV(LOW,n1))/(HHV(HIGH,n1)-LLV(LOW,n1))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n1))/(HHV(HIGH,n1)-LLV(LOW,n1))*100,5,1),3.2,1), ,COLORFFAA00 ,linethick1;
支撑线:25,Color0000FF,LINETHICK1,DOTLINE;
STICKLINE(资金>支撑线,资金,支撑线,2,0,0), colorred ;
DRAWICON(CROSS(资金,支撑线),20,7);
量占比:=TOSTRING(OPENVOL/REF(VOL,0)*0,0);
量占比1:='分析家公式网www.70822.Com. '+量占比+'0';
DRAWTEXT_FIX(ISLASTBAR,0.01,0.05,0,量占比1),coloryellow;
HJ_2:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_9:=EMA(CLOSE,40);
HJ_10:=EMA(CLOSE,60);
HJ_11:=MAX(HJ_9,HJ_10);
爆量买入X2:=CLOSE>HJ_11 AND HJ_2 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07),colorred;
爆量买入:爆量买入X2,PLAYSOUND2;
DRAWTEXT(IF(爆量买入X2,(-1),0),110,'发射'),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),1,0,0.3,0),COLOR00AAFF;
STICKLINE(IF(爆量买入X2,(-1),0),1,0,4,0),COLOR00BBFF;
STICKLINE(IF(爆量买入X2,(-1),0),1,0,3,0),COLOR00CCFF;
STICKLINE(IF(爆量买入X2,(-1),0),37, 39, 14,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),33, 37, 16,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),28, 33, 18,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),10, 28, 9,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),98, 100, 1,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),96, 98, 4,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),93, 96, 8,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),89, 93, 9,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),75, 89, 11,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),8, 75, 9,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),9, 5, 13,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),5, 0, 14,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),-5, 0, 9,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),-10, -5, 4,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),-10, -15, 2,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),-15, -20, 1,0),COLOR0000FF;
STICKLINE(IF(爆量买入X2,(-1),0),8, 5, 6,0),COLOR00FFFF;
STICKLINE(IF(爆量买入X2,(-1),0),5, 0, 2,0),COLOR00FFFF;
STICKLINE(IF(爆量买入X2,(-1),0),-5, 0, 1,0),COLOR00FFFF;
STICKLINE(IF(爆量买入X2,(-1),0),87, 77, 9,0),COLOR0000FF;
{DRAWTEXT(IF(爆量买入X2,(-1),0),86,'★'),coloryellow;}
STICKLINE(IF(爆量买入X2,(-1),0),59, 61, 3,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),51, 53, 3,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),43, 45, 3,0),coloryellow;
STICKLINE(IF(爆量买入X2,(-1),0),89, 89, 12,0),COLORFF0000;
STICKLINE(IF(爆量买入X2,(-1),0),75, 75, 12,0),COLORFF0000;
STICKLINE(IF(爆量买入X2,(-1),0),39, 39, 12,0),COLORFF0000;
STICKLINE(IF(爆量买入X2,(-1),0),10, 10, 10,0),COLORFF0000;