公式解读:
线指标公式VOL,VOLSTICK , colorwhite;
Var2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
Var3:=IF(CLOSEOPEN,Var2*(HIGH-LOW),IF(CLOSE OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSEOPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSEOPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSEOPEN,Var2*(HIGH-LOW),IF(CLOSE OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2));
Var4:=IF(CLOSEOPEN,Var2*(HIGH-LOW),IF(CLOSE OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2))-IF(CLOSEOPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1);
Var5:=IF(CLOSEOPEN,Var2*(HIGH-LOW),IF(CLOSE OPEN,Var2*(HIGH-OPEN+CLOSE-LOW),VOL/2));
Var6:=IF(CLOSEOPEN,0-Var2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-Var2*(HIGH-LOW),0-VOL/2))*(-1);
: Var3,VOLSTICK, colorgreen;
买比: Var5/VOL*100, coloryellow;
卖比: Var6/VOL*100, colorcyan;
换手: VOL/CAPITAL*100,VOLSTICK , colorwhite;
市值: CAPITAL/100*CLOSE/10000, coloryellow;
STICKLINE(Var5,VOL,0,8,1), colorred;
STICKLINE(Var6,VOL/Var5+VOL/Var6+Var5/Var6+Var6/Var5+Var6,0,8,0), colorgreen;
今量:VOL ,colorblack;
STICKLINE( V=REF(V*1.88,1) AND CO AND CREF(C,1),0 ,今量*1.0,10 ,0 ),coloryellow;
STICKLINE( LLV(VOL,13)=VOL AND C=REF(C,1),0 ,今量*1.0,10 ,0 ),colorgreen;
STICKLINE( C=O,0 ,今量*1.0,8 ,1 ),colorred;
STICKLINE( CO,0 ,今量*1.0,8 ,0 ),colorcyan;
Var1:=COUNT(CLOSEOPEN,21);
Var2:=COUNT(CLOSEOPEN,21);
Var3:=IF(Var1Var2,CLOSE,HIGH);
Var4:=EMA(Var3,13);
Var5:=EMA(Var3,55);
Var6:=(Var4-Var5)*10;
趋势: MA(Var6,5),;
个股趋势: MA(Var6,13),;
趋势: MA(Var6,34),;
STICKLINE(Var6=0,Var6,Var6+1,6,1), colorred;
STICKLINE(Var6=0,Var6,Var6-1,6,1), colorbbccbb;
STICKLINE(Var6=0 AND Var6REF(Var6,1),Var6,Var6+1,6,0),color00ff00 ;
STICKLINE(Var6=0 AND Var6REF(Var6,1),Var6,Var6-1,6,0),colorff00ff ;
强弱分界: 0,ColorFFFF00 ;
公式解读:
成交量指标公式var1:=HIGH-LOW;
var2:=ABS(OPEN-CLOSE );
var3:=HIGH-IF(CLOSEOPEN,CLOSE,O);
var4:=IF(CLOSEOPEN,O,CLOSE)-LOW;
var5:=(var2/var1)*VOL;
var6:=(var3/var1)*VOL;
var7:=(var4/var1)*VOL;
var8:=IF(VOL/CAPITAL0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
var9:=(C-MA(C,5))/MA(C,5)*100;
var10:=MA(C,5)MA(C,10) AND MA(C,10)MA(C,30) AND MA(C,30)MA(C,60);
var11:=MA(C,5)MA(C,10) AND MA(C,10)MA(C,30) ;
var12:=100*(1-WINNER(C));
var13:=100*WINNER(C);
多头:STICKLINE(CMA(C,30),0,VOL,8,1),colorred;
空头:STICKLINE(CMA(C,30),0,VOL,8,1),colorgreen;
上攻:STICKLINE(var5=var6 AND var5=var7 AND CO,0,var5,8,0),colorred;
下攻:STICKLINE(var5=var6 AND var5=var7 AND CO,0,var5,8,0),colorgreen;
上探:STICKLINE(var6VAR5 AND var6var7,0,var6,8,0),colorcyan;
下探:STICKLINE(var7var5 AND var7var6,0,var7,8,0),colorff6600;
相对地量:=STICKLINE( var82 AND VOLMA(VOL,5)/2,0,VOL,2.5,0),color00ffff;
DRAWTEXT(var82 AND VMA(V,5)/2,V*3, #39;地量 #39;),color00ffff;
放量:STICKLINE(VOLMA(VOL,5)*1.5,VOL,VOL+VOL*0.03,8,0),colorwhite;
V1:=H-L;
V2:=ABS(O-C);
V3:=H-IF(CO,C,O);
V4:=IF(CO,O,C)-L;
V5:=V2/V1*V;
V6:=V3/V1*V;
V7:=V4/V1*V;
M5:=MA(V,5),colorwhite;
M10:=MA(V,10),coloryellow;
V8:=IF(V/CAPITAL0.001,1,EXP(ABS(LOG(V/CAPITAL*100))));
M5,colorwhite;
M10,coloryellow;
金指:EMA(IF(L=LLV(L,30),1,0),3)*2*V,colorwhite,Linethick2;
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
RSV:=(C-LLV(L,26))/(HHV(H,26)-LLV(L,26))*100;
K:=SMA(RSV, 6, 1);
D:=SMA(K, 3, 1);
J:=3*K-2*D;
LC:=REF(C,1);
XA:=IF(CROSS(J1,J) AND J20,-1,0)+IF(CROSS(J,J1) AND J80,1,0);
TYP:=(H+L+C)/3;
CCJ:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2;
RSI1:=SMA(MAX(C-LC, 0), 6, 1)/SMA(ABS(C-LC), 6, 1)*100;
K2:=EMA((C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100, 9);
XB:=IF(CCJ100 AND K250 AND CO, 0.5, 0)+IF(RSI180 AND K250 AND CO, 0.5, 0);
RSV3:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*100;
K13:=SMA(RSV3, 21, 1);
D13:=SMA(K1, 3, 1);
J13:=3*K13-2*D13;
XC:=IF(J1380 AND RSI185, 0.5, 0);
警戒:V*(XA+XB+XC0),Color009000,linethick2;
DRAWICON(CROSS(M5,M10),100,1);
DRAWICON(CROSS(M10,M5),100,2);
DRAWICON(CROSS(4000,金指),100,4);
DRAWICON(CROSS(M5,警戒),100,5);
DRAWTEXT(V7V5 AND V7V6 AND CMA(C,30) AND V7MA(V,5)/2 AND MA(V,5)MA(V,10),VOL*2, #39;逢低跟进 #39;),colormagenta;
DRAWTEXT(FILTER(V5MA(V,5)*2 AND V5=V6 AND V5=V7 AND CO OR VMA(VOL,5)*3,2),1.2*V, #39;强势参与 #39;),colorred;
DRAWTEXT(V5=V6 AND V5=V7 AND CO AND V5/VOL0.7 AND V5MA(V,5),HHV(V,5), #39;空头释放 #39;),colorwhite;
DRAWTEXT(V6V5 AND V6V7 AND CMA(C,5) AND CMA(C,34) AND HMA(C,55) AND VM5 AND V6MA(V,5),V, #39;逢高出货 #39;),colorgreen;
A1:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,10))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,10))*100;
A2:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,22))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,22))*100;
A3:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,44))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,44))*100;
A4:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,88))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,88))*100;
A5:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,176))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,176))*100;
A6:=(EMA(AMOUNT/V/100,5)-EMA(AMOUNT/V/100,352))/MAX(EMA(AMOUNT/V/100,5),EMA(AMOUNT/V/100,352))*100;
A7:=(EMA(AMOUNT,5)-EMA(AMOUNT,10))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,10))*10;
A8:=(EMA(AMOUNT,5)-EMA(AMOUNT,22))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,22))*10;
A9:=(EMA(AMOUNT,5)-EMA(AMOUNT,44))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,44))*10;
A10:=(EMA(AMOUNT,5)-EMA(AMOUNT,88))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,88))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,176))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,176))*10;
A11:=(EMA(AMOUNT,5)-EMA(AMOUNT,352))/MAX(EMA(AMOUNT,5),EMA(AMOUNT,352))*10;
B1:=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11;
B2:=EMA(B1,5);
B3:=EMA(B1,30);
PARTLINE(B1,B1REF(B1,1),RGB(255,0,255),B1=REF(B1,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(B2,b2REF(B2,1),RGB(255,0,0),B2=REF(B2,1),RGB(0,255,0)),LINETHICK1;
PARTLINE(B3,B3REF(B3,1),RGB(255,0,0),B3=REF(B3,1),RGB(0,255,0)),LINETHICK2;