【资料名称】:小小主图指标 通达信 贴图介绍【资料描述】:
小小主图指标 通达信 贴图
没有未来函数,信号不会漂移。有两根均线,金叉时可买入,买入信号出现时亦可买入,股价跌破红线卖出。具体用法你可以更进一步研究。
ZAX:=(5*C+2*L+2*H+O)/10;
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,21);
DLX:=EMA((ZAX-VARA2)/(VARA3-VARA2)*4,4);
INE:=DLX>=REF(DLX,1);
N:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV:=VOL*ZAX;
MN:=SUM(AMOV,N)/SUM(VOL,N);
MAA:MA(ZAX,8),LINETHICK2,COLORBLUE;
NO:IF(ZAX>=MN,MAA,DRAWNULL),LINETHICK2,COLORMAGENTA;
NB:IF(ZAX<=MN,MAA,DRAWNULL),LINETHICK2,COLORBLUE;
BOAL:EMA(EMA(MN,13),13),COLORRED,LINETHICK2;
AQ:=MIN(OPEN,REF(CLOSE,1));
AW:=MAX(OPEN,REF(CLOSE,1));
MTRQ:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
DFQ:=((HIGH-AQ)+(CLOSE-MIN(LOW,REF(CLOSE,1))))/MTRQ;
KF:=((AW-L)+(MAX(HIGH,REF(CLOSE,1))-CLOSE))/MTRQ;
DK:=DFQ/KF;{www.guziyuan.cn}
BOLS:=MA(DK,20);
UB:=BOLS+2*STD(DK,20);
LB:=BOLS-2*STD(DK,20);
BLQ:=MA(DK,12);
RW:=POW(DK-BLQ,2);
X:=SQRT(MA(RW,12));
UP:=0.5*(BLQ+2.5*X)+0.5*UB;
DP:=0.5*(BLQ-2.5*X)+0.5*LB;
DRAWICON(FILTER(CROSS(DK,UP) AND INE AND C>MAA,5),L*0.99,22);
EZT:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.1));
EZTO:=EXIST(EZT,10);
MAA1:=MA(ZAX,10);
MAA2:=MA(ZAX,20);
JS:=REF(H,3)=HHV(H,10) AND ZAX<REF(ZAX,1) AND ZAX<MAA1 AND ZAX>MAA2 AND MAA1>MAA2 AND O<MAA1 AND H<MAA1 AND L>MAA2;
WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
BIAS1 :=(ZAX-MA(ZAX,6))/MA(ZAX,6)*100;
ZB:=BIAS1<-3 AND WR2>85 AND ZAX<REF(ZAX,1) AND L<REF(L,1);
XG1AS:=JS AND ZB AND EZTO;
DRAWTEXT(XG1AS,L*0.96,'阴买'),COLORRED;
gd54337
【下载地址隐藏】: 点:回复可见地址