通达信副图指标,如何能看到主力进场?

发布时间:
2024-08-17 12:59
阅读量:
28

【主力风向标】指标简介:

“主力风向标”套装指标包含:1个主图+1个副图+1个选股指标;

一、主图:

1、红线持股;

2、绿线持币;

3、“多”图标是波段买入的信号;

4、“空”图标是波段卖出的信号;

5、主图中“多”图标信号可选股。

二、副图:

1、红色资金流入代表强势;

2、绿色资金流出代表弱势;

3、高度越高资金变化越大;

4、颜色越深资金变化越大;

5、红到发紫,大吉大利;

6、绿到发黄,心里慌慌。

指标无未来函数,以下举例:

1、主力风向标主图指标:

ABC44:=10;

ABC45:=10;

ABC46:=3;

ABC47:=10;

ABC48:=2.5;

{微信公众号:尊重市场}

ABC49:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

ABC50:=(HIGH+LOW)/2+MA(ABC49,ABC47)*ABC48;

ABC51:=(HIGH+LOW)/2-MA(ABC49,ABC47)*ABC48;

ABC52:=REF(ABC50,BARSLAST(ABC50<=REF(ABC50,1)));

ABC53:=LLV(ABC50,ABC45*1.5);

ABC54:=IF(ABC53!=REF(ABC53,1) AND ABC52<REF(ABC52,1),ABC52,IF(ABC52=ABC53,ABC52,ABC53));

ABC55:=BARSLAST(CROSS(0.5,ABC50=ABC54))+1;

ABC56:=CROSS(COUNT(CROSS(CLOSE,ABC54) OR CROSS(CLOSE,REF(ABC54,2)) AND ABC50>ABC54,ABC55),0.5);{微信公众号:尊重市场}

ABC57:=BARSLAST(ABC56);

ABC58:=BARSLAST(CROSS(HHV(ABC51,ABC57+1),CLOSE));

ABC59:=CROSS(ABC58,ABC57);

ABC60:=CROSS(ABC57,ABC58);

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

尊重市场:IF(ABC58>ABC57,HHV(ABC51,BARSLAST(ABC59)+1),LLV(ABC50,BARSLAST(ABC60)+1)),COLORGREEN,{微信公众号:尊重市场}LINETHICK6;

庄家成本线:IF(ABC58>ABC57,尊重市场,DRAWNULL),COLOR0000C8,LINETHICK6;

DRAWICON(CROSS(ABC58,ABC57),尊重市场,42);

DRAWICON(CROSS(ABC57,ABC58),尊重市场*1.015,43);

买进:CROSS(ABC58,ABC57)*100,NODRAW,COLORRED;

卖出:CROSS(ABC57,ABC58)*100,NODRAW;




2、主力风向标副图指标:

{微信公众号:尊重市场}

ABC3:=IF(PERIOD<3,35,IF(PERIOD<=5,28,IF(PERIOD<=7,21,IF(PERIOD<=8,14,IF(PERIOD<=9,7,5)))));

ABC4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

ABC5:=MAX(HIGH-LOW,MAX(HIGH-REF(CLOSE,1),REF(CLOSE,1)-LOW))/REF(CLOSE,1)*100;

ABC6:=(HIGH-LOW)/REF(CLOSE,1)*100;

ABC7:=VOL/REF(MA(VOL,5),1);

ABC8:=VOL;

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

ABC10:=CLOSE>ABC9;

ABC11:=CLOSE<ABC9;

ABC12:=ABC4*ABC8;

ABC13:=ABS(IF(ABC11,ABC12,0));

ABC14:=IF(ABC10,ABC12,0);

主力阴线:ABS(SUM(IF(ABC12<0,ABC12,0),7)),DOTLINE,COLOR008000;

主力阳线:SUM(IF(ABC12>0,ABC12,0),7),DOTLINE,COLORRED;

ABC15:=ABS(主力阴线-主力阳线);

ABC16:=49;

ABC17:=(主力阴线+主力阳线)/2;

ABC18:=STDP(MAX(主力阴线,主力阳线){微信公众号:尊重市场},ABC16);

ABC19:=STDP(MIN(主力阴线,主力阳线),ABC16);

ABC20:=WMA(ABC17,ABC16);

ABC21:=ABC20+1.618*ABC18;

ABC22:=ABC20-1.618*ABC19;

ABC23:=主力阳线>主力阴线 AND 主力阳线>=ABC20;

ABC24:=主力阴线>主力阳线 AND 主力阴线>=ABC20;

ABC25:=主力阳线>主力阴线 AND 主力阳线>ABC21;

ABC26:=主力阴线>主力阳线 AND 主力阴线>ABC21;

ABC27:=主力阳线<主力阴线 AND 主力阳线<ABC22;

ABC28:=主力阴线<主力阳线 AND 主力阴线<ABC22;

ABC29:=主力阳线>=HHV(主力阳线,100) AND 主力阳线>0;

ABC30:=主力阴线>=HHV(主力阴线,100) AND 主力阴线>0;

ABC31:=主力阳线<=LLV(主力阳线,100);

ABC32:=主力阴线<=LLV(主力阴线,100);{微信公众号:尊重市场}

STICKLINE(ABC23,主力阳线,MAX(ABC20,主力阴线),2,0),COLORRED;

STICKLINE(ABC24,主力阴线,MAX(ABC20,主力阳线),2,0),COLORGREEN;

STICKLINE(ABC25,主力阳线,MAX(ABC21,主力阴线),2,0),COLORMAGENTA;

STICKLINE(ABC26,主力阴线,MAX(ABC21,主力阳线),2,0),COLORYELLOW;

NOTEXT0:IF(主力阳线>主力阴线,主力阳线,DRAWNULL),COLORRED,LINETHICK2;

NOTEXT1:IF(主力阳线<主力阴线,主力阴线,DRAWNULL),COLORGREEN,LINETHICK2;



3、主力风向标选股指标:

ABC44:=10;

ABC45:=10;

ABC46:=3;

ABC47:=10;

ABC48:=2.5;

QXS:=NOT(CODELIKE('4'));

QKC:=NOT(CODELIKE('688'));

QST:=IF(NAMELIKE('S'),0,1);

QXX:=IF(NAMELIKE('*'),0,1);

QBJ:=NOT(CODELIKE('8'));

AABC:=QXS AND QST AND QKC AND QXX AND QBJ;

{微信公众号:尊重市场}

ABC49:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

ABC50:=(HIGH+LOW)/2+MA(ABC49,ABC47)*ABC48;

ABC51:=(HIGH+LOW)/2-MA(ABC49,ABC47)*ABC48;

ABC52:=REF(ABC50,BARSLAST(ABC50<=REF(ABC50,1)));

ABC53:=LLV(ABC50,ABC45*1.5);

ABC54:=IF(ABC53!=REF(ABC53,1) AND ABC52<REF(ABC52,1),ABC52,IF(ABC52=ABC53,ABC52,ABC53));

ABC55:=BARSLAST(CROSS(0.5,ABC50=ABC54))+1;

ABC56:=CROSS(COUNT(CROSS(CLOSE,ABC54) OR CROSS(CLOSE,REF(ABC54,2)) AND ABC50>ABC54,ABC55),0.5);{微信公众号:尊重市场}

ABC57:=BARSLAST(ABC56);

ABC58:=BARSLAST(CROSS(HHV(ABC51,ABC57+1),CLOSE));

风向标:CROSS(ABC58,ABC57) AND AABC;




END