通达信众赢多空趋势主图指标源码

[复制链接]
查看277 | 回复0 | 2021-8-28 02:28:38 | 显示全部楼层 |阅读模式

以下是通达信众赢多空趋势主图指标源码(无源码的请下载附件导入)

多:EMA(C,3),COLORYELLOW;
空:EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),COLORWHITE,;
 VARF1:=COUNT(CROSS(多,均衡),2)=1;
 VARF2:=COUNT(CROSS(空,均衡),2)=1;
 ZAI:=FILTER(VARF1 AND VARF2,2);
 DRAWTEXT(ZAI,均衡*0.99,' →●¤主升'),COLORFF00FF;
 VV2:=REF(CLOSE,1);
 VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
 DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);
 DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH*0.99,' →●逃顶↓'),COLORGREEN;
 VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
 DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;
 VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
 VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
 DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND
 REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★买');
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
 DRAWICON(CROSS(82,VARR1),HIGH,2);
 DRAWTEXT(CROSS(82,VARR1),HIGH,'短空↓'),COLORYELLOW;
 VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
 VAR2:=REF(VAR1,1);
 VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
 HY3:=IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND
 CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
 DRAWTEXT(HY3,LOW*0.99,'→◆●注意买入'),COLORLIRED;

2040233321.jpg

2040233321.jpg

回复

使用道具 举报

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

本版积分规则