通达信【主力风向标】主副图指标 红线持股绿线持币 源码附图
【主力风向标】指标简介:
“主力风向标”套装指标包含:1个主图+1个副图+1个指标;
一、主图:
1、红线持股;
2、绿线持币;
3、“多”图标是波段买入的信号;
4、“空”图标是波段卖出的信号;
5、主图中“多”图标信号可。
二、副图:
1、红色资金流入代表强势;
2、绿色资金流出代表弱势;
3、高度越高资金变化越大;
4、颜色越深资金变化越大;
5、红到发紫,大吉大利;
6、绿到发黄,心里慌慌。
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;