以下是通达信现身暴起指标公式源码
通达信庄家现身暴起指标公式源码:
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:Sma(拉升力A,3,1),COLORFF00FF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1*拉升力A;
做空:IF(空方 拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;
多头:IF(做空 =REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK3;
空头:IF(做空 REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK3;
:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;
:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;
红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;
蓝柱:SMA(中线,3,1),COLORstICK,COLORFFFF00;
{红柱}
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,2,0),COLOR888800;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,1.5,0),COLORAAAA00;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.8,0),COLORDDDD00;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.3,0),COLORFFFF00;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,2,0),COLOR000088;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,1.5,0),COLOR0000AA;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.8,0),COLOR0000DD;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.3,0),COLOR0000FF;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,2,0),COLOR008800;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,1,0),COLOR00AA00;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,0.8,0),COLOR00DD00;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,0.3,0),COLOR00FF00;
{蓝柱}
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,2,0),COLOR880088;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,1.5,0),COLORAA00AA;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.8,0),COLORDD00DD;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.3,0),COLORFF00FF;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,2,0),COLOR888800;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,1.5,0),COLORAAAA00;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.8,0),COLORDDDD00;
STICKLINE(红柱 REF(红柱,1)AND红柱 0,0,红柱,0.3,0),COLORFFFF00;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,2,0),COLOR009999;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,1.5,0),COLOR00BBBB;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,0.8,0),COLOR00DDDD;
STICKLINE(蓝柱 REF(蓝柱,1)AND蓝柱 0,0,蓝柱,0.3,0),COLOR00FFFF;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=crOSS(操盘,VAR300)ANDVAR300 2.1ANDC
STICKLINE(A1,5,0,4,0),COLOR770077;
STICKLINE(A1,5,0,3,0),COLOR990099;
STICKLINE(A1,5,0,2,0),COLORBB00BB;
STICKLINE(A1,5,0,1,0),COLORDD00DD;
STICKLINE(A1,5,0,0.3,0),COLORFF00FF;
DRAWTEXT(A1,5.2,'全仓'),COLORRED;
X_1:=IF(CLOSE REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1) 1.05ANDHIGH/CLOSE 1.01ANDX_1 0,91,0);
X_3:=FILTER(X_2 90,45);
STICKLINE(X_3,150,0,4,0),COLOR000099;
STICKLINE(X_3,150,0,2,0),COLOR0000BB;
STICKLINE(X_3,150,0,1,0),COLOR0000DD;
STICKLINE(X_3,150,0,0.9,0),COLORRED;
DRAWTEXT(X_3 0,130,'金牛暴起'),COLOR00C5FF;
DRAWTEXT_FIX(1,0,100,0,5281),COLORYELLOW;
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=REVERSE(X_7);
X_9:=REF(MA(CLOSE,1),10) REF(MA(CLOSE,60),10);
买入:crOSS(X_7,X_8)ANDX_9;
STICKLINE(买入,0,30,6,0),COLORBLUE;
STICKLINE(买入,30,60,4,0),COLORWHITE;
STICKLINE(买入,60,80,2,0),COLORYELLOW;
DRAWTEXT(买入,70,'庄家现身'),COLORRED;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3);
进场:=IF(VAR5 REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
庄家:=EMA(EMA(CLOSE,10),10);
现价:=(庄家-REF(庄家,1))/REF(庄家,1)*1000;
主力:=100*0.95;
平均价:=SMA(现价,5,1)-SMA(现价,13,1);
上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200;
吃庄价:=EMA(中价,5);
净吃庄血:=吃庄价;
A1:=30;
实体比例:=(CLOSE-OPEN)/REF(CLOSE,1);
冲击系数:=MA(实体比例,A1);
冲击系数1:=MA(冲击系数,3);
STICKLINE(冲击系数1 0,((冲击系数1*10000)+净吃庄血)/2,0,2,0),COLORRED;
X:=WINNER(C-0.168*C)*1000;
存货:MA(X,13);
通达信庄家现身暴起指标公式截图