通达信光耀买点副图指标 源码

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

以下是通达信光耀买点副图指标 源码(无源码的请下载附件导入)

P1:=5;P2:=4;

{参数P1=5,P2=4}
{风行波段}

{快慢线}
底线:0,LINETHICK1,COLORMAGENTA;
高位:80,LINETHICK1,COLORMAGENTA;
低位:20,LINETHICK1,COLORMAGENTA;
VARR1:=LLV(LOW,P1);
VARR2:=HHV(HIGH,P1);
K: EMA((CLOSE-VARR1)/(VARR2-VARR1)*100,P2),COLORGREEN,LINETHICK1;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORRED,LINETHICK1;
{洗盘再买}
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH);
准备:=IF(黄金 AND RSVV<VARB2-2,10,0),COLORGREEN,NODRAW;
STICKLINE(准备,0,10,1,0),COLORGREEN;
DRAWTEXT(准备>0,13.6,'准'),COLORGREEN;
准备1:=REF(准备,1) OR REF(准备,2) OR REF(准备,3) OR 准备;
买:=CROSS(K,D) AND 准备1,COLORRED,NODRAW;
STICKLINE(买,0,10,1,0),COLORRED;
DRAWTEXT(买>0,13.6,'买'),COLORRED;

{短买}
AR1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
短买:=CROSS(AR1,REF(AR1+0.01,1)) AND LLV(AR1,2)=LLV(AR1,8) AND AR1<20;
STICKLINE(短买,20,30,1,0),COLORCYAN;
DRAWTEXT(短买>0,33.6,'T'),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.15,0,'《共享交易云》欢迎你'),COLORYELLOW;

1310533225.png

1310533225.png

回复

使用道具 举报

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

本版积分规则