高:IF(C>=DYNAINFO(3),IF(TIME<=110000,HHV(C,0),ref(HHV(C,0),TIME-110000)),IF(DYNAINFO(4)<DYNAINFO(3),DYNAINFO(3),IF(TIME<=110000,HHV(C,0),ref(HHV(C,0),TIME-110000)))),precis2,dotline,color9999ff;
低:IF(C>=DYNAINFO(3),IF(DYNAINFO(4)>DYNAINFO(3),DYNAINFO(3),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),IF(TIME<=110000,LLV(C,0),ref(LLV(C,0),TIME-110000))),dotline,precis2,color00ff00;
突破价618:(高-低)*0.618+低,precis2,colorff00ff;
中间价:(高-低)*0.5+低,precis2,DOTLINE,colorDDDDDD;
低价382:(高-低)*0.382+低,precis2,colorffff00;
均价突破:IF(SUM(amount,0)/sum(V,0)/100>=突破价618,1,0),precis0,linethick0;
drawtext(C>DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),C*1.01,'突破618'),color0000ff;
drawtext(C<DYNAINFO(3) and cross(低价382,SUM(amount,0)/sum(V,0)/100),C*1.01,'跌破382'),color00ff00;
VERTLINE(C>=DYNAINFO(3) and cross(SUM(amount,0)/sum(V,0)/100,突破价618),2),color00ffff;VERTLINE(C<DYNAINFO(3) and cross(低价382,SUM(amount,0)/sum(V,0)/100),2),colorffff00;