九毛八公式指标
突破:=REF(EMA(C,14),1); A1X:=(EMA(C,10)-突破)/突破*100; 多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL); 空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL); STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099; STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66; 最新:CLOSE,LINETHICK1,COLORWHITE; AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C)); BB:=BETWEEN(C/AA,C+H,C-H); DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORMAGENTA; DRAWTEXT( ISLASTBAR AND 最新0.5; STJ02:=控盘2>0; BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2; BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ; jj:=DYNAINFO(11);P:=55;S:=8;M1:=3;能量:=(EMA(CLOSE,S)-EMA(C,P))*10;空头:=EMA(能量,M1),COLOR00FF00;BTJ1:=(CLOSE-JJ)/JJ<-0.005;BTJ11:=(CLOSE-JJ)/JJ<-0.03;BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005; BTJ3:=CROSS(能量,空头) AND 能量<-0.3; BTJ32:=CROSS(能量,空头) AND 能量<-0.1; STJ31:=CROSS(空头,能量); STJ32:=CROSS(空头,能量) AND 能量>1.618; A:=8; BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A); BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A); 时长:=IF(HOUR>=9 AND HOUR<14 ,1,0);no numeric noise key 1004 捡钱:=BTJ811 and time>15 AND 时长; DRAWICON(捡钱,C,27); AYGB1:=(DVOL/C)/2,NODRAW; AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0); AYGB3:=SUM(IF(AYGB1>100 AND CLOSEREF(CLOSE,1),AYGB1,0),0); AYGB5:=SUM(IF(AYGB1<100 and close0 AND REF(主力差,1)<=0; DRAWICON(LQH,C,25); JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW; JJXXH:=(JJXX*1.007 ),COLORFF6600; FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10; HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1; HHZZ:=HHPP AND FFLL AND (C>JJXXH); TTPP2:=FILTER(HHZZ,100); DRAWICON(TTPP2,C,26); 引用指标:{FSKY2} 上涨家数:INDEXADV; 下跌家数:INDEXDEC;
公式模块:
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100; 多方:=REF(EMA(C,10),BArslAST(crOSS(A1X,0))+1); 空方:=REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1); STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099; STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66; 最新:CLOSE,LINETHICK1,COLORWHITE; AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(vol*100,BARSCOUNT(C)); BB:=BETWEEN(C/AA,C+H,C-H); DRAWTEXT(BARSTATUS=2 AND 最新>REF(最新,1),最新,' 涨▲'+NUMTOSTRN(C,2)),COLORMAGENTA; DRAWTEXT(BARSTATUS=2 AND 最新<REF(最新,1),最新,' 跌▼'+NUMTOSTRN(C,2)),COLOR00FF00; 上涨家数:="FSKY2.上涨家数#DAY"; 下跌家数:="FSKY2.下跌家数#DAY"; DRAWTEXTABS(5,5,'上涨家数: '+上涨家数),COLORMAGENTA; DRAWTEXTABS(90,5,'下跌家数: '+下跌家数),COLOR00FF00; DRAWTEXTABS(5,20,BKNAME),COLORYELLOW; 均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
100>