rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:sma(rsv,3,1),colorwhite;d:sma(k,3,1),coloryellow;j:3*k-2*d,colorff00ff;j>=d and ref(j,1)<=ref(d,1) 这叉条件;如果用于60分钟,从源码中是体现不出来的,在禁期里调成60分钟才行。
按照这只股票编出来不难,但你定义的都是幅度,没有时间.形态分析,光分析涨跌空间不行你还要计算时间因素. n:=60;n1:=50;m:=30;x:=hhvbars(h,n);qh:=ref(hhv(h,m),x+1);ql:=ref(llv(l,m),x+1);xg:ref(x,1)>50 and ref(llv(l,x),1)>ref((0.618*(qh-ql)+ql)*0.95,...
上影:=if(close>open,high-close,high-open);下影:=if(close>open,open-low,close-low);长上影:=abs(close-open)*1.7<上影 and abs(close-open)>下影*2;长下影:=abs(close-open)*1.7<下影 and abs(close-open)>上影*...