通达信抄底擒牛绝杀三线粘合共振指标公式源码:
幅图1:
MA6:=MA(CLOSE,6); MA18:=MA(CLOSE,18); MA3:3*(MA18) – (2)*(MA6),LINETHICK1,COLORD39D91;
MA4:3*(MA6) – (2)*(MA18),LINETHICK2,COLOR87B08B; M1:SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;
M2:EMA(M1,21),COLORFF00FF; M30:MA(CLOSE,30),LINETHICK1,COLORFF0000;
擒牛点位1:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) – EMA((CLOSE + LOW)/(2),3) – ((CLOSE + LOW)/(2))*(0.1);
擒牛点位2:=IF(((EMA((CLOSE + LOW)/(2),3) – 擒牛点位1)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) – 擒牛点位1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) – 擒牛点位1)*(5),2)))/(10));
擒牛点位3:=IF((擒牛点位2 > 0),擒牛点位2 – 0,(-1));绝杀:=CROSS(擒牛点位3,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE +LOW)/(2),8)) AND C>O AND O<REF(C,1);DRAWTEXT(绝杀,(M2)*(1.01),’绝杀’),LINETHICK2,COLORFFFFFF;
STICKLINE(绝杀,(LOW)*(0.99),(LOW)*(0.95),4,0),COLOR0000FF;
幅图2:
DRAWTEXT_FIX(1,0.005,0,0,’所属风格’),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.05,0,’所属概念’),COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;
好运翻倍:=(C*2+H+L+O)/5;三线共振1:=MA(C,5);三线共振2:(EMA(好运翻倍,4)+MA(好运翻倍,8)+MA(好运翻倍,16))/3,COLORWHITE;
三线共振3:(EMA(好运翻倍,9)+MA(好运翻倍,18)+MA(好运翻倍,36))/3,COLORFF00FF;
三线共振5:(EMA(好运翻倍,13)+MA(好运翻倍,26)+MA(好运翻倍,52))/3,COLOR00FF00;
三线共振4:(EMA(好运翻倍,24)+MA(好运翻倍,48)+MA(好运翻倍,96))/3,COLOR0000FF;
三线共振6:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);三线共振7:=三线共振6/4;
{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
三线共振8:=MAX(MAX(三线共振2,三线共振3),MAX(三线共振5,三线共振4));
三线共振9:=MIN(MIN(三线共振2,三线共振3),MIN(三线共振5,三线共振4));
三线共振10:=MIN(MIN(三线共振2,三线共振3),三线共振5);三线共振20:=MAX(MAX(三线共振2,三线共振3),三线共振5);
三线粘合:=FILTER(三线共振4>REF(三线共振4,2)AND REF(三线共振2,3) AND(三线共振20-三线共振10)/三线共振10<0.005,5) AND MA(C,28)>REF(MA(C,28),1);
STICKLINE(三线粘合,CLOSE,OPEN,2,0),COLORYELLOW;
DRAWICON(三线粘合,L-0.12,5);
DRAWTEXT(三线粘合,L*0.95, ‘ 三线粘合 ‘ ),COLORYELLOW;