通达信阶梯买点卖点主图指标

[复制链接]
查看109 | 回复0 | 2021-8-20 10:36:11 | 显示全部楼层 |阅读模式

以下是通达信阶梯买点卖点主图指标(无源码的请下载附件导入)

绘图范围:=IFF(BARSCOUNT(CLOSE)>120,1,0);
突破:=REF(EMA(CLOSE,14),1);
 A1X:=(EMA(CLOSE,10)-突破)/突破*100;
多方:=IFF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IFF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*1.00,4,0),COLOR000098;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.95,4,0),COLOR000090;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.90,4,0),COLOR000088;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.85,4,0),COLOR000080;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.80,4,0),COLOR000078;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.75,4,0),COLOR000070;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.70,4,0),COLOR000068;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.65,4,0),COLOR000060;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.60,4,0),COLOR000058;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.55,4,0),COLOR000050;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.50,4,0),COLOR000048;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.45,4,0),COLOR000040;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.40,4,0),COLOR000038;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.35,4,0),COLOR000030;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.30,4,0),COLOR000028;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.25,4,0),COLOR000020;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.20,4,0),COLOR000018;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.15,4,0),COLOR000010;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.10,4,0),COLOR000008;
 STICKLINE(绘图范围 AND A1X>=0,多方,多方+(突破-多方)*0.05,4,0),COLOR000000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.05,4,0),COLOR989800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.10,4,0),COLOR909000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.15,4,0),COLOR888800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.20,4,0),COLOR808000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.25,4,0),COLOR787800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.30,4,0),COLOR707000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.35,4,0),COLOR686800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.40,4,0),COLOR606000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.45,4,0),COLOR585800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.50,4,0),COLOR505000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.55,4,0),COLOR484800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.60,4,0),COLOR404000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.65,4,0),COLOR383800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.70,4,0),COLOR303000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.75,4,0),COLOR282800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.80,4,0),COLOR202000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.85,4,0),COLOR181800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.90,4,0),COLOR101000;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*0.95,4,0),COLOR080800;
 STICKLINE(绘图范围 AND A1X<0,空方,突破-(突破-空方)*1.00,4,0),COLOR000000;

STICKLINE(绘图范围 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF88FF;
 STICKLINE(绘图范围 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORFF88FF;
 STICKLINE(绘图范围 AND CLOSE=OPEN,HIGH,LOW,0,0),COLORWHITE;
 STICKLINE(绘图范围 AND CLOSE=OPEN,CLOSE,OPEN,3,0),COLORWHITE;
 STICKLINE(绘图范围 AND CLOSE<OPEN,HIGH,LOW,0,0),COLORGREEN;
 STICKLINE(绘图范围 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORGREEN;

转多头:=A1X>=0 AND REF(A1X,1)<0;
转多头距离:=BARSLAST(转多头)+1;
多头中继:=LOW<突破 AND OPEN<突破 AND BETWEEN(转多头距离,10,30);
转空头:=A1X<0 AND REF(A1X,1)>=0;
转空头距离:=BARSLAST(转空头)+1;
空头中继:=HIGH>突破 AND OPEN>突破 AND BETWEEN(转空头距离,10,30);
买方空中加油:IFF(绘图范围 AND COUNT(多头中继,转多头距离)<=2 AND 多头中继 AND A1X>=0,突破,DRAWNULL),NODRAW,COLORYELLOW;
卖方空中加油:IFF(绘图范围 AND COUNT(空头中继,转空头距离)<=2 AND 空头中继 AND A1X<0,突破,DRAWNULL),NODRAW,COLORCYAN;{www.goodgupiao.com}
黄色点:=IFF(绘图范围 AND COUNT(多头中继,转多头距离)<=2 AND 多头中继 AND A1X>=0,1,0);
蓝色点:=IFF(绘图范围 AND COUNT(空头中继,转空头距离)<=2 AND 空头中继 AND A1X<0,1,0);
 DRAWTEXT(黄色点,LOW*0.94,'黄'),COLORRED;
 DRAWTEXT(转空头,LOW*1.14,'空'),COLORRED;
 DRAWTEXT(转多头,LOW*0.95,'多'),COLORRED;


 F:=100*(C-REF(C,1))/REF(C,1);
 AA1:=AMOUNT/V;
 BB1:=L<AA1*0.9;
 CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
 DD1:=L<MA(C,5)*0.921;
 EE1:=V<MA(V,5)*1.5;
 FF1:=多方 AND BB1 AND CC1 AND DD1 AND EE1;
 DRAWTEXT(FF1,(LOW* 0.97),'稳'),COLOR4090FF;


 MA1:MA(CLOSE,7);
 MA2:MA(CLOSE,14);
 MA3:MA(CLOSE,28);


 M22:=EMA(C,2);
 M18:=EMA(C,18);
买:=IF(CROSS(M18,M22),5,0* 10000),COLORFF00FF,LINETHICK2;
 RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
 VARB2:=(RSVV/2+22)*1;
 Q:=EMA(VOL,13);
 Y:=EMA(AMOUNT,13);
 S:=((Y /Q) / 100);
 X:=(((CLOSE -S) / S) * 100);
 F3:=((X < (0)) AND ZXNH);
 XQ:=F3 AND RSVV<VARB2-2;
收阴买:=买 AND XQ ,STICK,COLORYELLOW,LINETHICK3;
 DRAWTEXT(收阴买,L*0.950,'收'),COLORYELLOW;
 DRAWTEXT(收阴买,L*0.920,'阴'),COLORYELLOW;
 DRAWTEXT(收阴买,L*0.890,'买'),COLORYELLOW;

 

844199101.jpg

844199101.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则