市均价:=(((H+L)/2*0.382+(C+O)/2*0.618)*0.809+C*0.191);
均价:=IF(PERIOD>=6 AND PERIOD<10,AMOUNT/(vol*100),市均价);
重心:=IF(INDEXC=C,市均价,(市均价+均价)/2);
折价:=(重心*0.618+C*0.382);
DLB:=(SUM(VOL,9)/REF(SUM(VOL,72),1));
DM:=DMA(折价,DLB);
M27:=EMA(DMA(折价,DLB),27);
M72:=EMA(DMA(折价,DLB),72);
M153:=EMA(DMA(折价,DLB),153);
M324:=EMA(DMA(折价,DLB),324);
ZDZ:=MAX(M27,MAX(M72,M153));
ZXZ:=MIN(M27,MIN(M72,M153));
粘合:=(ZDZ/ZXZ-1)*100;
TPX:=crOSS(DM,M324)AND EXIST(粘合<6,3)AND M324 >ZDZ;
突破:TPX=1;