通达信指标公式源码概况:

指标类别: 通达信指标公式

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

通达信超级主力指标公式

换手:=V*100/CAPITAL;

主力:=MA(换手,4);

大户:=MA(换手,9);

中户:=MA(换手,17);

散户:=MA(换手,34);

均量:=(主力+大户+中户+散户)/4;

大户能量:(大户-均量); 操盘:STICKLINE(大户能量=0 AND 大户能量=REF(大户能量,1),0,大户能量,4,0),colorred;

减仓:STICKLINE(大户能量=0 AND 大户能量 REF(大户能量,1),0,大户能量,4,0),colorred;

反弹:STICKLINE(大户能量0 AND 大户能量=REF(大户能量,1),0,大户能量,4,0),colorgreen;

寻底:STICKLINE(大户能量0 AND 大户能量 REF(大户能量,1),0,大户能量,4,0),colorred,POINTDOT;

0,POINTDOT,colorwhite;

中户能量:(中户-均量);

0,POINTDOT,colorwhite;

散户能量:(散户-均量),LINETHICK2;

0,colorwhite,LINETHICK3;

主力能量:(主力-均量),LINETHICK3;

0,POINTDOT,colorwhite,LINETHICK3;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主力控盘:2*3.8,colorred;

主力持仓:EMA(100*(CLOSE- LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colormagenta,LINETHICK2;

主动买盘:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;

主动卖盘:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSEOPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;

STICKLINE(VOL0,VOL,0,2,1),colorwhite;

平均成本线:COST(50),coloryellow,LINETHICK2;

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

DRAWICON((ZIG(3,5)REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)=REF(ZIG(3,5),3)),LOW*0.98,1) ;

DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)=REF(ZIG(3,5),3)),HIGH*1.01,2);

STICKLINE(主动买盘0,0,主动买盘,2,0),colorred;

STICKLINE(主动卖盘0,0,主动卖盘,2,0),COLOR00FF00;

image.png

通达信最强主力指标

JE:=VOL;

JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

主买:=(QJ0*(JJ-MIN(CLOSE,OPEN)));

主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));

TMP:主买-主卖;

STICKLINE(TMP0,0,TMP,2,0),colorred;

STICKLINE(TMP0,0,TMP,2,0),colorgreen;

主力活跃度:(主买+主卖)*10000/(2*FINANCE(7)),NODRAW;

STICKLINE(TMP0,0,主力活跃度,2,0),colorlired;

STICKLINE(TMP0,0,主力活跃度,2,0),colorligreen;

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

买量:=IF(CLOSEOPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2)),LINETHICK0;

卖量:=IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0- AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorcyan;

主力净流入:MA(买量+卖量/2,3)*AMV/V/100000000,coloryellow,LINETHICK1;

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(类比参数2,150,150 – 类比参数2,11,0),Color008000;

STICKLINE(类比大盘参数,150,150 – 类比大盘参数,11,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,买方能量指标,5,0),coloryellow;

STICKLINE((BB1  0),0,(-BB1),5,0),Color008000;

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);

红柱线:趋势线,ColorFFFF00;

兰柱线:(-兰刻度线),colorred;

STICKLINE(趋势线,0,趋势线,3,0),colorred;

STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000;

强弱分界:50,Color000080;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。