交易资金是比较诚实的,主力和散户的交易资金的对比,直接反映了主力意向和K线基本走势。起动冲顶通过主力和散户的交易资金的对比,抓住起动和加仓点位,是一个不可多得的好指标。
起动冲顶的用法比较简单,出现向上的红色三角信号买入,出现向下的棕色三角(包括冲顶和小心被套)信号卖出,出现上扬信号加仓。
VAR2:=IF(MONTH 12,1,1);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK3,COLORFFFF00;
散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORYELLOW;
强弱分界线:50,POINTDOT,LINETHICK2,COLORWHITE;
KVD1:=IF(CLOSE REF(CLOSE,1),88,0);
KVD2:=IF(CLOSE/REF(CLOSE,1) 1.01 AND HIGH/CLOSE 1.010 AND KVD1 0,91,0)
KVD3:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
KVD4:=(KVD3-REF(KVD3,1))
KVD5:=C/REF(C,1)
AR1:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
AR2:=(SMA(AR1,5,1)+2*STD(CLOSE,37))
ECP1:=KVD2 AND KVD4 AND KVD5 AND AR2;
ECP:=CROSS(主力,散户) AND 主力 35 AND KVD2 AND KVD4 AND KVD5 AND AR2;
WRN:=(CROSS(散户,主力) AND 散户 75) OR (CROSS(主力,65) AND 散户
起动:CROSS(主力,散户) AND 主力 22,COLORLIGREEN,NODRAW;
买入:IF(ECP,55,5),LINETHICK3,COLORRED;
卖出:IF(WRN,75,90),LINETHICK3,COLORBROWN;
DRAWTEXT(CROSS(主力,散户) AND 主力 22,20,'起动'),LINETHICK2,COLOR0099FF;
DRAWICON(CROSS(主力,散户) AND 主力 22,25,1);
DRAWTEXT(CROSS(主力,30) AND 散户 主力,40,'上扬'),LINETHICK2,COLOR00CCFF;
DRAWICON(CROSS(主力,30) AND 散户 主力,35,1);
DRAWTEXT(CROSS(主力,65) AND 散户 主力,55,'冲顶'),LINETHICK2,COLOR9933FF;
DRAWICON(CROSS(主力,65) AND 散户 主力,70,2);
DRAWTEXT(CROSS(主力,75) AND 散户 主力,67,'小心被套'),LINETHICK2,COLOR009900;
DRAWICON(CROSS(主力,75) AND 散户 主力,80,2);
DRAWTEXT(CROSS(散户,主力) AND 散户 75,80,'头部'),COLORYELLOW;
DRAWICON(CROSS(散户,主力) AND 散户 75,85,2);