参考:1:var2:=close*vol;cy:=ema((ema(var2,4)/ema(vol,4)+ema(var2,6)/ema(vol,6)+ema(var2,13)/ema(vol,13)+ema(var2,24)/ema(vol,24))/4,1)colorcyan;xg:cross(c,cy) and c>o;2: var2:=close*vol;cy:=ema((e...
{快线金叉慢线,且它们的数值都小于20}r4:=(2*c+h+l)/4;r5:=llv(l,94);r6:=hhv(h,89);快:=ema((c-r5)/(r6-r5)*100,8);慢:=ema(0.667*ref(快,1)+0.333*快,10);xg1:cross(快,慢) and max(快,慢)<20;{快线即将金叉慢线,且它们的数值(快慢线)都小于20}r4:=(2*c+h+l...
value_a:=(/)*100;value_b:=(value_a,(value_a,1))=value_a;value_c:=(value_a,2)=value_a;value_d:=(close,(close,1))=close;xg:value_b and value_c and value_d;
1的公式是:count(close>ref(close,1),10)>7;2的公式是:high>max(o,c)*1.03 and low<min(open,close)*1.02 and close/ref(close,1)>1.06;hhv(high,3)=hhv(high,120);意思是3日内(只要在最近3天内的都可以)的最高价是120日的最高价;三天内=三天...