x1:=finance(7)<=300000000 and dyna**(7)>5;x2:=macd.macd>ref(macd.macd,1) and macd.dif<macd.dea ;x1 and count(x2,3)=3 and macd.dif>=0;快要金叉是个模糊的概念,公式无法准确表达出来,所以只能用白线连续3天向上来表达。
f1:=l>ref(h,1);f2:=barslast(f1);f3:=ref(h,f2+1); llv(l,f2)>f3 and f2<11;signature----------------------------------------------------------扬搜:只有想不到,没有搜不到 yangsou.com
aa:=l>ref(h,1);qa:=if(count(aa,n)>0,barssincen(aa,n),draw**);{n时间范围}aw:=ref(h,qa+1);qw:=barslast(h>=hhv(h,qa));wl:=ref(l,qw);xg1:=qw>0 and ref(l,1)<=wl and llv(l,qa)>aw;ww1:=l>ref...