乖离率变色公式
乖离率变色公式
编写条件:
突破:=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);{9点至 14点} 捡钱:=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 CLOSE
REF(CLOSE,1),AYGB1,0),0); AYGB5:=SUM(IF(AYGB1<100 AND CLOSE
0 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);
编写方法:
DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股软件
分时预警公式
分时预警公式