通达信资金流副图公式源码[查股公式]
2022/12/23 18:02:16
成交额:AMOUNT,NODRAW;
STICKLINE(成交额,成交额,0,2.5,1),COLORGRAY;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主买:ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,NODRAW;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,NODRAW;
散买:(QJ0*(HIGH-MAX(OPEN,CLOSE))),NODRAW;
散卖:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,NODRAW;
主买卖差:=主买-主卖,NODRAW;
散买卖差:=散买-散卖,COLORRED,NODRAW;
STICKLINE(主买卖差>=0,0,主买卖差,2,0),COLORRED;
STICKLINE(主买卖差<0,0,主买卖差,2,0),COLORLIBLUE;
今天资金进出:(主买+散买)-(主卖+散卖),COLORWHITE,NODRAW;
STICKLINE(散买-散卖>0 AND 主买卖差>0,散买-散卖+主买卖差,主买卖差,2,0),COLORLIRED;
STICKLINE(散买-散卖>0 AND 主买卖差<0,散买-散卖,0,2,0),COLORLIRED;
STICKLINE(散买-散卖<0 AND 主买卖差<0,散买-散卖+主买卖差,主买卖差,2,0),COLORLIGRAY;
STICKLINE(散买-散卖<0 AND 主买卖差>0,散买-散卖,0,2,0),COLORLIGRAY;
STICKLINE(今天资金进出>0,今天资金进出*1.003,今天资金进出,2.5,0),COLORYELLOW;
STICKLINE(今天资金进出<0,今天资金进出*0.98,今天资金进出,2.5,0),COLORBLUE;
0,COLORGRAY;
相关文章列表
天天查股公式列表