指标源码
N3:=BARSLAST(CROSS(C,MA(C,21)));
(相关资料图)
N4:=BARSLAST(CROSS(MA(C,21),C));
M:=55;
N:=34;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
B:EMA(J,7),COLORWHITE;
TTS2:=REF(LOW,1);
TTS3:=SMA(ABS(LOW-TTS2),3,1)/SMA(MAX(LOW-TTS2,0),3,1)*100;
TTS4:=EMA(IF(CLOSE*1.3,TTS3*10,TTS3/10),3);
TTS5:=LLV(LOW,34);
TTS6:=HHV(TTS4,34);
TTS7:=IF(MA(CLOSE,55),1,0);
TTS8:=EMA(IF(LOW<=TTS5,(TTS4+TTS6*2)/2,0),3)/618*TTS7;
TTS9:=IF(TTS8>100,100,TTS8);
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
OK线:CEILING(SMA(AA5,13,8),1),COLORRED,LINETHICK3;
AA6:=SMA(AA3,21,8);
STICKLINE1(OK线-AA6<-68,0,7,2,1),COLORMAGENTA;
STICKLINE1(OK线-AA6>80,98,90,2,1),COLORFFFF00;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
INDEXL:="999001$L";
INDEXC:="999001$C";
INDEXH:="999001$H";
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
PJX:= 3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1),LINETHICK2 , COLORYELLOW;
DD: IF(CROSS(PJX,11),35,0),STICK ,COLORRED ,LINETHICK4;
DRAWTEXT(DD,35,"低") , COLORRED ;
KK:IF(CROSS(89,PJX),50,0),STICK ,COLORGREEN ,LINETHICK4;
DRAWTEXT(KK,50,"顶"),COLORGREEN;
TTS199:=MA(CLOSE,89)-MA(CLOSE,11)/3;
VVVV:=CLOSE 底:(IF(VVVV,1,0))*15,STICK,COLORWHITE,LINETHICK4; DRAWTEXT(底,15," ★底"),COLORWHITE; AA:=LLV(LOW,34); BB:=HHV(HIGH,21); A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),21),COLORRED; CC:A+100,COLORYELLOW; 演示图 end 扫描二维码获取 关键词:
最新资讯