|
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
X3:=REF(X2,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
PO:=MA(CLOSE,60);
MAQ:=MA(CLOSE,120);
压力:HHV(CLOSE,40);
B0:=MA(CLOSE,3);
B01:=MA(CLOSE,4);
B1:=(((HIGH + LOW) + CLOSE) / 3);
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=(B2 - B3);
B5:=(MA(((B1 - B3) / B4),2) * 100);
B6:=HHV(B1,(4 * 15));
B7:=LLV(B1,(4 * 15));
B8:=(B6 - B7);
B9:=(MA(((B1 - B7) / B8),2) * 100);
BA:=HHV(B1,(16 * 15));
TB:=LLV(B1,(16 * 15));
BC:=(BA - TB);
BD:=(MA(((B1 - TB) / BC),2) * 100);
顶线:=98;
底线:=1;
VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=((3 * VAR4) - (2 * VAR5));
VAR2A:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3A:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4A:=SMA(VAR3A,9,1);
VAR6:=SMA(VAR5,5,1);
A2:=EMA(VAR4,8);
DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2A > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),COLORFFFFCC;
DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),COLORCC99FF;
支撑LV(OPEN,60);
DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底');
VAR1B:=EMA(CLOSE,8);
VAR2B:=EMA(VAR1B,20);
VAR3B:=CROSS(VAR1B,VAR2B);
VAR4B:=(VAR1B < MA(CLOSE,P1));
VAR5B:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR6B:=SMA(VAR5B,5,1);
VAR7B:=SMA(VAR6B,8,1);
VAR8B:=(CROSS(VAR6B,VAR7B) AND (VAR7B < 20));
VAR9B:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8B);
VARA:=IF((CLOSE > 1000),VAR8B,VAR9B);
黑马起步:=(VAR3B AND VAR4);
DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马');
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');
X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓');
DRAWTEXT((黑马起步 > 0),LOW,'★出击');
SG:=EMA(HHV(HIGH,1),8);
X10:=EMA(CLOSE,8);
X30:=((X10 < REF(X10,1)) AND (CLOSE < X10));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入');
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,4,1);
D:=SMA(K,5,1);
J1:=((3 * K) - (2 * D));
VAR2C:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3C:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4C:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5C:=(((VAR2C + (2 * VAR3C)) + (3 * VAR4C)) / 6);
VAR6C:=MA(VAR5C,3);
底部:=IF((VAR6C < (0 - 9)),20,0);
DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓'); |
|