请老师将下面的通达信公式改为选股公式,要求选出主力流入的红线柱,谢谢!!
成交额:AMOUNT,LINETHICK0;STICKLINE(成交额,成交额,0,2.5,1),COLORGRAY;JJ:=(HIGH+LOW+CLOSE)/3;QJ0...
成交额:AMOUNT,LINETHICK0;
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,LINETHICK0;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散买:(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
散买卖差:=散买-散卖,COLORRED,LINETHICK0;
STICKLINE(主买卖差>=0,0,主买卖差,2,0),COLORRED;
STICKLINE(主买卖差<0,0,主买卖差,2,0),COLORLIBLUE;
今天资金进出:(主买+散买)-(主卖+散卖),COLORWHITE,LINETHICK0;
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;
五日:MA(AMOUNT,5);
三五日:MA(AMOUNT,35);
一三五日:MA(AMOUNT,135); 展开
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,LINETHICK0;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散买:(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
散买卖差:=散买-散卖,COLORRED,LINETHICK0;
STICKLINE(主买卖差>=0,0,主买卖差,2,0),COLORRED;
STICKLINE(主买卖差<0,0,主买卖差,2,0),COLORLIBLUE;
今天资金进出:(主买+散买)-(主卖+散卖),COLORWHITE,LINETHICK0;
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;
五日:MA(AMOUNT,5);
三五日:MA(AMOUNT,35);
一三五日:MA(AMOUNT,135); 展开
展开全部
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)),COLORLIBLUE,LINETHICK0;
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
散买-散卖>0 AND 主买卖差>0;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主买:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;
主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
散买-散卖>0 AND 主买卖差>0;
更多追问追答
追问
谢谢您! 能不能光选出红线柱的主力流入,而不是散户的粉红柱。
追答
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)),COLORLIBLUE,LINETHICK0;
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
主买卖差>0;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询