V1:=(C-MA(C,13))/MA(C,13)*(-100);
下降线:EMA(V1/10+EMA(C,10),3);
趋势:LLV(EMA(H,3),1);
中轨:HHV(EMA(H,3),3),COLORRED,LINETHICK2;
F:=100*(C-REF(C,1))/REF(C,1);
VAR1:=IF(C REF(O,1) AND F 0,1,0);
VAR2:=IF(C REF(O,2) AND F 0,1,0);
VAR3:=(VAR1=0 AND REF(VAR1,1)=1 AND VAR2=0 AND REF(VAR2,1)=1 );
红K:=IF(VAR3 ,L,H),COLORRED,POINTDOT;
STICKLINE( VAR3,OPEN,C,5,0),COLORRED;
VV:= STICKLINE(VAR1=1 AND REF(VAR1,1)=0 AND VAR2=1 AND REF(VAR2,1)=0 ,O,C,3,0),COLORYELLOW;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D);
P:=(H+C+L)/3;
VAR5:= J REF(J,1) AND J REF(J,3) AND J K AND J 40 AND K REF(K,1);
DRAWTEXT(VAR3 AND VAR5, L*0.98,'买'),COLORWHITE;
DRAWICON(FILTER(J REF(J,1) AND J 80 AND K REF(K,1),8),H*1.01,2);
A1:=REF(C,3)=HHV(C,10);
B1:=FILTER(A1,3);
C1:=BACKSET(B1,4);
HD:=FILTER(C1,3);
A2:=REF(C,3)=LLV(C,10);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,4);
LD:=FILTER(C2,3);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD) BARSLAST(LD) AND NOT(LD);
T2:=BARSLAST(HD) BARSLAST(LD) AND NOT(HD);
峰:IF(T2,A,A),COLORFF00FF,POINTDOT;
STICKLINE(T2 ,A,A,5,0),COLORFF00FF;
谷:IF(T1,B,B),COLOR80FF00,POINTDOT;
STICKLINE(T1,B,B,5,0),COLOR80FF00 ;
VA1:=MA(C,3)=HHV(MA(C,3),7) ;
VA2:= MA(C,3) MA(C,5) ;{www.9m8.cn 九毛八公式指标网}
VA3:= MA(C,5) MA(C,10)*1.01 ;
VA4:= COUNT(MA(C,1) REF(C,1),2)=2;
DRAWTEXT(FILTER(VA1 AND VA2 AND VA3 AND VA4 AND F 3,1) ,H*1.02,'出'),COLORWHITE;
VA5:=MA(C,3)=LLV(MA(C,3),7) AND MA(C,3) MA(C,5) AND MA(C,5)*1.02 MA(C,10) AND J REF(J,1) AND J REF(J,3);
VA6:=(FILTER(VA5,5));
DRAWTEXT(VA6,L*0.98,'$');