GUA1:=MA(CLOSE,27); GUA2:=((CLOSE - GUA1)/(GUA1))*(100); GUA3:=MA(GUA2,2); GUA4:=BARSLAST((CROSS((-10),GUA3) = 1)); GUA5:=(GUA3 < (-10)) AND (GUA4 > 3); V1:=C/REF(MA(C,36),6)*10; GUB1:=EMA(CLOSE,3); GUB2:=((SMA(MAX((CLOSE - GUB1),0),9,1) / SMA(ABS((CLOSE - GUB1)),9,1)) * 100); GUB3:=((100 - (3 * SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB4:=((100 - (3 * SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); GUB6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); GUB7:=SMA(SMA(GUB6,16,8),25,8)-SMA(GUB5,30,8); K0:=IF((GUB2< 14) AND L<REF(L,1) AND V1<8.8 AND GUB7<-65,50,0); K1:=IF(K0>1 AND C>O,50,0),STICK,COLOR10FFFF,LINETHICK3; K2:=IF(K0>1 AND C/L>1.045,50,0); K3:=IF(REF(K0,1)>0 AND K0=0,10,0);
{选股公式一:杀庄1} GUA1:=MA(CLOSE,27); GUA2:=((CLOSE - GUA1)/(GUA1))*(100); GUA3:=MA(GUA2,2); GUA4:=BARSLAST((CROSS((-10),GUA3) = 1)); GUA5:=(GUA3 < (-10)) AND (GUA4 > 3); V1:=C/REF(MA(C,36),6)*10; GUB1:=EMA(CLOSE,3); GUB2:=((SMA(MAX((CLOSE - GUB1),0),9,1) / SMA(ABS((CLOSE - GUB1)),9,1)) * 100); GUB3:=((100 - (3 * SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB4:=((100 - (3 * SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); GUB6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); GUB7:=SMA(SMA(GUB6,16,8),25,8)-SMA(GUB5,30,8);
{选股公式二:杀庄2} GUA1:=MA(CLOSE,27); GUA2:=((CLOSE - GUA1)/(GUA1))*(100); GUA3:=MA(GUA2,2); GUA4:=BARSLAST((CROSS((-10),GUA3) = 1)); GUA5:=(GUA3 < (-10)) AND (GUA4 > 3); V1:=C/REF(MA(C,36),6)*10; GUB1:=EMA(CLOSE,3); GUB2:=((SMA(MAX((CLOSE - GUB1),0),9,1) / SMA(ABS((CLOSE - GUB1)),9,1)) * 100); GUB3:=((100 - (3 * SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB4:=((100 - (3 * SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1))); GUB5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); GUB6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); GUB7:=SMA(SMA(GUB6,16,8),25,8)-SMA(GUB5,30,8);
|