以下通达信金博士线源码副图
通达信金博士逃顶线源码副图
Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
Q3:=SMA(Q2,9,1);
Q4:=SMA(Q3,3,1);
短期:3*Q3-2*Q4,COLORWHITE,LINETHICK1;
中期趋势:EMA(Q3,3),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(中期趋势,短期趋势)ANDREF(短期趋势,1) 80,REF(短期趋势,3),'▼逢高派发'),COLOR00FF00,LINETHICK5;
▲逢低关注:DRAWTEXT(REF(CROSS(中期趋势,短期趋势),82)AND中期趋势 1.3*短期趋势,短期趋势,'▲逢低关注'),COLOR00FFFF,LINETHICK1;
▲:DRAWTEXT(REF(CROSS(短期趋势,中期趋势),1)AND短期趋势 1.3*中期趋势,中期趋势,'▲抄底'),COLORBLUE,LINETHICK1;
Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
Q3:=SMA(Q2,9,1);
Q4:=SMA(Q3,3,1);
长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趋势线:EMA(Q3,3),COLORRED,LINETHICK3;
DRAWTEXT(CROSS(趋势线,长趋势)ANDREF(长趋势,1) 80,REF(长趋势,3),'顶'),COLORRED,LINETHICK5;
逢低买:DRAWTEXT(REF(CROSS(趋势线,长趋势),82)AND趋势线 1.3*长趋势,长趋势,''),LINETHICK1;
买:DRAWTEXT(REF(CROSS(长趋势,趋势线),1)AND长趋势 1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)
VAR5:=IF(VAR3=1,2,0);
顶:=IF(VAR5=2,2,0);
顶A:IF(顶 REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'逃顶'),COLOR00FF00;
:CROSS(长趋势,趋势线);
DRAWTEXT(金叉,趋势线,'★'),COLORRED;
N:=27;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KK:=SMA(RSV,3,1);
K:=SMA(KK,3,1);
D:=SMA(K,3,1);
波:K,linethick1,COLORRED;
段:D,linethick1,COLORYELLOW;
Var5:=CROSS(KK,K)ANDK
STICKLINE(Var5,0,K+5,1,1), linethick1,COLORRED;
Var6:=CROSS(K,D)ANDK
Var7:=Var6ANDVOL REF(VOL,1)*2ANDVOL REF(MA(VOL,5),1)*2;
STICKLINE(Var6,0,K+5,1,1),linethick1,COLORWHITE;
DRAWTEXT(Var6ANDCOUNT(Var6,10)=1,K+15,'抄底'),linethick1,COLORWHITE;
STICKLINE(Var7,0,K+5,1,1),linethick1,COLORRED;
DRAWTEXT(Var7ANDCOUNT(Var7,10)=1,K+5,'放量'), linethick1,COLORRED;
Var8:=CROSS(KK,K)ANDK 80ANDK
STICKLINE(Var8ANDCOUNT(Var8,5)=1,K-5,100,1,1), linethick1,COLORGREEN;
Var9:=CROSS(D,K)ANDK
STICKLINE(Var9,K-5,100,1,1), linethick1,COLORYELLOW;
DRAWTEXT(Var9ANDCOUNT(Var9,10)=1,K-15,'逃顶'), linethick1,COLORYELLOW;
VAR3m:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4m:=SMA(VAR3m,3,1);
VAR1M:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2M:=SMA(VAR1M,9,1)+100;
VAR5m:=SMA(VAR4m,3,1)+100;
VAR6m:=VAR5m-VAR2m;
趋势:IF(VAR6m 45,VAR6m-45,0);
STICKLINE(REF(趋势,1) 趋势,趋势,REF(趋势,1),5,0),colorff00ff;
STICKLINE(REF(趋势,1) 趋势,趋势,REF(趋势,1),5,0),color00ff00;
0,COLORFFA2AF,LINETHICK2;
20,COLORFFA2AF,POINTDOT;
50,COLORFFA2AF;
80,COLORFFA2AF,POINTDOT;
100,COLORFFA2AF;
通达信金博士逃顶线源码副图截图