三线归一的三条线分别是机构线、游资线和散户线,主图效果如下图:
主图指标源码如下:
DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.045,0,0,FGBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.045,0.05,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.1,0,'所属行业:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.045,0.1,0,MOREHYBLOCK),COLORYELLOW;
机构线:HHV(MA(H,13),13),COLORRED,LINETHICK2;
游资线:LLV(MA(H,13),1),COLORMAGENTA,LINETHICK2;
散户线:EMA(EMA(C,5),5),COLORGREEN,LINETHICK2;
偏离值:=(C-REF(O,29))/REF(O,29)*100;
均值:=EMA(0.667*REF(偏离值,1)+0.333*偏离值,5);
DRAWTEXT(IF(V>=1.3*MA(V,5) AND COUNT(偏离值>=均值 AND 偏离值<-17,3) AND REF(L,1)=LLV(L,120),1,0),L*0.93,'★买入');
多头力度:=SMA(MAX(C-REF(C,1),0),6,1)
DRAWTEXT(CROSS(84,多头力度) AND HHV(H/EMA(EMA(C,5),5),10)>1.2,HIGH+0.25,'逃'),COLORYELLOW ;
标K:=CROSS(EMA(C,3),游资线
DRAWTEXT_FIX(1,0.75,0.92,0,'股典钟量化炒股机器人抓牛 '),COLORYELLOW;
STICKLINE(标K,C,O,2,0),COLORYELLOW;
STICKLINE(标K,H,L,0,0),COLORYELLOW;
注意这里是主图指标,选择类型的时候,要选择主图叠加类型;
这个指标重点是看三条线的趋势,当三条线,也就是机构线、游资线和散户线呈现多头排列的时候,往往是股价启动的时候,但是三条线多头排列时,股价不能大涨过,底部最好;