通达信第二买点合并吸拉派落指标公式源码

通达信七彩均线买卖主图指标公式

通达信第二买点合并吸拉派落指标公式:

VAR1:=(EMA(C,11)-EMA(C,24))*100+50;

VAR2:=EMA(VAR1,9);

VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;

VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

VAR5:=SMA(VAR4,13,8);

VAR6:=SMA(VAR3,21,8);

VAR7:=MA(C,80)-MA(C,10)/7;

VAR8:=EMA(C,5);

VAR9:=MA((LLV(C,9))*1.1,14);

VAR10:=2*VAR9-VAR8-C*0.1;

VAR11:=IF(((VAR8-VAR10)*5>0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR8-VAR10)*(5),2)))/(10));

VAR12:=IF((VAR11>0),VAR11-0,12);

VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(Abs(C-REF(C,2)),7,1)*100;

趋势:CEILING(SMA(VAR5,13,8)),LINETHICK2,COLOR0000FF;

看底:IF((趋势-VAR6<(-65)),1,6),COLOR00FF00;

顶峰:IF((趋势-VAR6>85),95,100),COLORF0F000;

黄金区: DRAWICON(IF(VAR13<15,15,0),13,12),COLORYELLOW;

操盘线: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE;

stICKLINE(FILTER(趋势>75 AND crOSS(操盘线,趋势),5),100,60,2,1),COLORFFFF00;

STICKLINE(FILTER(CROSS(趋势,VAR12)AND 趋势>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35 AND C>REF(C,1),5),5,50,2,1),COLOR00FF00;

VARA:=EMA(EMA(C,13),13);

KP:=(VARA-REF(VARA,1))/REF(VARA,1)*1000,COLORWHITE,LINETHICK3;

MM:=REF(KP,1);

派:IF(KP=0,KP,KP),COLORGREEN,LINETHICK3;

落:IF(KP<0 ,KP,DRAWNULL),COLORWHITE,LINETHICK3;

吸:IF(KP>=MM ,KP,DRAWNULL),COLORLIRED,LINETHICK3;

拉:IF(KP>=0 AND KP>=MM,KP,DRAWNULL),COLORRED,LINETHICK3;

通达信天涯锁喉剑主图指标公式