初步转强:(SUM(((CLOSE)/(REF(CLOSE,1)) - (INDEXC)/(REF(INDEXC,1)))*(200),0) - MA(SUM(((CLOSE)/(REF(CLOSE,1)) - (INDEXC)/(REF(INDEXC,1)))*(200),0),30) > 5) AND (REF(SUM(((CLOSE)/(REF(CLOSE,1)) - (INDEXC)/(REF(INDEXC,1)))*(200),0),1) - REF(MA(SUM(((CLOSE)/(REF(CLOSE,1)) - (INDEXC)/(REF(INDEXC,1)))*(200),0),30),1) > 5),LINESTICK,COLORYELLOW;
初步转强信号:=(初步转强 = 1) AND (REF(初步转强,1) = 0);
进入强势信号A:=(MA(CLOSE,1) > EMA(((0.8)*(CLOSE) + (0.5)*(OPEN) + (0.3)*(HIGH) + (0.3)*(LOW))/(0.8 + 0.5 + 0.6),200)) AND crOSS(MA(CLOSE,1),EMA((EMA(CLOSE,30) + EMA(CLOSE,60) + EMA(CLOSE,120) + EMA(CLOSE,240) + EMA(CLOSE,480) + EMA(CLOSE,15))/(6),127)) AND (MA(CLOSE,1) > MA(CLOSE,13));
强势区:(MA(CLOSE,1) > EMA(((0.8)*(CLOSE) + (0.5)*(OPEN) + (0.3)*(HIGH) + (0.3)*(LOW))/(0.8 + 0.5 + 0.6),200)) AND (MA(CLOSE,1) > EMA((EMA(CLOSE,30) + EMA(CLOSE,60) + EMA(CLOSE,120) + EMA(CLOSE,240) + EMA(CLOSE,480) + EMA(CLOSE,15))/(6),127)) AND (MA(CLOSE,1) > MA(CLOSE,13)),LINESTICK,COLORFF00FF;
进入强势信号B:(强势区 = 1) AND (REF(强势区,1) = 0),STICK,LINETHICK5,COLOR00FF00;
主升段:(EMA(((0.8)*(CLOSE) + (0.5)*(OPEN) + (0.3)*(HIGH) + (0.3)*(LOW))/(0.8 + 0.5 + 0.6),200) > EMA((EMA(CLOSE,30) + EMA(CLOSE,60) + EMA(CLOSE,120) + EMA(CLOSE,240) + EMA(CLOSE,480) + EMA(CLOSE,15))/(6),127)) AND (MA(CLOSE,1) > MA(CLOSE,13)),LINESTICK,COLORFFFFFF;
进入主升段信号:(主升段 = 1) AND (REF(主升段,1) = 0),STICK,LINETHICK5,COLORFFFF00;