【资料名称】:中短趋势主图指标 通达信 贴图 无加密介绍【资料描述】:
中短趋势主图指标 通达信 贴图 无加密
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(HYBLOCK,DYBLOCK)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,STRCAT(GNBLOCK,DYBLOCK)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0,-1,0,'破上轨买, 破下轨卖; 跌势顶减, 涨势底加; 顶近上轨, 下轨说话; 顶远上轨, 顶先减仓.'),COLORWHITE;
MA5:=MA(C,5);MA10:=MA(C,10);
MA60:=MA(C,60),POINTDOT,COLORYELLOW;
MA120:=MA(C,120),POINTDOT,COLORFF00FF;
MA250:=MA(C,250),POINTDOT,COLOR0066FF;
{短趋势 中趋势}
AA9:=C;
AAA:=REF(C,2),COLORGREEN;
AAA2:=MA(C,5);
AAA3:=MA(C,26);
AAA1:=MA((3*H+C)/4,2),COLORLICYAN;
NOTEXT1:=FORCAST(EMA(AAA,1),7),COLORGREEN;
短趋势:FORCAST(EMA(AA9,16),7),COLORBLUE,LINETHICK3;
中趋势:FORCAST(EMA(AA9,55),7),COLORFF9900,LINETHICK3;
短趋势向上:IF(AAA2>短趋势 OR C>短趋势,短趋势,DRAWNULL),COLORFF00FF,LINETHICK3;
中趋势向上:IF(短趋势>=中趋势&&AAA2>短趋势,中趋势,DRAWNULL),COLOR9933CC,LINETHICK3;
{涨停 跌停}
ZT:=C/REF(C,1)>1.097;
STICKLINE(ZT,O,C,0.5,0),COLORYELLOW;
DT:=C<REF(C,1)*(1-0.097);
STICKLINE(DT,O,C,0.5,0),COLORBLUE;
{双龙之翼}
上轨:EMA(H,25),COLORGREEN;下轨:EMA(L,25),COLORGREEN;
NOTEXT_A111:=PLOYLINE(C>上轨,上轨);
上轨向上:IF(C>上轨,NOTEXT_A111,DRAWNULL),COLORRED;
NOTEXT_B111:=PLOYLINE(C>下轨,下轨);
下轨向上:IF(C>下轨,NOTEXT_B111,DRAWNULL),COLORRED;
{笑脸}
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X1:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1)<REF(Q_B,2);
X5:=Q_A>REF(Q_B,1);
买进:=(X1 AND X2 AND X3) AND X4 AND X5;
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
持币:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,0,10),STICK,COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;
DRAWICON(CROSS(100,J),H*1.02,4),COLORGREEN;
DRAWICON(CROSS(J,0)&&持币=0,L*0.98,5),COLORRED;
DRAWICON(J<0&&持币=0,L*0.97,24),COLORRED;
是否上榜 : SIGNALS_USER(300, 0), NODRAW; {上榜金额>1,则表示上榜了,这个是上榜总金额}
净买入: SIGNALS_USER(299, 0), NODRAW;
HIGH1 := IF(MOD(DAY,2) = 1, 100, 95);
DRAWTEXT(是否上榜>=1 AND 净买入>=0, L*0.98, VARCAT('净: ', VAR2STR(净买入, 0)) ), COLORRED;
DRAWTEXT(是否上榜>=1 AND 净买入<0, L*0.98, VARCAT('净: ', VAR2STR(净买入, 0)) ), COLORGREEN;
gd56460
【下载地址隐藏】: 点:回复可见地址