以下是通达信开天辟地指标公式(无源码的请下载附件导入)
M:=40;
A:=FILTER(BACKSET(ISLASTBAR,M),M); 0,COLORMAGENTA;
起始:STICKLINE(A,0,70,3,0);
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;
天数:BARSLAST(A);
EVERY(天数,J);
个股:IF(天数>0,J,0);
获利:WINNER(C);
STICKLINE(CROSS(D,K),天数+23,天数,0,0);
DRAWICON(CROSS(D,K),天数+23,1);
DRAWTEXT(天数=1,45,'起始'),COLORYELLOW;
DRAWTEXT(天数=1,30,' 年'),COLORGREEN;
DRAWTEXT(天数=1,20,' 月'),COLORGREEN;
DRAWTEXT(天数=1,10,' 日'),COLORGREEN;
DRAWNUMBER(天数=1,30,YEAR),COLORRED;
DRAWNUMBER(天数=1,20,MONTH),COLORRED;
DRAWNUMBER(天数=1,10,DAY),COLORRED;
STICKLINE(MA(C,5)>REF(MA(C,5),1),天数,天数,2,0),COLORRED;
646311651.jpg
647100069.rar
(3.22 KB, 下载次数: 0, 售价: 3 金钱)
|