先用【KDJ.CCI.大盘CCI】叠加给你当参谋.如果多数人害怕使用ZIG.本公式只能到此为止.后边的未来函数部分就不必公布源码了.那就先解释前半部公式的内容:-------
【KDJ9】--------------KDJ用(9.3.3)当然如果你喜欢可以用13.18.27.--替代9.
【CCI】--------------这个CCI的参数是14.28.42.三个组成的.
【大盘CCI】--------和前边CCI一样就是对应于大盘的CCI.咱们的目的就看看同步于大盘你的股票是什么状态.其实这个比较很重要.是提供给你去留的重要参谋.
【每单大于4万元的DDE数据】-----------把它附加于CCI线上.能够说明主动买卖的意图.主力意愿是必须要看的.当然你免费版你必需盘后下载数据才可以看到.当然你不下载不显示而已.
【净额主】是每单大于20万的DDE数据.
【高抛低吸】短期波段的高抛低吸.必须说信号不是完全准确.但是参考还是可以的
【BOLL顶底】在图上显示股价与布林线的关系.顶部是卖出参考.底部是买入参考.
【倍量】只能说明量成倍的增长.当然大跌大涨.都能够放量.
【标记BSI.KDJ】这在最后一天显示.目前BSI.KDJ.的具体数据.因为买卖股票与这两个数据关心密切.他们数据和顶低表露十分准确不能不看.
以上就是本公式前半部的具体内容.你全面的用系统工程的眼光看问题.那么这些信号的综合就是个相当好的买卖参谋.KDJ.CCI放在一起.比他们单独的作用可就大多了.
0,DOTLINE;
{KDJ9}
VAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR9,3,1);
D:SMA(K,3,1),COLOR00FF00,DOTLINE,LINETHICK0;
J:(3*K-2*D)*1.5,COLORFF9900,LINETHICK1;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
{CCI}
TYB:= (HIGH + LOW + 2*CLOSE)/4;
CCIA:=(TYB-MA(TYB,14))/(0.015*AVEDEV(TYB,14));
CCIB:=(TYB-MA(TYB,28))/(0.015*AVEDEV(TYB,28));
CCIC:=(TYB-MA(TYB,42))/(0.015*AVEDEV(TYB,42));
CCI:WMA((CCIA*2+CCIB+CCIC)/4,3),COLOR00FF00,LINETHICK2;
IF(CCI>REF(CCI,1),CCI,DRAWNULL),COLORRED,LINETHICK2;
{大盘CCI} {高抛低吸} {BOLL顶底} {标记BSI.KDJ}
TYBDP:= (INDEXH + INDEXL + 2*INDEXC)/4;
CCIADP:=(TYBDP-MA(TYBDP,14))/(0.015*AVEDEV(TYBDP,14));
CCIBDP:=(TYBDP-MA(TYBDP,28))/(0.015*AVEDEV(TYBDP,28));
CCICDP:=(TYBDP-MA(TYBDP,42))/(0.015*AVEDEV(TYBDP,42));
CCIDP:=WMA((CCIADP*2+CCIBDP+CCICDP)/4,3);
IF(CCIDP>REF(CCIDP,1),CCIDP,DRAWNULL),COLORRED,DOTLINE;
IF(CCIDP
IF(CCIDP>REF(CCIDP,1),CCIDP,DRAWNULL),COLORRED,POINTDOT,LINETHICK6;
IF(CCIDP
SJ:=WMA(((2*C+H+L)/4-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30,-20, ' ▲吸'),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,120, ' ▲抛'),COLOR0000FF,LINETHICK2;
MID:=WMA(TYB,18);
UPPER:=MID + 2*STD(TYB,18);
LOWER:=MID - 2*STD(TYB,18);
布顶:STICKLINE(CROSS(C,UPPER) ,60 ,100 ,4, 0),COLOR0000FF;
DRAWTEXT(CROSS(C,UPPER) ,90,'顶'),COLOR00FFFF,LINETHICK1;
布底:STICKLINE(CROSS(C,LOWER) ,-60 ,-100 ,4, 0),COLORFF9900;
DRAWTEXT(CROSS(C,LOWER) ,-70,'底'),COLOR00FFFF,LINETHICK1;
倍量:STICKLINE(V>REF(V,1)*2 ,0 ,30 ,4, 1),COLOR00FFFF;
DRAWTEXT(V>REF(V,1)*2 ,20,'倍'),COLOR00FFFF,LINETHICK1;
LC:=REF(C,1);
RSI:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0;
DRAWTEXT( CURRBARSCOUNT=1 AND RSI,160,'RSI'),COLOR00FF00,LINETHICK2;
DRAWNUMBER(CURRBARSCOUNT=1 AND RSI,150, RSI),COLOR0077FF;
DRAWNUMBER(CURRBARSCOUNT=1 AND J,J,J),COLOR00FF00;