N1:=3;
N2:=10;
N3:=20;{通达信公式-通达信指标www.gs6699.com}
通达信短线:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
主力资金:SMA(通达信短线,4,1),NODRAW;
指标公式:SMA(主力资金,4,1),NODRAW;
DRAWBAND(主力资金,RGB(255,255,0),指标公式,RGB(0,0,255));
fdddfdddd6:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
K2:SMA(fdddfdddd6,3,1),NODRAW;
fdddd2:SMA(K2,3,1),NODRAW;
DRAWBAND(K2,RGB(255,130,0),fdddd2,RGB(0,150,50));
fdddd3:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
fdddd5:SMA(fdddd3,2,1),NODRAW;
fdddd6:SMA(fdddd5,2,1),NODRAW;
DRAWBAND(fdddd5,RGB(255,0,0),fdddd6,RGB(0,255,255));