同花顺K动能公式
达摩西来一字无,阴阳变化自反复,
日月升降依时序,买卖出入随熊牛。
H1:=REF(H,1);
C1:=REF(C,1);
O1:=REF(O,1);
L1:=REF(L,1);
HRS:=SMA(MAX(H-H1,0),2,1)/SMA(ABS(H-H1),2,1);
CRS:=SMA(MAX(C-C1,0),2,1)/SMA(ABS(C-C1),2,1);
ORS:=SMA(MAX(O-O1,0),2,1)/SMA(ABS(O-O1),2,1);
LRS:=SMA(MAX(L-L1,0),2,1)/SMA(ABS(L-L1),2,1);
HR1:=MAX(MAX(HRS,CRS),MAX(ORS,LRS))*110-55,colorred;
LR1:=MIN(MIN(HRS,CRS),MIN(ORS,LRS))*110-55,colorblue;
水平:0,colorwhite;
超卖:-45,colorcyan;
超买:45,colorlired;
//VERLINE(MONTH>REF(MONTH,1),2);
DRAWKLINE(HR1,ORS*110-55,LR1,CRS*110-55);
MA1:MA(CRS,2)*110-55,colorred;
MA2:MA(MA1,2),coloryellow;
MA3:MA(MA2,2),colorgreen;
MA4:MA(MA3,2),colorcyan;
MA5:MA(MA4,2),colorblue;
VERLINE(MONTH>REF(MONTH,1),2);
DRAWGBK(C>MA(C,55)),color000000;
DRAWGBK(C>MA(C,34)),color000000;
DRAWGBK(C<MA(C,55)),color220000;
DRAWGBK(C<MA(C,34)),color330000;