【三重解盘】已用了好几年{副图,源码,附图}
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-01-28 15:02:00
公式简介:
我改的【三重解盘】很好用,特别是它的解盘,比较准确仅供参考,预祝大家春节快乐【内有选股】图上表示的内容,不罗嗦你看源码就清楚了;
{三重解盘}
VAR2:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR2) * VOL);
VAR7:=((VAR4 / VAR2) * VOL);
VAR8:=((VAR5 / VAR2) * VOL);
QQ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE < OPEN;
MMM:=CLOSE < EMA(CLOSE,5) AND QQ;
JJJ:=CLOSE >= EMA(CLOSE,5) AND QQ;
DRAWGBKlast(MMM<=0 OR JJJ<=0,strip(RGB(0,0,80),RGB(20,0,40),1));
DRAWGBKlast(MMM>0 OR JJJ>0,strip(RGB(0,0,80),RGB(0,40,0),1));
0, COLOR00FFFF,DOTLINE;
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
成交:=VOL;
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) ;
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2)))) ;
买卖差:=(买盘 + 卖盘);
量比1:=(VOL / MA(VOL,5));
VAR10:=买盘;
VAR20:=卖盘;
JX1:=BARSSINCE(买盘);
JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);
JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);
VAR30:=MA(VOL,JY2);
动神:=买盘;
鬼力:=VAR20;
神比:=(动神 / VAR30);
鬼比:=(鬼力 / VAR30);
VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));
VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));
VARD:=REF(CLOSE,1);
VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);
VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);
VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2);
VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2);
VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);
三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);
三日下攻:=MA(VAR50,JY2);
多头:STICKLINE(CLOSE >= EMA(CLOSE,5),0,VOL,5,1),color0000FF,LINETHICK1,LAYER0;
空头:STICKLINE(CLOSE < EMA(CLOSE,5),0,VOL,5,1),color00FF00,LINETHICK1,LAYER0;
STICKLINE(CLOSE >= EMA(CLOSE,20),v,VOL*1.05,5,0),color6666FF,LINETHICK1,LAYER7;
STICKLINE(CLOSE < EMA(CLOSE,20),v,VOL*1.05,5,0),color00FFC0,LINETHICK1,LAYER7;
KD:last(C >= EMA(C,20)),LINETHICK0,PRECIS0;
DRAWTEXT(C >= EMA(C,20),V*0.98,''+(KD)+''),color00FFff,LINETHICK1;{C大于MA20的天数}
STICKLINE((鬼力 > 0),鬼力,0,2,0),colorFF3399;
{五个烛芯}
JJ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE > OPEN;
加仓:STICKLINE(JJ,0,VAR6,2.5,0),color00FFFF;
XX:=VAR8 > VAR6 AND VAR8 > VAR7;
洗盘:STICKLINE(XX,0,VAR8,2,0),colorFFFFFF;
MM:=VAR7 > VAR6 AND VAR7 > VAR8;
高卖:STICKLINE(MM,0,VAR7,2.5,0),colorFF00FF;
相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,2,0);
莫痒:STICKLINE(JJJ,0,VAR6,2,0),color00FF00;
减仓:STICKLINE(MMM,0,VAR6,2,0),colorFF9900;
DRAWTEXTABS(0,5,'◢'+JJ+'◣【加仓】:黄芯,红框,庄家进货强,俺也进货等起航。'),color00FFFF,LINETHICK2;
DRAWTEXTABS(0,25,'◢'+MM+'◣【高抛】:粉芯,红框,庄家忙,高抛低吸,俺也去逐浪。 '),colorFF00FF,LINETHICK2;
DRAWTEXTABS(0,45,'◢'+XX+'◣【洗盘】;白芯,红框,庄家找底在洗盘,俺也伺机建点仓。'),colorFFFFFF,LINETHICK2;
DRAWTEXTABS(480,5,'◢'+JJJ+'◣【莫痒】;绿芯,红框,趋势破,离场急,比耐力,等止跌,莫手痒!'),color00FF00,LINETHICK2;
DRAWTEXTABS(480,25,'◢'+MMM+'◣【减仓】;蓝芯,绿框,巨量绿尾,庄家出逃慌,俺也赶快去减仓!'),colorFF9900,LINETHICK2;
DRAWTEXTABS(480,45,' 【注意】:巨量下部有绿色(大单流出)时,说明有主力出逃。'),color00FF00,LINETHICK2;
DRAWTEXT(BARSTATUS=2 AND JJ=1,V*1.2,'加仓!'),ALIGN0,COLOR00FFFF,LINETHICK3,LAYER4;
DRAWTEXT(BARSTATUS=2 AND MM=1,V*1.2,'高抛!'),ALIGN0,COLORFF00FF,LINETHICK3,LAYER4;
DRAWTEXT(BARSTATUS=2 AND XX=1,V*1.2,'洗盘!'),ALIGN0,COLORFFFFFF,LINETHICK3,LAYER4;
DRAWTEXT(BARSTATUS=2 AND JJJ=1,V*1.2,'莫痒!'),ALIGN0,COLOR00FF00,LINETHICK3,LAYER4;
DRAWTEXT(BARSTATUS=2 AND MMM=1,V*1.2,'减仓!'),ALIGN0,COLORFF9900,LINETHICK3,LAYER4;
XG: CROSS("MA.MA1","MA.MA2") AND CROSS("VOL.MA1","VOL.MA2") AND CROSS("MACD.DIFF","MACD.DEA") AND CROSS("kdj.j","kdj.D"),LINETHICK0;
VERTLINE(XG,2),LAYER0,COLOR0077ff;;
{DDX}
DDX买:=(BIGORDER(1,2))*VOL;
DDX卖:=(BIGORDER(2,2))*VOL;
BBD:(DDX买-DDX卖)*1.5,linethick0;
BBDX:SUM(DDX买-DDX卖,10),linethick0;
PARTLINE(BBDX ,(BBDX>REF(BBDX,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYER0;
{红柱图}
STICKLINE(BBD>0,0,BBD,9,0), COLOR000011,LAYER1;
STICKLINE(BBD>0,0,BBD,7,0), COLOR000033,LAYER1;
STICKLINE(BBD>0,0,BBD,6,0), COLOR000066,LAYER1;
STICKLINE(BBD>0,0,BBD,5,0), COLOR000088,LAYER1;
STICKLINE(BBD>0,0,BBD,4,0), COLOR0000BB,LAYER1;
STICKLINE(BBD>0,0,BBD,2.5,0), COLOR0000EE,LAYER1;
STICKLINE(BBD>0,0,BBD,1,0), COLOR0033FF,LAYER1;
{绿柱图}
STICKLINE(BBD<0,0,BBD,9,0),COLOR001100;
STICKLINE(BBD<0,0,BBD,7,0),COLOR003300;
STICKLINE(BBD<0,0,BBD,6,0),COLOR006600;
STICKLINE(BBD<0,0,BBD,5,0),COLOR008800;
STICKLINE(BBD<0,0,BBD,4,0),COLOR00BB00;
STICKLINE(BBD<0,0,BBD,2.5,0),COLOR00EE00;
STICKLINE(BBD<0,0,BBD,1,0),COLOR00FF00;
[url=http://www.goodgupiao.com/gupiaogongshi/17530.html][B]【三重解盘】已用了好几年{副图,源码,附图}[/B][/url]