指标简介机构动向主图 机构动向副图 1.今日给大家分享一款机构动向主图和一款机构动向副图,用法比较简单,主图k线变红,代表趋势大概率开始反转,副图主要看红色的机构控盘,和紫色的机构高度控盘,可以搭配之前分享的选股公式使用,从而选出机构控盘的票,也可以看看自己现在持有的票是处于一个什么状况 2.此指标电脑和手机都能使用,不会安装的,请看下面链接的文章 3.分享的指标为tn6文件和word源码,请根据自己的习惯安装 4.常见的复制源码出现错误有:因为复制过去多了一个空格导致报错,删除空格 复制过去后,对应函数字母发生变化,只需要自己对照源码修改正确就行 复制过去成了一堆,一个分号是一句话,自己调整一下,把每句话单独弄成一行 指标源码机构动向主图(电脑和手机通用) ZT1:=C/REF(C,1)>1.095 AND C=H;{10%涨停} ZT2:=C/REF(C,1)>1.19 AND C=H;{20%涨停} CYB:=CODELIKE('30'); KCB:=CODELIKE('68'); ZT:=IF(CYB OR KCB, ZT2, ZT1); 主趋势线:EMA(EMA(CLOSE,10),10),COLORRED,LINETHICK3; HJ_3:=主趋势线>REF(主趋势线,1); IF(HJ_3-1,主趋势线,DRAWNULL),COLORGREEN,LINETHICK3; HJ_4:=EMA(CLOSE,5)>EMA(CLOSE,20); HJ_5:=EMA(CLOSE,5)<EMA(CLOSE,20); HJ_6:=EMA(CLOSE,5)>EMA(CLOSE,10); HJ_7:=EMA(CLOSE,5)<EMA(CLOSE,10); HJ_8:=CLOSE<OPEN; STICKLINE(HJ_4,HIGH,LOW,0,0),COLORRED; STICKLINE(HJ_4,OPEN,CLOSE,3,1),COLORRED; STICKLINE(HJ_4 AND HJ_8,OPEN,CLOSE,3,0),COLORRED; STICKLINE(HJ_5,HIGH,LOW,0,0),COLORGREEN; STICKLINE(HJ_5,OPEN,CLOSE,3,1),COLORGREEN; STICKLINE(HJ_5 AND HJ_8,OPEN,CLOSE,3,0),COLORGREEN; STICKLINE(HJ_5 AND HJ_6,HIGH,LOW,0,1),COLORWHITE; STICKLINE(HJ_5 AND HJ_6,OPEN,CLOSE,3,1),COLORWHITE; STICKLINE(HJ_5 AND HJ_6 AND HJ_8,OPEN,CLOSE,3,0),COLORWHITE; STICKLINE(HJ_4 AND HJ_7,HIGH,LOW,0,0),COLORWHITE; STICKLINE(HJ_4 AND HJ_7,OPEN,CLOSE,3,1),COLORWHITE; STICKLINE(ZT,OPEN,CLOSE,3,0),COLORFF00FF; MA2:=EMA(H,2); MA5:EMA(H,5); MA13:EMA(H,13); MA34:EMA(L,34); YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA13),MA34); L1:=MIN(MIN(MA5,MA13),MA34); 一阳穿三线:= O<L1 AND C>H1 AND EVERY(MA2>REF(MA2,1),3) AND YCX; STICKLINE(一阳穿三线,O,C,2,0),COLORRED; DRAWTEXT(一阳穿三线,L-0.1, '金'),COLORYELLOW; 机构动向副图(电脑和手机通用) VAR1:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盘<0,控盘,0,3,0),COLORGREEN; A10:=CROSS(控盘,0); STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,3,0),COLORRED; 机构控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,3,0),COLORFF00FF; 机构高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW; STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,3,0),COLORYELLOW,NODRAW; 机构出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLORYELLOW; 机构撤退:IF(控盘<0,控盘,0),COLORGREEN,NODRAW; 机构试盘:IF(A10,5,0),LINETHICK1,COLOR00FFFF,NODRAW; STICKLINE(机构试盘>0,0,5,3,0),COLOR00FFFF; 散户活跃:( 机构控盘=0 AND 机构撤退=0 AND 机构高度控盘=0),NODRAW; STICKLINE(散户活跃=1 ,-0.3,0.3,3,0),COLORWHITE;
|
|