编写要求:
突破:=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 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;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!