指标公式第899篇:通达信主力王

通达信主力王主图

DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORMAGENTA;
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;
偏离度:=EMA(C,8)-EMA(C,13);
强度值:=EMA(偏离度,5);
章鱼哥1:=偏离度>强度值;
八周强弱:=(C-LLV(LOW,8))/(HHV(H,8)-LLV(LOW,8))*100;
K值:=SMA(八周强弱,3,1);
D值:=SMA(K值,3,1);
章鱼哥2:=K值>D值;
昨收:=REF(C,1);
五周RSI:=(SMA(MAX(C-昨收,0),5,1))/(SMA(ABS(C-昨收),5,1))*100;
十三RSI:=(SMA(MAX(C-昨收,0),13,1))/(SMA(ABS(C-昨收),13,1))*100;
章鱼哥3:=五周RSI>十三RSI;
十三强弱负:=-(HHV(H,13)-C)/(HHV(H,13)-LLV(LOW,13))*100;
均线5:MA(C,5),DOTLINE;
均线10: MA(C,13),LINETHICK2;
主力均1:=SMA(十三强弱负,3,1);
主力均2:=SMA(主力均1,3,1);
章鱼哥4:=主力均1>主力均2;
多空线:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
章鱼哥5:=C>多空线;
ZYG:=C-REF(C,1);
ZYGJ:=100*EMA(EMA(ZYG,5),3)/EMA(EMA(ABS(ZYG),5),3);
ZYGM:=100*EMA(EMA(ZYG,13),8)/EMA(EMA(ABS(ZYG),13),8);
章鱼哥6:=ZYGJ>ZYGM;
ZYG价:=(C*2+H+L)/4;
ZYG差:=EMA(ZYG价,13)-EMA(ZYG价,34);
ZYG差均:=EMA(ZYG差,5);
空头:=(-2*(ZYG差-ZYG差均))*3.8,COLORGREEN;
多头:=(2*(ZYG差-ZYG差均))*3.8,COLORRED;
章鱼哥7:=多头>空头;
均5:MA(C,5);
前均5:REF(MA(C,5),1);
章鱼系数:=IF(MONTH< 12,1,1);
章鱼价:=(2*C+H+LOW)/4;
章鱼低:=LLV(LOW,34);
章鱼高:=HHV(H,34);
主力线:=EMA((章鱼价-章鱼低)/(章鱼高-章鱼低)*100,13)*章鱼系数;
散户线:=EMA(0.667*REF(主力线,1)+0.333*主力线,2);
章鱼哥9:=主力线>散户线;
章鱼哥10:=(多头>空头) AND (主力线>散户线);
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
章鱼哥11:=(多头>空头) AND (主力线>散户线) AND (偏离度>强度值) AND (K值>D值) AND (五周RSI>十三RSI) AND (主力均1>主力均2) AND (C>多空线) AND (ZYGJ>ZYGM);
量价齐升:=BARSLASTCOUNT((章鱼哥1 AND 章鱼哥2 AND 章鱼哥3 AND 章鱼哥4 AND 章鱼哥5 AND 章鱼哥6 AND 章鱼哥7 AND 章鱼哥9 AND 章鱼哥10 AND 章鱼哥11))=1;
DRAWICON((章鱼哥1 AND 章鱼哥2 AND 章鱼哥3 AND 章鱼哥4 AND 章鱼哥5 AND 章鱼哥6 AND 章鱼哥7 AND 章鱼哥9 AND 章鱼哥10 AND 章鱼哥11),L,1);
STICKLINE((章鱼哥1 AND 章鱼哥2 AND 章鱼哥3 AND 章鱼哥4 AND 章鱼哥5 AND 章鱼哥6 AND 章鱼哥7 AND 章鱼哥9 AND 章鱼哥10 AND 章鱼哥11),OPEN,C,2,0),COLORYELLOW;
STICKLINE((章鱼哥1 AND 章鱼哥2 AND 章鱼哥3 AND 章鱼哥4 AND 章鱼哥5 AND 章鱼哥6 AND 章鱼哥7 AND 章鱼哥9 AND 章鱼哥10 AND 章鱼哥11),OPEN,C,1,0),COLORRED;
DRAWICON(量价齐升,L,25);
DRAWTEXT(量价齐升,L*0.96,'★章鱼哥'),COLORRED;

通达信主力王副图

1;
LH:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:=EMA(LH,21);
DRAWTEXT(LH>J,1.6,'主'),COLORRED;
DRAWTEXT(LH< J,1.6,'主'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.6,' 自选'),COLORYELLOW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DRAWTEXT(DIF>DEA,1.5,'主'),COLORRED;
DRAWTEXT(DIF< DEA,1.5,'主'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.5,' 关注'),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWTEXT(K>D,1.4,'主'),COLORRED;
DRAWTEXT(K< D,1.4,'主'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.4,' 买入'),COLORYELLOW;
TYP:=(HIGH LOW CLOSE)/3;
CCI:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14));
DRAWTEXT(CCI>100,1.3,'主'),COLORRED;
DRAWTEXT(CCI< 100,1.3,'主'),COLORGREEN;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
DRAWTEXT(ISLASTBAR=1,1.3,' 启动'),COLORYELLOW;
DRAWTEXT(C>SAR.SAR,1.2,'主'),COLORRED;
DRAWTEXT(C< SAR.SAR,1.2,'主'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.2,' 加速'),COLORYELLOW;
DRAWTEXT(RSI.RSI1>50,1.1,'主'),COLORRED;
DRAWTEXT(RSI.RSI1< 50,1.1,'主'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.1,' 高潮'),COLORYELLOW;
X1:=LH>J;
X2:=DIF>DEA;
X3:=K>D;
X4:=CCI>100;
X5:=C>SAR.SAR;
X6:=RSI.RSI1>50;
XJ:X1 AND X2 AND X3 AND X4 AND X5 AND X6,NODRAW;
STICKLINE(1,1.7,1.8,3,1),COLOR666666;
DRAWNUMBER(1,1.77,XJ),COLORLIGRAY;
DRAWNUMBER(XJ=6,1.77,XJ),COLORMAGENTA;
DRAWNUMBER(XJ=5,1.77,XJ),COLORRED;
DRAWTEXT(ISLASTBAR=1,1.75,' 章鱼哥'),COLORYELLOW;
XG:X1 AND X2 AND X3 AND X4 AND X5 AND X6,NODRAW;

通达信主力王选股

偏离度:=EMA(C,8)-EMA(C,13);
强度值:=EMA(偏离度,5);
章鱼哥1:=偏离度>强度值;
八周强弱:=(C-LLV(LOW,8))/(HHV(H,8)-LLV(LOW,8))*100;
K值:=SMA(八周强弱,3,1);
D值:=SMA(K值,3,1);
章鱼哥2:=K值>D值;
昨收:=REF(C,1);
五周RSI:=(SMA(MAX(C-昨收,0),5,1))/(SMA(ABS(C-昨收),5,1))*100;
十三RSI:=(SMA(MAX(C-昨收,0),13,1))/(SMA(ABS(C-昨收),13,1))*100;
章鱼哥3:=五周RSI>十三RSI;
十三强弱负:=-(HHV(H,13)-C)/(HHV(H,13)-LLV(LOW,13))*100;
主力均1:=SMA(十三强弱负,3,1);
主力均2:=SMA(主力均1,3,1);
章鱼哥4:=主力均1>主力均2;
多空线:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
章鱼哥5:=C>多空线;
ZYG:=C-REF(C,1);
ZYGJ:=100*EMA(EMA(ZYG,5),3)/EMA(EMA(ABS(ZYG),5),3);
ZYGM:=100*EMA(EMA(ZYG,13),8)/EMA(EMA(ABS(ZYG),13),8);
章鱼哥6:=ZYGJ>ZYGM;
ZYG价:=(C*2+H+L)/4;
ZYG差:=EMA(ZYG价,13)-EMA(ZYG价,34);
ZYG差均:=EMA(ZYG差,5);
空头:=(-2*(ZYG差-ZYG差均))*3.8;
多头:=(2*(ZYG差-ZYG差均))*3.8;
章鱼哥7:=多头>空头;
章鱼系数:=IF(MONTH< 12,1,1);
章鱼价:=(2*C+H+LOW)/4;
章鱼低:=LLV(LOW,34);
章鱼高:=HHV(H,34);
主力线:=EMA((章鱼价-章鱼低)/(章鱼高-章鱼低)*100,13)*章鱼系数;
散户线:=EMA(0.667*REF(主力线,1)+0.333*主力线,2);
章鱼哥9:=主力线>散户线;
章鱼哥10:=(多头>空头) AND (主力线>散户线);
章鱼哥11:=(多头>空头) AND (主力线>散户线) AND (偏离度>强度值) AND (K值>D值) AND (五周RSI>十三RSI) AND (主力均1>主力均2) AND (C>多空线) AND (ZYGJ>ZYGM);
量价齐升:BARSLASTCOUNT((章鱼哥1 AND 章鱼哥2 AND 章鱼哥3 AND 章鱼哥4 AND 章鱼哥5 AND 章鱼哥6 AND 章鱼哥7 AND 章鱼哥9 AND 章鱼哥10 AND 章鱼哥11))=1;

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注