当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

七剑(同花顺公式源码)

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

七剑,通达信转同花顺公式

K:=0;T:=1;G:=1;
X_1:=1;
X_2:=2;
X_3:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
X_4:=IF(CLOSE-REF(CLOSE,1)*0.9<0.01,1,0);
X_5:=10;
X_6:=11;
X_7:=9;
X_8:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_9:=IF(0,(20*X_8+19*REF(X_8,1)+18*REF(X_8,2)+17*REF(X_8,3)+16*REF(X_8,4)+15*REF(X_8,5)+14*REF(X_8,6)+13*REF(X_8,7)+12*REF(X_8,8)+11*REF(X_8,9)+10*REF(X_8,10)+9*REF(X_8,11)+8*REF(X_8,12)+7*REF(X_8,13)+6*REF(X_8,14)+5*REF(X_8,15)+4*REF(X_8,16)+3*REF(X_8,17)+2*REF(X_8,18)+REF(X_8,20))/210,DRAWNULL);
X_10:=MA(X_9,6);
DRAWBAND(X_9,RGB(255,255,128),X_10,RGB(0,0,128));
STICKLINE(X_3,OPEN,CLOSE,3.5,0),COLOR007FFF;
STICKLINE(X_3,OPEN,CLOSE,3,0),COLOR007FFF;
STICKLINE(X_3,HIGH,LOW,0,0),COLOR007FFF;
斩妖:IF(K,REF(COST(99),1),DRAWNULL),COLOR58FFFF;
游龙剑:IF(T,EMA(REF(COST(95),X_1),X_2),DRAWNULL),COLORF0F0F0,LINETHICK2;
莫问剑:IF(T,EMA(REF(COST(90),X_1),X_2),DRAWNULL),colorgray;
竞星剑:IF(T,EMA(REF(COST(75),X_1),X_2),DRAWNULL),colorgray;
天瀑剑:IF(T,EMA(REF(COST(50),X_1),X_2),DRAWNULL),colormagenta;
日月剑:IF(T,EMA(REF(COST(25),X_1),X_2),DRAWNULL),colorgray;
青干剑:IF(T,EMA(REF(COST(10),X_1),X_2),DRAWNULL),colorgray;
舍神剑:IF(T,EMA(REF(COST(5),X_1),X_2),DRAWNULL),COLORF0F0F0,LINETHICK2;
DRAWICON(CROSS(游龙剑,斩妖) AND X_3,游龙剑,1);
DRAWICON(CROSS(CLOSE,游龙剑) AND CROSS(CLOSE,斩妖) AND X_3,LOW,9);
X_11:=IF(REF(CLOSE,1)*1.1-HIGH<0.01,1,0);
STICKLINE(X_11 AND NOT(X_3),OPEN,CLOSE,3.5,1),COLORFF8080;
STICKLINE(X_11 AND NOT(X_3),MAX(OPEN,CLOSE),CLOSE,3.5,0),COLORFF8080;
STICKLINE(X_11 AND NOT(X_3),LOW,MIN(CLOSE,OPEN),0,0),COLORFF8080;
STICKLINE(X_11 AND NOT(X_3),HIGH,MAX(CLOSE,OPEN),0,0),COLORFF8080;
DRAWICON(X_11 AND NOT(X_3),HIGH,24);//股民学院 www.58188.com
每股公积:FINANCE(18),NODRAW,colorgray;
每股未分配利润:FINANCE(32),NODRAW,colorgray;
股东权益:FINANCE(36),NODRAW,colorgray;

上一篇:堆量,用于堆量研究,仅供参靠(同花顺公式源码)

下一篇:信号D买卖点W(同花顺公式源码)