通达信趋势乾坤指标公式

通达信卧虎藏龙主图指标公式

通达信趋势乾坤指标公式:
VAR1F:=((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5)))*(100);

VAR20:=REVERSE(VAR1F);

VAR21:=SMA(VAR1F,3,1);

趋势:SMA(VAR21,2,1),COLOR0000FF,LINETHICK1;

人气:SMA(趋势,2,1),COLORYELLOW,LINETHICK1;

A1:=crOSS(趋势,人气);

AA:=A1 AND 趋势 >30 AND 趋势<75;

短买:IF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;

短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2;

stICKLINE(AA,40,60,0.2,0);

A2:=BArslAST(REF(CROSS(趋势,人气),1));

B2:=REF(L,A2+1)>L AND REF(趋势,A2+1)<趋势 AND CROSS(趋势,人气);

DRAWTEXT(B2,20,'底'),COLORRED;

C2:=BARSLAST(REF(CROSS(人气,趋势),1));

D2:=REF(H,C2+1)<H AND REF(趋势,C2+1)>趋势 AND CROSS(人气,趋势);

DRAWTEXT(D2,80,'顶'),COLORGREEN;

强势区:80,POINTDOT,COLORGREEN;

弱势区:20,POINTDOT,COLORRED;

牛熊界:50,POINTDOT,COLORCYAN;

通达信跟庄吃肉指标公式