源码:
成交额:AMOUNT,LINETHICK0;
STICKLINE(成交额,成交额,0,7,1),COLORGRAY;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主买:ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLOR00FF00,LINETHICK0;
散买:(QJ0*(HIGH-MAX(OPEN,CLOSE))),COLORFF00FF,LINETHICK0;
散卖:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORCCFFCC,LINETHICK0;
主买卖差:=主买-主卖;
散买卖差:=散买-散卖;
STICKLINE(主买卖差>=0,0,主买卖差,7,0),COLORRED;
STICKLINE(主买卖差<0,0,主买卖差,7,0),COLOR00FF00;
今天资金进出:(主买+散买)-(主卖+散卖),COLORWHITE,LINETHICK0;
STICKLINE(散买-散卖>0 AND 主买卖差>0,散买-散卖+主买卖差,主买卖差,7,0),COLORFF00FF;
STICKLINE(散买-散卖>0 AND 主买卖差<0,散买-散卖,0,7,0),COLORFF00FF;
STICKLINE(散买-散卖<0 AND 主买卖差<0,散买-散卖+主买卖差,主买卖差,7,0),COLORCCFFCC;
STICKLINE(散买-散卖<0 AND 主买卖差>0,散买-散卖,0,7,0),COLORCCFFCC;
STICKLINE(今天资金进出>0,今天资金进出*1.003,今天资金进出,7,0),COLORYELLOW;
STICKLINE(今天资金进出<0,今天资金进出*0.98,今天资金进出,7,0),COLORBLUE;
0,COLORGRAY;
五日:MA(AMOUNT,5),COLORRED,LINETHICK1;
三五日:MA(AMOUNT,35),COLORYELLOW,LINETHICK1;
一三五日:MA(AMOUNT,135),COLORBLUE,LINETHICK1;