V1:=IF(C/REF(C,1)>=1.098 AND C=O,EMA(EMA(EMA(HHV(V,10),3),13),360),EMA(EMA(EMA(V,3),13),360));
V2:=IF(C/REF(C,1)>=1.098 AND C=O,HHV(V,10),HHV(V,3));
紫:EMA(((CLOSE*V2-REF(COST(90),1)*V1)/20+250)*1.2/5,3),COLORMAGENTA,LINETHICK2;
趋势1:=EMA(紫,13),COLORMAGENTA,DOTLINE;
兰:EMA(((REF(COST(90),1)*V1-CLOSE*V2)/20+250)*1.2/5,3),COLORCYAN,LINETHICK2;
趋势2:=EMA(兰,13),COLORCYAN,DOTLINE;
红:EMA(((CLOSE*V2-REF(COST(10),1)*V1)/20+250)*1.2/5,3),COLORRED,LINETHICK2;
趋势3:=EMA(红,13),COLORRED,DOTLINE;
蓝:EMA(((REF(COST(10),1)*V1-CLOSE*V2)/20+250)*1.2/5,3),COLORBLUE,LINETHICK2;
趋势4:=EMA(蓝,13),COLORBLUE,DOTLINE;
DRAWTEXT(COUNT(红=HHV(红,60),10)=1 AND 红=HHV(红,60),红,'★突破'),COLORRED;
{X_1:=30;
X_2:=10;
X_3:=vol/10000*CLOSE/100;
X_4:=REF(CLOSE,1);
X_5:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
X_6:=(CLOSE-X_4)*X_5;
X_7:=SUM(X_6,0);
X_8:=X_7;
JZobv:=X_8;
紫2:EMA(((CLOSE*JZOBV-REF(COST(90),1)*JZOBV)/20+250)*1.2/5,3),COLORMAGENTA,DOTLINE;
兰3:EMA(((REF(COST(90),1)*JZOBV-CLOSE*JZOBV)/20+250)*1.2/5,3),COLORCYAN,DOTLINE;
红4:EMA(((CLOSE*JZOBV-REF(COST(10),1)*JZOBV)/20+250)*1.2/5,3),COLORRED,DOTLINE;
蓝5:EMA(((REF(COST(10),1)*JZOBV-CLOSE*JZOBV)/20+250)*1.2/5,3),COLORBLUE,DOTLINE;};