以下是通达信站在黄金线上公式 副图通用源码测试图(无源码的请下载附件导入)
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
RSV2:=(RSV1-0.5)/5*EMA(C,20);
RSVK:=SMA(RSV2,3,1);
RSVD:=SMA(RSVK,3,1);
RSVJ:=RSVK*3-RSVD*2;
J:RSVJ+EMA(C,20);
VAR1:=(HIGH+LOW+OPEN+CLOSE)/4;
VAR3:=2*EMA(LLV(VAR1,7),10)-VAR1;
黄金线:MA(3*VAR1-2*SMA(VAR1,2,1),12);
STICKLINE(J<黄金线,J,黄金线,1,1),colorgreen;
STICKLINE(黄金线<J,黄金线,J,1,1),colorred;
931477277.png
|