{LT_追擊反轉(zhuǎn)}{正版重編}
{大單動向}
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
DDX1:=EMA(DDX,60)*60;
DDX2:=MA(DDX1,5);
DDX3:=MA(DDX1,10);
{追擊反轉(zhuǎn)}
AA1:=FILTER(LOW=LLV(LOW,13),8);
AA2:=IF(LLV(LOW,3)=LLV(LOW,13) AND CLOSE<REF((HIGH+LOW)/2,1),MAX(REF(LLV(LOW,12),BARSLAST(AA1)+1)-LOW,0),0);
AA3:=EMA(AA2,3)*3;
AA4:=SUMBARS(AA3>0,21);
AA5:=SUM(AA3,AA4)/21;
ISUP:=IF(C>0,1,0);
AA6:=REF(AA3,1)=HHV(AA3,3) AND REF(AA3,1)>AA5*3 AND COUNT(CLOSE/REF(CLOSE,1)
<0.9025,8)=0 AND ISUP AND LLV(LOW,3)/HHV(HIGH,18)<0.88;
AA7:=(COUNT(DDX>0,5)>0 OR NOT(DDX1<DDX2 AND DDX2<DDX3))
AND COUNT(DDX>REF(DDX,1),10)>=4;
反轉(zhuǎn):FILTER(AA6 AND AA7,5),COLORBLACK;
STICKLINE(CLOSE,0,AA3,2.8,1),COLOR9999FF;
STICKLINE(反轉(zhuǎn),0,AA3,2.8,0),COLORRED;
附上:大智慧機構(gòu)版智慧寶追擊反轉(zhuǎn)指標源碼
{大智慧機構(gòu)版_追擊反轉(zhuǎn)}
AA1:=filter(low=llv(low,13),8);
AA2:=if(LLV(low,3)=llv(low,13) and close<ref((high+low)/2,1),max(ref(llv(low,12),barslast(AA1)+1)-low,0),0);
AA3:=ema(AA2,3)*3;
AA4:=sumbars(AA3>0,21);
AA5:=sum(AA3,AA4)/21;
AA6:=ref(AA3,1)=hhv(AA3,3) and ref(AA3,1)>AA5*3 and count(close/ref(close,1)
<0.9025,8)=0 and isup and llv(low,3)/hhv(high,18)<0.88;
AA7:=(count("ddx.ddx">0,5)>0 or not("ddx.ddx1"<"ddx.ddx2" and "ddx.ddx2"<"ddx.ddx3"))
and count("ddx.ddx">ref("ddx.ddx",1),10)>=4;
反轉(zhuǎn):filter(AA6 and AA7,5),colorblack;
stickline(close,0,AA3,8,1),coloryellow;
stickline(反轉(zhuǎn),0,AA3,8,0),colorred;
(南方財富網(wǎng)SOUTHMONEY.COM)