m5:ma(close,5);m10:ma(close,10);m20:ma(close,20);m30:ma(close,30);m60:ma(close,60);drawicon(m5(c,m5)and cross(c,m10),l,1);drawicon(m5(m5,c)and cross(m10,c),h,2);drawicon(m5>m20 and m10>m20 and m20>m30 and m30>m60 and cross(c,m5)and cross(c,m10),l,1);drawicon(m5>m20 and m10>m20 ... 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)>ref(ma(c,50),1) ;
ma65:=ma(c,65);ma250:=ma(c,250);bb:count(cross(ma(c,65),ma(c,250)),250);xg:=ma250>ref(ma65,1);cross(ma250,ma65) and xg and bb;cross(ma250,ma65) and xg and bb;这句错误,不知道你想表达的意思。bb大于0的情况下,那么cross(ma250...
a:=ref(h,120);新高:=a>=hhv(h,0);m5:=ma(c,5);m13:=ma(c,13);金叉:=cross(m5,m13);回调:=(hhv(c,120)-c)/hhv(c,120)>0.3;放量:=v/ref(v,1)>=2.01;缩量:=ref(c,1)>ma(c,34);xg:回调 and 金叉 and 新高 and 放量 and 缩量;(你要...
drawtext(high>ref(high,1) and high>ref(high,2) and h>refx(&high,1) ,h*1.01,'▲'),colorred;drawtext(l<ref(l,1) and l<ref(l,2) and l<refx(&low,1) ,l,'▼'),color00ff00;cc:...