{[势RSI]}
{指标有木有用,适合你要走的路是最大原则!其它神马都是浮云。}
RRS1:=SMA(MAX((C+L)/2-REF(C,1),0),3,1)*50;
RS1:=SMA(MAX((C+H)/2-REF(C,1),0),3,1)*50;
RS2:=SMA(ABS(C-REF(C,1)),3,1)*50;
RS3:=SMA(MAX(C-REF(C,1),0),3,1)*50;
JSI1:(RRS1*4)-(RS2),COLORWHITE;
JSI2:(RS3*4)-(RS2),COLORBLUE;
JSI3:IF((RS2/4)-(RS1) JSI1,(RS2/4)-(RS1),DRAWNULL),COLOR0055FF;
DRAWBAND(JSI3,RGB(250,90,0),JSI1,RGB(250,90,0));
DRAWBAND(JSI1,RGB(250,250,250),JSI1,RGB(250,250,250));
DRAWBAND(JSI2,RGB(0,0,250),JSI2,RGB(0,0,250));
JSI4:(RS2/4)-(RS1),COLORFFFF00;
VAR1:=REF(OPEN,1);
VAR2:=SMA(MAX(OPEN-VAR1,0),6,1)/SMA(ABS(OPEN-VAR1),
6,1)*100,NODRAW;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3
),6,1)*100,NODRAW;
VAR5:=REF(HIGH,1);
VAR6:=SMA(MAX(HIGH-VAR5,0),6,1)/SMA(ABS(HIGH-VAR5),
6,1)*100,NODRAW;
VAR7:=REF(LOW,1);
VAR8:=SMA(MAX(LOW-VAR7,0),6,1)/SMA(ABS(LOW-VAR7),6,
1)*100,NODRAW;
开盘值:VAR2,NODRAW;
收盘值:VAR4,NODRAW ;
最高值:VAR6,NODRAW ;
最低值:VAR8,NODRAW ;
{STICKLINE(VAR4 VAR2,VAR8,VAR6,3,0),COLORCYAN;
STICKLINE(VAR4 VAR2,VAR8,VAR6,3,0),COLORRED;}
STICKLINE(VAR4 VAR2,VAR2,VAR4,3,0),COLORCYAN;
STICKLINE(VAR4 VAR2,VAR2,VAR4,3,0),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR4,VAR4,VAR6,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR4,VAR4,VAR6,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR4,VAR4,VAR8,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR2,VAR2,VAR8,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR2,VAR2,VAR8,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR2,VAR2,VAR6,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR2,VAR2,VAR6,0.8,1),COLORRED;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR4,VAR4,VAR8,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR4,VAR4,VAR6,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR4,VAR4,VAR8,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR4,VAR2,VAR8,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR6 VAR4,VAR2,VAR8,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR2,VAR2,VAR6,0.8,1),COLORCYAN;
STICKLINE(VAR4 VAR2 AND VAR6 VAR8 AND
VAR8 VAR2,VAR2,VAR6,0.8,1),COLORCYAN;
DRAWBAND(20,RGB(400,400,0),20,DRAWNULL);
DRAWBAND(80,RGB(400,400,0),80,DRAWNULL);
趋
势:(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*80+10,COLORY
ELLOW;