通达信追上主力指标公式

通达信鬼双林主图指标公式

通达信追上主力指标公式:

Var2:=REF(LOW,1);

Var3:=SMA(Abs(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;

Var4:=EMA(IF(CLOSE*1.2,Var3*10,Var3/10),3);

Var5:=LLV(LOW,38);

Var6:=HHV(Var4,38);

Var7:=IF(LLV(LOW,90),1,0);

Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;

有庄的影子: stICKLINE(Var8,0,Var8,6,1) , COLORffaaff;

趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORaabbdd;

aa:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(crOSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;

DRAWTEXT(aa,500,'砸锅卖田买'),coloryellow;

砸锅卖田买:IF(aa,500,-30),coloryellow;

bb:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));

DRAWTEXT(bb,300,'见底信号'),colorred;

见底信号:IF(bb,300,-20),colorred;

cc:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-25 AND 趋势线>-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-25,趋势线),1) AND CROSS(趋势线,-25));

DRAWTEXT(cc,400,'莫错失机会'),color00ff00;

莫错失机会:IF(cc,400,-25),color00ff00;

底部快显:IF(CROSS(-20,趋势线),100,-20),linethick2,colorf0f000;

DRAWTEXT(CROSS(-20,趋势线),120,''),colorf0f000;

机会来临:IF(CROSS(-25,趋势线),150,-25),linethick2,colorf00ff0;

DRAWTEXT(CROSS(-25,趋势线),170,''),colorf00ff0;

砸锅卖田等:IF(CROSS(-30,趋势线),200,-30),linethick2,colorwhite;

DRAWTEXT(CROSS(-30,趋势线),220,''),colorwhite;

通达信光音交易指标公式