TRT买点选股公式(大智慧)

[复制链接]
查看210 | 回复0 | 2021-8-21 14:05:02 | 显示全部楼层 |阅读模式

选出TRT主图中买点,图中黄色“|买”。源码如下:

variable:a1=0;
c1:=INTPART(cyc(5)*100*0.96)/100;
a2:=intpart(ref(cyc(5),1)*100)/100;
a3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
a40:=intpart(maxcyc*100)/100;
a41:=intpart(ref(MAXCYC,1)*100)/100;
a4:=a1=0 and c>a2 or (ref(vol/100,1)<vv and c>intpart(a2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
a5:=a1=1 and c<min(a3,a41);
a1:=if(a4=1,1,if(a5=1,0,ref(a1,1)));
cross(a1,0);

202108211323.jpg

202108211323.jpg
 

 

回复

使用道具 举报

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

本版积分规则