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));{九毛八公式指标网www.9m8.cn}
紫: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;