{n:(1950,2100,2013);y:(1,12,3);r:(1,31,25);将以上参数输入参数栏内,参数n\y\r分别表示年、月、日,可以自由调整} 指定日期:=year=n and month=y and day=r;指定均线:=expma(c,x);cross(c,指定均线)and 指定日期;
{再试试,这个木错了}bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;回踩:=cross(bbi,l) and c>bbi;上穿:=cross(c,bbi);最低:=(bbi-l)/l>0 and (bbi-l)/l<0.01;xg:((回踩 + 上穿)>0)*最低;
n:=34;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;**线:=ema(j,6);cross(**线,50) and **线>ref(**线,1);若还有问题,请q上找我。
t:=((ref(c,1)-ref(c,2))/ref(c,2)*100)>7;t1:=o>ref(h,1)and o=h and c<o and c>ref(c,1);t2:=c/l>1.03 and(min(c,o)-l)>(h-min(c,o));xgt:t and t1 and t2;已测试 600822差点: