通达信游刃有余指标公式
通达信大私募主图指标公式
通达信游刃有余指标公式:
N:=5;M:=3;Q:=13;P:=21;
Var2:=llv(low,3)<=llv(low,n);
Var3:= c>o and (c/o>m or c>m*ref(C,1));
绝地反击:if(Var2 and Var3,20,0),colorred,linethick2;
Var4:=hhv(high,3)>=hhv(high,Q);
Var5:=c<o and (c/o<0.95 or c<p*ref(c,1));
落袋为安:if(Var4 and Var5,80,100),colorgreen,linethick2;
{HUrsi}
Var1:=REF(CLOSE,1);
Var22:=REF(INDEXC,1);
Grsi:SMA(MAX(CLOSE-Var1,0),20,1)/SMA(Abs(CLOSE-Var1),20,1)*100;
Drsi:SMA(MAX(INDEXC-Var22,0),20,1)/SMA(ABS(INDEXC-Var22),20,1)*100,coloryellow;
80,colorgreen,pointdot;
50,colorred,pointdot;
20,color0066ff,pointdot;
DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
A1:EMA((DY1-DY2)/(DY3-DY2)*100,9);
B1:EMA((0.667*REF(A1,1)+0.333*A1),2),COLORGREEN;
stICKLINE(A1>=B1,B1,A1,5,0),COLORRED;
STICKLINE(A1<B1,B1,A1,5,0),COLORGREEN;
通达信战神通道主图指标公式