P1:=5;P2:=4; {提前抄底} SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13); SSRCBJX:=((SSRCJE / SSRCJL) / 100); SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100); 短底:SSRGL<(0-18),COLORRED; 大底:SSRGL<(0-14),COLORBLUE; 中底:SSRGL<(0-10),COLORYELLOW; 绝对底:SSRGL<(0-6),COLORWHITE; STICKLINE((SSRGL < (0 - 18)),60,80,3,0),COLORRED; STICKLINE((SSRGL < (0 - 14)),40,60,3,0),COLORBLUE; STICKLINE((SSRGL < (0 - 10)),20,40,3,0),COLORYELLOW; STICKLINE((SSRGL < (0 - 6)),0,20,3,0),COLORWHITE; 高卖:80, POINTDOT,COLORRED; 低吸:20, POINTDOT,COLORGREEN; VAR1:=LLV(LOW,P1); VAR2:=HHV(HIGH,P1); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK2; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2; {抄底王} VAR2:=MA(CLOSE, 5); VAR3:=MA(CLOSE, 10); VAR4:=MA(CLOSE, 20); VAR5:=MA(CLOSE, 30); VAR6:=(VAR2+VAR3+VAR4+VAR5)/4; VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100; VAR8:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100; VAR9:=EMA(VAR7,8); 反转:STICKLINE(VAR9>1*REF(VAR9, 1), VAR7, 0, 2, 0),COLOREE00EE; 持股:STICKLINE(VAR7>1*REF(VAR7, 1), VAR7, VAR9, 2, 0),COLORRED; 持币:STICKLINE(VAR7<1*REF(VAR7, 1), VAR7, VAR9,4, 1),COLORGREEN; 洗盘:STICKLINE(VAR7<1*REF(VAR7, 1) AND VAR9>1*REF(VAR9, 1), VAR7, VAR9, 4, 0), COLOR00EEFF; VAR10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100; VAR11:=(VAR10>1*REF(VAR10, 1) AND VAR10<-26 AND VAR10>-40)*1.5; VAR12:=VOL/CAPITAL*100; VAR13:=LLVBARS(LOW, 50); VAR14:=SUM(VOL, VAR13); VAR15:=HHVBARS(HIGH, 50); VAR16:=SUM(VOL, VAR15); VAR17:=(CLOSE-REF(OPEN, VAR15))/REF(OPEN, VAR15)*100; VAR18:=VAR16/CAPITAL*100; VAR19:=(CLOSE-REF(OPEN, VAR13))/REF(OPEN, VAR13)*100; VAR20:=VAR14/CAPITAL*100; VAR21:=MA(CLOSE, 3); VAR22:=REF(CLOSE, 2)*0.865; VAR23:=REF(CLOSE, 13)*0.772; VAR24:=MIN(VAR22, VAR23); VAR25:=MA(CLOSE, 13); 操底王:IF((CLOSE-VAR24)/CLOSE<0.030 AND VAR17<(-35) AND SUM(VAR12, 5)/5<1.800, 1, 0)*10, COLORWHITE,POINTDOT; DRAWTEXT(操底王, 操底王, ' 底 追 '), COLORFFAA00; VAR26:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; VAR27:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100; VAR28:=EMA(VAR27, 9); VAR29:=2*(VAR27-VAR28); DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27DRAWTEXT(VAR27<(-50) AND VAR26>7 AND VAR27>=VAR28, 5, '追'), COLORWHITE; STICKLINE(VAR27<(-50) AND VAR26>7, 0,(-10), 5, 0), COLORFFFF66;
|