n:=7;ll:=min(ma(c,10),min(ma(c,20),min(ma(c,30),ma(c,60))));hh:=max(ma(c,10),max(ma(c,20),max(ma(c,30),ma(c,60))));均线接近度:=(hh-ll)/ll*100;均线粘合:=均线接近度<n;mid:=ma(c,20);vart1:=pow((c-mid),2);vart2:=ma(vart1,20);vart3:=sqrt(vart2);upper:=mid+2*vart3;ub:=ref(upper,1);xg:均线粘合 and ma(c,60)>ref(ma(c,60),1) and cross(c,ub) and ub>ref(ub,1) and v>ref(v,1)*1.5;(均线粘合度设为7,可修改。boll采用主图指标。对照600970,2012.11.1技术图形测试) 20210311
好像写过了。下载最新的5分钟数据,选股周期设为5分钟进行选股。ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,40)>ref(ma(c,40),1) and ma(c,50)>...
ma2:=ema(c,2);ma5:=ema(c,5);ma13:=ema(c,13);ma34:=ema(c,34);ma55:=ema(c,55);ycx:=ma5>=ref(ma5,1);h1:=max(max(ma5,ma13),ma34);l1:=min(min(ma5,ma13),ma34);金蜘蛛:h1<c and o<l1 and ycx and ma2>r...
var1:=open;var2:=open(close,5)and open(close,10)and open(close,20);var3:=close>ma(close,5)and close>ma(close,10)and close>ma(close,20);var4:=cross(ma(close,5),ma(close,20));var1 and var2 and ...