通達信競價絕殺排序指標(biāo)公式
FN2:=7;
FN3:=10;
FN4:=0;
FN5:=0;
FN6:=DAY!=REF(DAY,1);
FN7:=BArslAst(FN6)+1;
FN8:=vol*(CLOSE+LOW+HIGH)/3;
FN9:=SUM(FN8,FN7)/SUM(VOL,FN7);
FN10:=IF(FN6<=CONST(FN7),FN9,DRAWNULL);
FN11:=EMA(INDEXC,120)/EMA(CLOSE,120);
FN12:=IF(CLOSE<500 AND SETCODE<=2,(INDEXC/FN11+0.812*REF(INDEXC/FN11,1)+0.618*REF(INDEXC/FN11,2)+0.382*REF(INDEXC/FN11,3)+0.191*REF(INDEXC/FN11,4))/3.003,DRAWNULL);
FN13:=FN10>FN12;
FN14:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
FN15:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
FN16:=EMA(FN14,5);
FN17:=EMA(FN15,5);
FN18:=FN16-REF(FN16,1);
FN19:=FN17-REF(FN17,1);
FN20:=IF(FN18-FN19>0,(FN18-FN19)*5,0);
FN21:=FN20-REF(FN20,1);
FN22:=MA(CLOSE,20);
FN23:=BARSLASTCOUNT(CLOSE<FN22);
FN24:=BacKSET((FN23>=4)*FN23,FN23);
FN25:=BARSLASTCOUNT(CLOSE>FN22);
FN26:=BACKSET((FN25>=4)*FN25,FN25);
FN27:=BARSLASTCOUNT(NOT(FN24 OR FN26));
FN28:=BARSLASTCOUNT(REF(FN24>0,FN27));
FN29:=BARSLASTCOUNT(REF(FN26>0,FN27));
FN30:=IF(FN4=1,0,FILTERX(LLV(LOW,FN28)=LOW,FN28));
FN31:=IF(FN5=1,0,FILTERX(HHV(HIGH,FN29)=HIGH,FN29));
