VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
主卖:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,NODRAW;
DDX:(主买+主卖)*10000/FINANCE(7),NODRAW;
资金动向:(SUM(ABS(DDX)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)),COLORGREEN,LINETHICK0;
资金动向1:=(SUM(ABS(DDX)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)),LINETHICK0;
STICKLINE(资金动向1 0,0,资金动向,2,0),COLORFF00FF;
STICKLINE(资金动向1 0,0,资金动向,2,0),COLORCYAN;
0,COLORWHITE;
0.5,COLORLIBLUE;
趋势线:EMA(EMA(C,5)-EMA(C,13),1),LINETHICK2,COLORGREEN;
IF(趋势线 REF(趋势线,1),趋势线,DRAWNULL),LINETHICK3,COLORLIRED;
M5Q:MA(趋势线,4),COLORWHITE,LINETHICK2;
M20Q:MA(趋势线,20),COLORLIGRAY,LINETHICK2;
DRAWBAND(趋势线,RGB(255,128,255),M20Q,RGB(100,0,0));
DRAWBAND(趋势线,RGB(200,10,10),M5Q,RGB(0,200,0));
RSVQ:=(((CLOSE-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5)))*100);
KQ:=SMA(RSVQ,3,1)COLORWHITE;
DQ:=SMA(KQ,3,1)COLORYELLOW;
JQ:=((3 * KQ) - (2 * DQ)),COLORFF00FF,LINETHICK4;
{}
V1:= CCI
V2:= KDJ.K
V3:= MACD.DIF
V4:= MTM
V5:= RSI
V6:= BIAS.BIAS2
V7:= ACCER
V8:= CYF
V9:=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);
V10:= WR
线:=IF(V1 SMA(V1,5,3),1,0)+IF(V2 SMA(V2,5,3),1,0)+IF(V3 SMA(V3,5,3),1,0)+IF(V4 SMA(V4,5,3),1,0)
+IF(V5 SMA(V5,5,3),1,0)+IF(V6 SMA(V6,5,3),1,0)+IF(V7 SMA(V7,5,3),1,0)+IF(V8 SMA(V8,5,3),1,0)+
IF(V9 SMA(V9,5,3),1,0)+IF(V10 SMA(V10,5,3),1,0);
红:=线-(10-线),COLOR0000FF,NODRAW;
{主导动能}{九毛八公式指标网www.9m8.cn}
TTV:=(2*C+O+H+L);
动能:=TTV/EMA(TTV,4)-1;
FF:=动能*100;
能增:=(FF-REF(FF,1))*10,COLORFFFFFF,NODRAW;
红升:=红-REF(红,1),COLOR0088FF,NODRAW;
转强:=能增 =30 AND 红升 =10 AND 红 =0,COLOR00FFFF,NODRAW;
操盘线:=EMA(线,60)*10-50,COLORWHITE,LINETHICK2;
DRAWICON(CROSS(趋势线,M5Q) AND (JQ 25 OR REF(JQ 30,1) OR REF(JQ 30,2) OR REF(JQ 30,2)OR (红 =0 AND 红 操盘线))AND NOT(M5Q REF(M5Q,5)AND M5Q 0),趋势线,1),COLORLIBLUE;