【股票入门基础知识】【通达信】线性回归线主图指标公式
UR:=10;LR:=10; TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL); TC2:=CONST(BARSLAST(TC1=H))+1; UP:CONST(IF(TC2=1,H,REF(H,TC2-1))); BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL); BC2:=CONST(BARSLAST(BC1=L))+1; LL:CONST(IF(BC2=1,...
UR:=10;LR:=10; TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL); TC2:=CONST(BARSLAST(TC1=H))+1; UP:CONST(IF(TC2=1,H,REF(H,TC2-1))); BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL); BC2:=CONST(BARSLAST(BC1=L))+1; LL:CONST(IF(BC2=1,...
N:=20;M:=32;P1:=80;P2:=100; VAR1:=(C+H+O+L)/4; 卖出:=XMA(VAR1,N)*(1+P1/1000),COLORFFFFFF,LINETHICK3; 买入:=XMA(VAR1,M)*(1-P2/1000),COLOR0000FF,LINETHICK3; DRAWBAND(卖出,RGB(200,50,55),卖出*1.03...