N:=16;
M:=2;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M);
D:MA(K,M);
顶线:90,colorgreen,Linethick2;
中线: 50,colorred;
底线:10,colorwhite;
RSV:= (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
FASTK:=SMA(RSV,3,1);
Y1A:=((SMA(FASTK,3,1))/2+40)*1.1;
线上牛:SMA(Y1A,3,1),colorwhite;
RSV1:= (HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100;
Y2A:=(SMA(RSV1,3,1)/2)*1.1;
线下熊:SMA(Y2A,3,1),colorgreen;
V9:=TROUGHBARS(3,15,1)REF(头部,1),50,0),colorgreen,LINETHICK2;DRAWTEXT(卖,50,’★高顶出货 ‘),colorgreen;
底部:= IF(V11=50,50,0);
买:IF( 底部>REF(底部,1),25,0),coloryellow,LINETHICK3; DRAWTEXT(买,30,’★主力抄底 ‘),coloryellow;
N:=5;
C0:=(H+L+C)/3;
a1:=HHV(C0,n);
a2:=LLV(C0,n);
a3:=a1-a2;
a4:=EMA((C0-a2)/a3,2)*100;
b1:=HHV(C0,4*n);
b2:=LLV(C0,4*n);
b3:=b1-b2;
b4:=EMA((C0-b2)/b3,2)*100;
C1:=HHV(C0,16*n);C2:=LLV(C0,16*n);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
j:a4,colorred,linethick2;
VARC:=(ZIG(3,6)>=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)0,4.2,1);
DRAWTEXT(VAR17,22.3,’发现黑马’), COLORFF6600;
【 】【同花顺】辅助趋势线指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。