咨詢內(nèi)容:
variable:HHbias=0;variable:LLbias=0;250乖離率:=((close-250ma)/250ma)*100,noaxis;250乖離率中間:=between(250乖離率,llbias,hhbias);hbias:=hhv(250乖離率,30),noaxis;lbias:=llv(250乖離率,30),noaxis;hb:=if(hbias>ref(hbias,1),hbias,ref(hbias,1));lb:=if(lbias<ref(hbias,1),lbias,ref(hbias,1));if close<250ma and hbias=0 and lbias=0 then begin HHbias:=hb,noaxis; if islastbar then begin debugfile('d:\test1.text','HHbias%.0f',HHbias); LLbias:=lb,noaxis; if islastbar then BEGIN debugfile('d:\test2.text','LLbias%.0f',LLbias); end end end各位老師,上面“250乖離率中間”的llbias和hhbias,通過變量賦值得到的話是否可以使用呢?謝謝!