AVPRICE:=(2*OPEN+2*CLOSE+2*HIGH+2*LOW)/8;
INDEXAVP:=(2*INDEXH+2*INDEXL+2*INDEXO+2*INDEXC)/8;
F:=(AVPRICE-REF(AVPRICE,1))/REF(AVPRICE,1);
F1:=(INDEXAVP-REF(INDEXAVP,1))/REF(INDEXAVP,1);
类比参数3:=(SUM(F,10)+SUM(F1,10))/10*1000;
类比参数:=IF(类比参数3 0,类比参数3,0);
类比参数2:=IF(类比参数3 0,-类比参数3,0);
STICKLINE(类比参数2AND(150-类比参数2) 0,150,150-类比参数2,6,0),COLOR008000;
STICKLINE(类比大盘参数AND(150-类比大盘参数) 0,150,150-类比大盘参数,6,0),COLORFF00FF;
AA:=AVPRICE;
BB:=((VOL)*((AA)*(2)-HIGH-LOW))/(HIGH-LOW);
CC:=IF((HIGH=LOW)AND(AA REF(AA,1)),((-1))*(VOL),VOL);
A:=IF((HIGH=LOW),CC,BB);
B:=SUM(A,11);
BBD:=(((B)/((CAPITAL)*(11)))*(10000));
BB1:=IF((BBD 150)AND(BBD (-150)),BBD,150);
买方能量指标:=IF((BB1 0),BB1,0);
STICKLINE((BB1 0),0,买方能量指标,6,0),COLORYELLOW;
STICKLINE((BB1 0),0,(-BB1),6,0),COLOR00FF00;
主动买量:IF((BB1 0),BB1,0),COLORYELLOW,LINETHICK0;
主动卖量:IF((BB1 0),BB1,0),COLOR00FF00,LINETHICK0;
A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));
A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));
A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));
A7:=(SUM((AVPRICE)*(VOL),7)-(AVPRICE)*(VOL))/(SUM(VOL,7)-VOL);
A0:=((A11-A16)/(AVPRICE))*(1000);
A00:=IF((A0 50),50,IF((A0 (-50)),(-50),A0));
A1:=((A6-A11)/(AVPRICE))*(1000);
AA11:=IF((A1 50),50,IF((A1 (-50)),(-50),A1));
A2:=((((A6-A7)/(A7))*(5))/(4))*(1000);
A22:=IF((A2 50),50,IF((A2 (-50)),(-50),A2));
刻度线3:=(A00+AA11+A22);
线:=IF((刻度线3 0),刻度线3,0);
兰刻度线:=IF((刻度线3 0),刻度线3,0);
做多趋势:趋势线,COLOR0000FF;
做空趋势:(-兰刻度线),COLORFF0000;
STICKLINE(趋势线,0,趋势线,2,0),COLORRED;
STICKLINE(兰刻度线,0,(-兰刻度线),2,0),COLORFF0000;
强弱界:50,COLORFFFFFF;
触顶线:145,COLOR0000FF,LINETHICK3;
大盘顶线:90,COLOR00FFFF,LINETHICK2;
STICKLINE(趋势线 触顶线,140,150,8,0),COLORFFFF00;
STICKLINE(-兰刻度线 触顶线,140,150,8,0),COLOR0000FF;
STICKLINE(趋势线 大盘顶线ANDHHV(趋势线,3) 102,0,-6,14,0),COLORFFFF00;
STICKLINE(-兰刻度线 大盘顶线ANDHHV(-兰刻度线,3) 102,0,-6,14,0),COLOR0000FF;
VAR1:=Ema(EMA(CLOSE,3),1);
VAR2:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);
VAR3:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);
VAR4:=(((CLOSE-MA(CLOSE,33))/MA(CLOSE,33))*100);
VAR5:=(((VAR2+(2*VAR3))+(3*VAR4))/6);
VAR6:=MA(VAR5,3);
开始控盘:=stICKLINE((VAR6 =(0-10)),0,(0-20),3.5,0),COLOR00AAFF;
STICKLINE((VAR6 =(0-10)),0,(0-20),3.5,0),COLOR0044FF;
STICKLINE((VAR6 =(0-10)),0,(0-20),2.5,0),COLOR0088FF;
STICKLINE((VAR6 =(0-10)),0,(0-20),3,0),COLOR00AAFF;
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘 0,控盘,0,3.5,0),COLORFFAA00;
STICKLINE(控盘 0,控盘,0,3.5.2,0),COLORFF4400;
STICKLINE(控盘 0,控盘,0,2.5,0),COLORFF8800;
STICKLINE(控盘 0,控盘,0,0,0),COLORFFAA00;
主力出货:0,COLORFFAA00;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,3.5,0),COLOR000088;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,2.5,0),COLOR0000AA;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,1.5,0),COLOR0000CC;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,1,0),COLOR0000EE;
主力吸货:0,COLOR0000FF;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,3.5,0),COLOR008800;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,2.5,0),COLOR00AA00;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,1.5,0),COLOR00CC00;
STICKLINE(控盘 REF(控盘,3)AND控盘 0,控盘,0,1,0),COLOR00EE00;
STICKLINE(ddx 0,0,DDX,3.5,0),COLOR008800;
STICKLINE(DDX 0,0,DDX,2.5,0),COLOR00AA00;
STICKLINE(DDX 0,0,DDX,1.5,0),COLOR00CC00;
STICKLINE(DDX 0,0,DDX,1,0),COLOR00EE00;
对倒出货洗盘:0,COLOR00FF00;
黄色底部吸货:0,COLORYELLOW;
DRAWTEXT(crOSS(控盘,0),0-3,'买追'),COLORFF00FF;
DRAWTEXT(CROSS(0,控盘),0-0,'卖'),COLORGREEN;
DATA:=5;
{多头买入}DRAWICON(zig(3,DATA) REF(ZIG(3,DATA),1)
ANDREF(ZIG(3,DATA),1) =REF(ZIG(3,DATA),2)
ANDREF(ZIG(3,DATA),2) =REF(ZIG(3,DATA),3),L*0.98,1);
{多头卖出}DRAWICON(ZIG(3,DATA) REF(ZIG(3,DATA),1)
ANDREF(ZIG(3,DATA),1) =REF(ZIG(3,DATA),2)
ANDREF(ZIG(3,DATA),2) =REF(ZIG(3,DATA),3),H*1.02,2);
公式解读:
今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!敬请期待明天的分享!
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
通达信附图指标主力控盘源码
加入收藏