九毛八公式指标
公式模块:
A1:=(3*CLOSE+OPEN+HIGH+LOW)/6;
A2:=FORCAST(EMA(A1,8),6);
A3:=FORCAST(EMA(A1,17),6);
V4:=FORCAST(EMA(A1,11),6);
V5:=FORCAST(EMA(A1,14),6);
PARTLINE(A2,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(A3,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(V4,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),DOTLINE;
PARTLINE(V5,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),DOTLINE;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
BU:=crOSS(J,50);
SEL:=CROSS(50,J);
STICKLINE(J>=50,LOW,HIGH,0.8,0),COLORBLUE;
STICKLINE(J>=50,CLOSE,OPEN,8,0),COLORBLUE;
STICKLINE(J<50,LOW,HIGH,0.8,0),COLORE0E000;
STICKLINE(J<50,CLOSE,OPEN,8,0),COLORE0E000;
STICKLINE(BU,LOW,HIGH,0.8,0),COLORRED;
STICKLINE(BU,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(SEL,LOW,HIGH,0.8,0),COLORYELLOW;
STICKLINE(SEL,CLOSE,OPEN,8,0),COLORYELLOW; A1:=(3*CLOSE+OPEN+HIGH+LOW)/6;
A2:=FORCAST(EMA(A1,8),6);
A3:=FORCAST(EMA(A1,17),6);
V4:=FORCAST(EMA(A1,11),6);
V5:=FORCAST(EMA(A1,14),6);
PARTLINE(A2,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(A3,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0));
PARTLINE(V4,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),DOTLINE;
PARTLINE(V5,A2>=A3,RGB(255,0,0),A2<A3,RGB(0,255,0)),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;
BU:=CROSS(J,50);
SEL:=CROSS(50,J);
STICKLINE(J>=50,LOW,HIGH,0.8,0),COLORBLUE;
STICKLINE(J>=50,CLOSE,OPEN,8,0),COLORBLUE;
STICKLINE(J<50,LOW,HIGH,0.8,0),COLORE0E000;
STICKLINE(J<50,CLOSE,OPEN,8,0),COLORE0E000;
STICKLINE(BU,LOW,HIGH,0.8,0),COLORRED;
STICKLINE(BU,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(SEL,LOW,HIGH,0.8,0),COLORYELLOW;
STICKLINE(SEL,CLOSE,OPEN,8,0),COLORYELLOW;