量能启动 本公式,需要L2行情支持才可以使用,免费版本不显示。 a1:="DDx.DDx"; a2:=a1 = 0; a3:=AMOUNT * BIGORDER(1,2) / 10000; a4:=AMOUNT * "CF@BIGORDER"(C - O,2) / 10000; a5:=AMOUNT * BIGORDER(2,2) / 10000; a6:=AMOUNT * "CF@BIGORDER"(C - O,5) / 10000; a7:=BIGORDER(1,2) - BIGORDER(2,2); a8:="CF@BIGORDER"(C - O,2) - "CF@BIGORDER"(C - O,5); a9:=IF(a2,a8,a7); 流入:=IF(a2,a4,a3); 流出:=IF(a2,a6,a5); 净额:=流入 - 流出; 净额占比 :净额/ CAPITAL * 100; RSV:=(V-LLV(LOW,135))/(HHV(HIGH,135)-LLV(LOW,135))*100; Y0:SMA(RSV,5,1),COLORRED,LINETHICK1; Y1:SMA(Y0,5,1),COLORYELLOW,LINETHICK1; TTT:=LAST(Y0>Y1); STICKLINE(Y0>Y1*1.1 ,Y0,Y1,6,0),COLORRED; STICKLINE(Y0<=Y1 ,Y0,Y1,6,0),COLORYELLOW; GET:=ZIG(3,1); PL5:=ZIG(3,1); EN1:=pl5>REF(pl5,1) AND REF(pl5,1)<=REF(pl5,2) AND REF(pl5,2)<=REF(pl5,3); EX1:=pl5<REF(pl5,1) AND REF(pl5,1)>=REF(pl5,2) AND REF(pl5,2)>=REF(pl5,3); PL10:=ZIG(3,10); EN2:=pl10>REF(pl10,1) AND REF(pl10,1)<=REF(pl10,2) AND REF(pl10,2)<=REF(pl10,3); EX2:=pl10<REF(pl10,1) AND REF(pl10,1)>=REF(pl10,2) AND REF(pl10,2)>=REF(pl10,3); PL20:=ZIG(3,20); EN3:=pl20>REF(pl20,1) AND REF(pl20,1)<=REF(pl20,2) AND REF(pl20,2)<=REF(pl20,3); EX3:=pl20<REF(pl20,1) AND REF(pl20,1)>=REF(pl20,2) AND REF(pl20,2)>=REF(pl20,3); 走强1:=BARSLAST(PL5<REF(PL5,1)); 走弱1:=BARSLAST(PL5>REF(PL5,1)); 走强2:=BARSLAST(PL10<REF(PL10,1)); 走弱2:=BARSLAST(PL10>REF(PL10,1)); 走强3:=BARSLAST(PL20<REF(PL20,1)); 走弱3:=BARSLAST(PL20>REF(PL20,1)); ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0); ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0); DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0); DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0); ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0); ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0); DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0); DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0); DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1, Y0,'⑴'),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2, Y0,'⑵'),COLOR00FFFF; DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2, Y0,'⑶'),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3, Y0,'⑷'),COLOR00FFFF; DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1, Y0,'⑸'),COLOR0000FF; DRAWTEXT(EN3 AND ZTJZ10=1, Y0*1.15,'★Ⅲ'),LINETHICK2,COLOR0000FF; DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1, Y0,'①'),LINETHICK3,COLOR00FFFF; DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2, Y0,'②'),LINETHICK2,COLOR00FFFF; DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2, Y0*1.1,'③'),LINETHICK3,COLOR00FFFF; DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3, Y0,'④'),LINETHICK3,COLOR00FFFF; |
下一篇:量价启飞(大智慧公式)