J:=20;
P:=60;
E:=500;
N:=5;
A:=((H-L)/L)/VOL/(H-L)*1000000;
B:=MA(A,J);
D:=MA(A,P);
G:=MA(A,E);
人界:=HHV(A,500)/2,DOTLINE,COLORRED;
地界:=LLV(A,500)*3,DOTLINE,COLORRED;
STICKLINE(LLV(A,3) (G*0.5),0,HHV(A,500),2,0)COLORGREEN;
STICKLINE(A G,A,G,0.1,0),COLORRED;
价格趋势:A,COLORWHITE,LINETHICK1;
近期趋势:B;
中期趋势:D;
长期趋势:G;
持仓:IF(COUNT(A G,6) =4,A,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(CROSS(D,B),D,5);
P1:=BARSLAST(A
P2:=IF(VOL REF(V,1)*1.9 AND C O,1,0);
P3:=IF(VOL REF(V,1)*1.9 AND C O AND C/REF(C,1) 1.05,1,0 );
P4:=IF(P1 10,1,0);{九毛八公式指标网www.9m8.cn}
PP:=BARSLAST(VOL REF(V,1)*1.9);
PPP:=IF(PP P1,1,0);
STICKLINE(PPP=1 AND P2=1 AND P4=0,0,HHV(A,500),2,0),COLORRED;
STICKLINE(PPP=1 AND P3=1 AND P4=0,0,HHV(A,500),2,0),COLORYELLOW;