量能平台
X:=21;
TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
BB1T:=FILTER(AA1T,X);
CC1T:=BACKSET(BB1T,X+1);
LD10T:=FILTER(CC1T,X);
前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0;
前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0;
T10T:=BARSLAST(HD10T) AND BARSLAST(LD10T) AND NOT(LD10T);
STICKLINE(T10T,前期高位,前期高位,20,0),COLORBLUE;
STICKLINE(T10T,前期低位,前期低位,20,0),COLORRED;
M55:MA(C,55);
VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
JJ:=(3*C+H+L+O)/6;
VARA:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VARA AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
STICKLINE(C,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),6,0),COLORred;
STICKLINE(C,REF(C,BARSLAST(LJL)),REF(C,BARSLAST(LJL)),6,0),COLORyellow;
N:=13;M:=9;M1:=3;
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR2:=SMA(VAR1,M1,1);
卖线:= SMA(VAR2,M1,1);
必卖线:= SMA(卖线,M1,1);
VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
VAR4:=SMA(VAR3,M1,1);
VAR5:=SMA(VAR4,M1,1);
买入线:= SMA(VAR5,M1,1);
高压线:= 85;
触底线:= 9;
DRAWTEXT(买入线>76.5 AND CROSS(卖线,必卖线),l,'进'),ALIGN1;
DRAWTEXT(买入线>56 AND 买入线<=76 AND CROSS(卖线,必卖线),l,'留意'),ALIGN1;
DRAWTEXT(买入线<45 AND 卖线>78 AND 必卖线>78 AND CROSS(必卖线,卖线),h,'跑'),COLORGREEN ,ALIGN1;
DRAWTEXT(CROSS(买入线,78.5),l,'关注'),COLORRED ,ALIGN1;
DRAWTEXT(CROSS(买入线,85),l,'重点关注'),COLORWHITE ,ALIGN1;
上拐:=必卖线<50 AND 卖线<必卖线 AND 卖线>ref(卖线,1);
下拐:=必卖线>50 AND 卖线>必卖线 AND 卖线<ref(卖线,1);
DRAWICON(上拐,l,7),COLORWHITE,ALIGN1 ;
DRAWICON(下拐,h,8),COLORWHITE,ALIGN1;
X:=21;
TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
BB1T:=FILTER(AA1T,X);
CC1T:=BACKSET(BB1T,X+1);
LD10T:=FILTER(CC1T,X);
前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0;
前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0;
T10T:=BARSLAST(HD10T) AND BARSLAST(LD10T) AND NOT(LD10T);
STICKLINE(T10T,前期高位,前期高位,20,0),COLORBLUE;
STICKLINE(T10T,前期低位,前期低位,20,0),COLORRED;
M55:MA(C,55);
VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
JJ:=(3*C+H+L+O)/6;
VARA:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VARA AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
STICKLINE(C,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),6,0),COLORred;
STICKLINE(C,REF(C,BARSLAST(LJL)),REF(C,BARSLAST(LJL)),6,0),COLORyellow;
N:=13;M:=9;M1:=3;
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR2:=SMA(VAR1,M1,1);
卖线:= SMA(VAR2,M1,1);
必卖线:= SMA(卖线,M1,1);
VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
VAR4:=SMA(VAR3,M1,1);
VAR5:=SMA(VAR4,M1,1);
买入线:= SMA(VAR5,M1,1);
高压线:= 85;
触底线:= 9;
DRAWTEXT(买入线>76.5 AND CROSS(卖线,必卖线),l,'进'),ALIGN1;
DRAWTEXT(买入线>56 AND 买入线<=76 AND CROSS(卖线,必卖线),l,'留意'),ALIGN1;
DRAWTEXT(买入线<45 AND 卖线>78 AND 必卖线>78 AND CROSS(必卖线,卖线),h,'跑'),COLORGREEN ,ALIGN1;
DRAWTEXT(CROSS(买入线,78.5),l,'关注'),COLORRED ,ALIGN1;
DRAWTEXT(CROSS(买入线,85),l,'重点关注'),COLORWHITE ,ALIGN1;
上拐:=必卖线<50 AND 卖线<必卖线 AND 卖线>ref(卖线,1);
下拐:=必卖线>50 AND 卖线>必卖线 AND 卖线<ref(卖线,1);
DRAWICON(上拐,l,7),COLORWHITE,ALIGN1 ;
DRAWICON(下拐,h,8),COLORWHITE,ALIGN1;
- 上一篇:吴俊华范二 2015/1/1
- 下一篇:整装待发(选股 副图 源码 通达信) 2015/1/1