通达信龙归指标公式
通达信KD过滤指标公式
通达信龙归指标公式:
A:=(C-REF(C,6))/REF(C,6)*100;
A1:=(HHV(H,5)-LLV(L,5))/2;
B:=(C-REF(C,22))/REF(C,22)*100;
B1:=(HHV(H,21)-LLV(L,21))/2;
降:=MA(((REF(B1,1)-(C+L+H)/3))/((C+L+H)/3)*B*-1,2);
a1h:=AMOUNT/vol/1000;
b2h:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d3h:=SUM(AMOUNT,13)/a1/1000;
e4h:=DMA(b2h,VOL/d3h);
升:=(CLOSE-e4h)/e4h*100;
jj:=(C+H+L+O)/4;
DIFF := EMA(jj,3) - EMA(jj,30);
DEA := EMA(DIFF,40);
强:(30*(DIFF-DEA))+50-15,ColorFF00FF ,LINETHICK2;
阻力线:(-30*(DIFF-DEA))+50-15,Color5EB900,linethick2 ;
Var22:=(CLOSE+HIGH+LOW+OPEN)/4;
Var22B:=SUMBARS(VOL,CAPITAL);
Var32:=HHV(Var22,Var22B);
Var33:=LLV(Var22,Var22B);
Var34:=(Var22-Var33)/(Var32-Var33);
疯牛:(IF(Var22>=Var32,(2*Var22-Var33-REF(Var32,1))/(Var32-Var33),Var34)*20-10),ColorFF00FF,POINTdot;
牛:(IF(Var22<=Var33,(2*Var22-Var33-REF(Var33,1))/(Var32-Var33),Var34)*20-10),ColorE9C000,POINTdot ;
【对倒拉升线】:=10;
var1:=EMA(CLOSE,10);
var2:=var1-EMA(CLOSE,5)<0;
var3:=var1-EMA(CLOSE,5)>0;
var4:=BArslAst(var2);
var5:=BARSLAST(var3);
起飞道:var4,Color0000FF,linethick2;
降落道:var5,ColorFFAF1D,linethick2;
var6:=IF(var5>0,(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,0);
var7:=SUM(var6,0);
持币信号:IF(var4>0,-2,0),stick , coloryellow;
STICKLINE(REF(持币信号,1)=-2 AND 持币信号=0,30,10,4,0),ColorFFFF3F;
STICKLINE(升>降,升,降,7,1),ColorFF8C00;
40,ColorCFC8CD;
var1j:=MA(CLOSE,5);
var2j:=MA(CLOSE,10);
var3j:=var1j/HHV(CLOSE,10)*50;
XAR5j:= MA(var3j,5);
var4j:=var3j<46 AND crOSS(var3j,XAR5j);
var5j:=FILTER(var4j,5);
STICKLINE(var5j AND XAR5j<46,50,40,10,0),colorred;
STICKLINE(var5j AND XAR5j<46,48,50,10,0),coloryellow;
STICKLINE(var5j AND XAR5j<46,40,42,10,0),coloryellow;
DTM:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));
DBM:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));
STM:=SUM(DTM,23);
SBM:=SUM(DBM,23);
DT:IF(STM>SBM,(STM-SBM)/STM,IF(STM=SBM,0,(STM-SBM)/SBM))*50,pointdot,Color00FFFF;
MA1:=mA(DT,8);
STICKLINE(dt>=ma1 and dt>ref(dt,1),dt,ma1,5,1),ColorFF00FF;
STICKLINE(dt<ref(dt,1),dt,ma1,5,0),Color004FFF;
通达信给力买卖指标公式