|
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: |
|