通達信抄底攻擊漲停指標公式原始碼

指标公式分享發表於2024-03-10
{ 通達信抄底攻擊漲停指標公式原始碼 }

VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
K: VAR3,COLOR0000FF,LINETHICK2;
D: VAR4,COLOR00FF00,LINETHICK2;
VAR6:=crOSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,38,'抄底'),LINETHICK3 ,COLORYELLOW ;
STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN , ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW , ;
DRAWTEXT(FILTER(VAR7,5)=1,80,'逃頂'),LINETHICK3 ,COLORGREEN, ;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,85,100,10,0), , ;
Y:=CLOSE/REF(CLOSE,1)>1.07;
X:=vol>MA(VOL,5);
A1:=Y AND X;
攻擊漲停:IF(A1,70,0),COLORFF3399,LINETHICK2;
K1:=BArslAST(L>REF(H,1) AND C/O>1.05);
K2:=L<ref(h,k1+1) and="" count(l<ref(h,k1+1),k1)="1;<br"> 缺口回補:IF(K2,60,0),COLORFFCC66,LINETHICK2;
強弱分界:50,POINTDOT,COLORAAbbdD,LINETHICK2;
10,COLORFFFF33,LINETHICK2;

相關文章