趋势先锋:MA(CLOSE, N1),colormagenta; 小牛线:MA(C,N2),colorliblue,DOTLINE;
大牛线:MA(CLOSE,N3),colorred,DOTLINE;
;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k=SMA(RSV,3,1);
d=SMA(k,3,1);
J:=(3*k-2*d);
STICKLINE(j<=20,O,C,8,1),colorgreen;
STICKLINE(j<=20 AND C>O,C,H,1,1),colorgreen;
STICKLINE(j<=20 AND C>O,O,L,1,1),colorgreen;
STICKLINE(j<=20 AND C<O,O,H,1,1),colorgreen;
STICKLINE(j<=20 AND C<O,C,L,1,1),colorgreen;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK1;
STICKLINE(长期<50,O,C,8,0),colorgreen;
STICKLINE(长期<50,L,H,1,0),colorgreen;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
STICKLINE(RSI6<20,L,H,8,0),colorblue;
STICKLINE(((C-REF(C,1))/REF(C,1))*100>=4,OPEN,CLOSE,4,0),coloryellow;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);//www.fxjgsw.com
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
MID : = MA(CLOSE,20);
UPPER:= MID + 2*STD(CLOSE,20);
LOWER: =MID - 2*STD(CLOSE,20);
STICKLINE(CROSS(H,UPPER) ,H,H,20,0),colorgreen;
STICKLINE(CROSS(C,LOWER) ,L,L,20,0),coloryellow;
STICKLINE(CROSS(LOWER,L) AND C>LOWER ,L,L,20,0),coloryellow;
DRAWICON(CROSS(MA(C,5),C),H,2);
|
