## 【通达信】量能公式（全新思路，无未来）可选股

2016-08-21
 下面举例3个。有缘人会爱上这个指标的。 AAA1:49;BBB2:52;B1:=REF(CLOSE,1);B2:=REF(CLOSE,2);B3:=REF(CLOSE,3);B4:=REF(CLOSE,4);CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);BT:=REF(VOL,1);BB1:=IF(O=REF(C,1),O,REF(C,1));多建:=IF((C>CMIN)*(VOL>BT) OR (C>CMAX)*(VOL>BT),VOL-BT,0);空平:=IF((C>CMIN)*(VOLCMAX)*(VOLBT) OR (CBT),VOL-BT,0);多平:=IF((CREF(多头持单,1);AAT2:=多头持单REF(空头持单,1);BBT2:=空头持单OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);VAR6:=((VAR3/VAR2)*VOL);VAR7:=((VAR4/VAR2)*VOL);VAR8:=((VAR5/VAR2)*VOL);多头:=((CLOSE=CMAX)*(B1=CMIN))*((HOLD>B6)*(VOL>B5)) OR ((CLOSE=CMAX)*(B1>=B2 OR B1>=B3)OR ((B1=CMAX)*(B2=CMIN OR B3=CMIN)*(CLOSE>=B2)) OR (B2=CMAX)*(B3=CMIN)*(CLOSE>=B1) OR (B3=CMAX)*(CLOSE>=B1)*(CLOSE>=B2))*((HOLD>B6)*(VOL>B5)) OR ((B1=CMIN)*(CLOSE>=B2) OR (B2=CMIN)*(B1<=B3) OR (B3=CMIN)*(B1<=B2)*(B2=B1))*((HOLD>B6)*(VOL>B5));多头3:=((CLOSE=CMAX)*(B1=CMIN))*((HOLD>B6)*(VOL=B2 OR B1>=B3)OR ((B1=CMAX)*(B2=CMIN OR B3=CMIN)*(CLOSE>=B2)) OR (B2=CMAX)*(B3=CMIN)*(CLOSE>=B1) OR (B3=CMAX)*(CLOSE>=B1)*(CLOSE>=B2))*((HOLD>B6)*(VOL=B2) OR (B2=CMIN)*(B1<=B3) OR (B3=CMIN)*(B1<=B2)*(B2=B1))*((HOLD>B6)*(VOL=B2 OR B1>=B3)OR ((B1=CMAX)*(B2=CMIN OR B3=CMIN)*(CLOSE>=B2)) OR (B2=CMAX)*(B3=CMIN)*(CLOSE>=B1) OR (B3=CMAX)*(CLOSE>=B1)*(CLOSE>=B2))*((HOLD=B2) OR (B2=CMIN)*(B1<=B3) OR (B3=CMIN)*(B1<=B2)*(B2=B1))*((HOLDB5))*((B1=CMAX)*(CLOSE=CMIN)) OR ((HOLDB5))*((CLOSE=CMIN)*(B1B6)*(VOL>B5))*((B1=CMAX)*(CLOSE=CMIN)) OR ((HOLD>B6)*(VOL>B5))*((CLOSE=CMIN)*(B1B6)*(VOLB6)*(VOLB5)) OR ((CLOSE=CMAX)*(B1>=B2 OR B1>=B3)OR ((B1=CMAX)*(B2=CMIN OR B3=CMIN)*(CLOSE>=B2)) OR (B2=CMAX)*(B3=CMIN)*(CLOSE>=B1) OR (B3=CMAX)*(CLOSE>=B1)*(CLOSE>=B2))*((HOLDB5)) OR ((B1=CMIN)*(CLOSE>=B2) OR (B2=CMIN)*(B1<=B3) OR (B3=CMIN)*(B1<=B2)*(B2=B1))*((HOLDB5));STICKLINE(多头 OR 多头3,0,ABS(HOLD-REF(HOLD,1)),2,0),COLORRED;STICKLINE(多衰,0,ABS(HOLD-REF(HOLD,1)),2,0),COLORWHITE;STICKLINE(多平1,0,ABS(HOLD-REF(HOLD,1)),2,1),COLORRED;STICKLINE(空头 OR 空头3,0,-ABS(HOLD-REF(HOLD,1)),2,0),COLORGREEN;STICKLINE(空衰,0,-ABS(HOLD-REF(HOLD,1)),2,0),COLORWHITE;STICKLINE(空平1,0,-ABS(HOLD-REF(HOLD,1)),2,1),COLORGREEN; 5188.com

0条评论