通达信千钧茶舍资金流指标
JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
XD1:=QJ0*(JJ-MIN(CLOSE,OPEN));
XD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);
日净额:((TD1+XD1)-(TD2+XD2))/10000,NODRAW;
周净额:SUM(日净额,5),NODRAW;
月净额:SUM(日净额,22),NODRAW;
DRAWBAND(周净额,RGB(80,0,0),0,RGB(0,50,0));
STICKLINE(日净额>0,0,日净额,3,0),COLOR0000AA;
STICKLINE(日净额>0,0,日净额,2,0),COLOR0000CC;
STICKLINE(日净额>0,0,日净额,1,0),COLOR0000FF;
STICKLINE(日净额<0,日净额,0,3,0),COLOR00AA00;
STICKLINE(日净额<0,日净额,0,2,0),COLOR00CC00;
STICKLINE(日净额<0,日净额,0,1,0),COLOR00FF00;
730188297.jpg
|