【通达信】主升指标公式603099

RSV1:=(CLOSE-LLV(LOW,52))/(HHV(HIGH,52)-LLV(LOW,52))*100;
K1:=SMA(RSV1,6,1);
D1:=SMA(K1,6,1);STICKLINE(EMA(D1,3)>REF(EMA(D1,3),1) ,EMA(D1,3) ,REF(EMA(D1,3),1) ,3 ,0),COLORRED;
STICKLINE(EMA(D1,3)DI:=(EMA(CLOSE,12)-EMA(CLOSE,52))*100;
AA10:=MA(DI,1),COLORWHITE;
BB10:=ATAN((AA10-REF(AA10,1)))*3.1416*10;
STICKLINE(AA10>REF(AA10,1),AA10,REF(AA10,1),8,0),;
STICKLINE(AA10< REF(AA10,1),AA10,REF(AA10,1),8,1),COLORGREEN;
STICKLINE(AA10>REF(AA10,1),AA10,REF(AA10,1),8,0),COLORMAGENTA;