通达信移协成本线主图指标
源码
{移协成本线}
生命:= MA(CLOSE,20),LINETHICK2;
顶: COST(98);
拉升: COST(75);
平均成本:COST(50),LINETHICK2;
控盘成本30: COST(30);
主力成本5: COST(5),COLORCYAN;
中心成本:(COST(85)-COST(15))/2+COST(15),COLORRED;
底: COST(0.05)COLORBLUE;
VAR1:=WINNER(CLOSE);
VAR2:=DMA(VAR1,VOL/CAPITAL);
VAR3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
VAR4:=VAR1/VAR3;
VAR5:=VAR2/VAR3;
VAR6:=100*WINNER(CLOSE*0.95);
A1:=COST(95);
A2:=COST(5);
集中度:=(A1-A2)*100/(A1+A2);
A3:=COST(85);
A4:=COST(15);
JZD2:=(A3-A4)*100/(A3+A4);
DRAWICON(集中度>REF(集中度,1), L*0.98,1);
{VAR1A:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(VAR1A,99)*0.91, LINETHICK2,COLORGREEN ;
获利线:COST(10),COLORWHITE;}