通达信猎鹰读盘手主图指标
{所属行业及板块}
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLORMAGENTA;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLORMAGENTA;
DRAWTEXT_FIX(1,0.28,0,0,'概念板块:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.35,0,0,GNBLOCK)COLORMAGENTA;
DRAWTEXT_FIX(1,0.00,0.08,0,'重要参考:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.07,0.08,0,'每股净资产:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.14,0.08,0,FINANCE(34));
DRAWTEXT_FIX(1,0.18,0.08,0,'每股未分配利润:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.28,0.08,0,FINANCE(32));
DRAWTEXT_FIX(1,0.32,0.08,0,'每股公积金:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.40,0.08,0,FINANCE(18));
DRAWTEXT_FIX(1,0.0,0.17,0,'【猎鹰读盘助手】'),COLORRED;
DRAWTEXT_FIX(1,0.0,0.26,0,'当日买卖量='),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.36,0,'日主动买量='),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.46,0,'日主动卖量='),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.56,0,'当日买卖比='),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.66,0,'买入累计万元: '),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.76,0,'卖出累计万元: '),COLORWHITE;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA*(HIGH-LOW),VOL/2));
买卖比:=主动买盘/主动卖盘;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6:=(VD1*VD5);
VD7:=(VD2*VD5);
VD8:=(VD3*VD5);
VD9:=(VD4*VD5);
买入量:=(VD9+VD8);
卖出量:=(VD6+VD7);
买入资金:=买入量*CLOSE/100;
卖出资金:=卖出量*CLOSE/100;
DRAWNUMBER_FIX(1,0.09,0.26,0,CONST(VOL)),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.09,0.36,0,CONST(主动买盘)),COLORFF00FF;
DRAWNUMBER_FIX(1,0.09,0.46,0,CONST(主动卖盘)),COLORFFFFFF;
DRAWNUMBER_FIX(1,0.09,0.56,0,CONST(买卖比)),COLOR00FF00;
DRAWNUMBER_FIX(1,0.09,0.66,0,CONST(买入资金)),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.09,0.76,0,CONST(卖出资金)),COLORRED;