通达信一线牛熊指标公式

通达信持仓与盈亏主图指标公式

通达信一线牛熊指标公式:

VAR1:=LLV(LOW,100);

VAR2:=HHV(HIGH,250);

操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4);

绝底:0.3,LINETHICK1,COLORGREEN;

绝顶:3.5,LINETHICK1,COLORGREEN;

分界:2,COLORWHITE;

DRAWTEXT(crOSS(操盘线,绝底),0.20,'买'), COLORRED, ;

DRAWTEXT(CROSS(操盘线,绝顶),3.5,'卖'), COLORYELLOW, ;

AA:=C/LLV(MA(C,3),20)>1.25 OR C/LLV(MA(C,3),10)>1.15;

BB:=L<MA(C,3)*1.01 AND O>MA(C,5) AND C>=MA(C,3) AND C/H>0.95;

CC:=L<MA(C,5)*1.01 AND O>MA(C,10) AND C>=MA(C,5) AND C/H>0.95;

FF:=BB OR CC;

GG:=AA AND FF;

XG:FILTER(GG,20);

通达信金钻绝杀主图指标公式